Go to the documentation of this file.
66 YIO.enumCase(EN,
"HiddenCompletionAction",
68 YIO.enumCase(EN,
"HiddenMultiGridSyncArg",
186 std::vector<uint32_t>());
189 if (!MD.
mArgs.empty() || !YIO.outputting())
203 if (!MD.
mKernels.empty() || !YIO.outputting())
214 yaml::Input YamlInput(String);
215 YamlInput >> HSAMetadata;
216 return YamlInput.error();
222 YamlOutput << HSAMetadata;
223 return std::error_code();
This is an optimization pass for GlobalISel generic memory operations.
constexpr char ValueKind[]
Key for Kernel::Arg::Metadata::mValueKind.
constexpr char NumSGPRs[]
Key for Kernel::CodeProps::Metadata::mNumSGPRs.
constexpr char KernargSegmentSize[]
Key for Kernel::CodeProps::Metadata::mKernargSegmentSize.
constexpr char Attrs[]
Key for Kernel::Metadata::mAttrs.
A raw_ostream that writes to an std::string.
constexpr char AddrSpaceQual[]
Key for Kernel::Arg::Metadata::mAddrSpaceQual.
constexpr char Version[]
Key for HSA::Metadata::mVersion.
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
constexpr char Name[]
Key for Kernel::Metadata::mName.
constexpr char IsPipe[]
Key for Kernel::Arg::Metadata::mIsPipe.
constexpr char ReqdWorkGroupSize[]
Key for Kernel::Attr::Metadata::mReqdWorkGroupSize.
constexpr char WavefrontPrivateSegmentOffsetSGPR[]
Key for Kernel::DebugProps::Metadata::mWavefrontPrivateSegmentOffsetSGPR.
constexpr char MaxFlatWorkGroupSize[]
Key for Kernel::CodeProps::Metadata::mMaxFlatWorkGroupSize.
AccessQualifier
Access qualifiers.
constexpr char DebugProps[]
Key for Kernel::Metadata::mDebugProps.
std::error_code fromString(StringRef String, Metadata &HSAMetadata)
Converts String to HSAMetadata.
constexpr char Kernels[]
Key for HSA::Metadata::mKernels.
constexpr char WorkGroupSizeHint[]
Key for Kernel::Attr::Metadata::mWorkGroupSizeHint.
constexpr char VecTypeHint[]
Key for Kernel::Attr::Metadata::mVecTypeHint.
constexpr char NumSpilledVGPRs[]
Key for Kernel::CodeProps::Metadata::mNumSpilledVGPRs.
constexpr char Language[]
Key for Kernel::Metadata::mLanguage.
constexpr char PrivateSegmentFixedSize[]
Key for Kernel::CodeProps::Metadata::mPrivateSegmentFixedSize.
constexpr char AccQual[]
Key for Kernel::Arg::Metadata::mAccQual.
constexpr char CodeProps[]
Key for Kernel::Metadata::mCodeProps.
constexpr char ValueType[]
Key for Kernel::Arg::Metadata::mValueType. (deprecated)
constexpr char Name[]
Key for Kernel::Arg::Metadata::mName.
Function * Kernel
Summary of a kernel (=entry point for target offloading).
constexpr char ReservedFirstVGPR[]
Key for Kernel::DebugProps::Metadata::mReservedFirstVGPR.
constexpr char DebuggerABIVersion[]
Key for Kernel::DebugProps::Metadata::mDebuggerABIVersion.
constexpr char GroupSegmentFixedSize[]
Key for Kernel::CodeProps::Metadata::mGroupSegmentFixedSize.
constexpr char KernargSegmentAlign[]
Key for Kernel::CodeProps::Metadata::mKernargSegmentAlign.
constexpr char PointeeAlign[]
Key for Kernel::Arg::Metadata::mPointeeAlign.
static void enumeration(IO &YIO, AddressSpaceQualifier &EN)
constexpr char Align[]
Key for Kernel::Arg::Metadata::mAlign.
static void enumeration(IO &YIO, AccessQualifier &EN)
constexpr char ReservedNumVGPRs[]
Key for Kernel::DebugProps::Metadata::mReservedNumVGPRs.
constexpr char IsConst[]
Key for Kernel::Arg::Metadata::mIsConst.
StringRef - Represent a constant reference to a string, i.e.
constexpr char LanguageVersion[]
Key for Kernel::Metadata::mLanguageVersion.
static void enumeration(IO &YIO, ValueKind &EN)
constexpr char IsRestrict[]
Key for Kernel::Arg::Metadata::mIsRestrict.
constexpr char IsVolatile[]
Key for Kernel::Arg::Metadata::mIsVolatile.
AddressSpaceQualifier
Address space qualifiers.
static void enumeration(IO &YIO, ValueType &EN)
constexpr char SymbolName[]
Key for Kernel::Metadata::mSymbolName.
constexpr char TypeName[]
Key for Kernel::Arg::Metadata::mTypeName.
constexpr char RuntimeHandle[]
Key for Kernel::Attr::Metadata::mRuntimeHandle.
constexpr char Printf[]
Key for HSA::Metadata::mPrintf.
constexpr char PrivateSegmentBufferSGPR[]
Key for Kernel::DebugProps::Metadata::mPrivateSegmentBufferSGPR.
Align max(MaybeAlign Lhs, Align Rhs)
constexpr char WavefrontSize[]
Key for Kernel::CodeProps::Metadata::mWavefrontSize.
constexpr char NumVGPRs[]
Key for Kernel::CodeProps::Metadata::mNumVGPRs.
constexpr char NumSpilledSGPRs[]
Key for Kernel::CodeProps::Metadata::mNumSpilledSGPRs.
constexpr char Args[]
Key for Kernel::Metadata::mArgs.
constexpr char IsDynamicCallStack[]
Key for Kernel::CodeProps::Metadata::mIsDynamicCallStack.
constexpr char IsXNACKEnabled[]
Key for Kernel::CodeProps::Metadata::mIsXNACKEnabled.
constexpr char ActualAccQual[]
Key for Kernel::Arg::Metadata::mActualAccQual.
constexpr char Size[]
Key for Kernel::Arg::Metadata::mSize.
std::error_code toString(Metadata HSAMetadata, std::string &String)
Converts HSAMetadata to String.