67 YIO.enumCase(EN,
"HiddenCompletionAction",
181 std::vector<uint32_t>());
184 if (!MD.
mArgs.empty() || !YIO.outputting())
198 if (!MD.
mKernels.empty() || !YIO.outputting())
209 yaml::Input YamlInput(String);
210 YamlInput >> HSAMetadata;
211 return YamlInput.error();
217 YamlOutput << HSAMetadata;
218 return std::error_code();
227 for (
auto I = PALMetadata.begin(),
E = PALMetadata.end();
I !=
E; ++
I) {
228 Stream <<
Twine(
I == PALMetadata.begin() ?
" 0x" :
",0x");
232 return std::error_code();
constexpr char IsXNACKEnabled[]
Key for Kernel::CodeProps::Metadata::mIsXNACKEnabled.
constexpr char Align[]
Key for Kernel::Arg::Metadata::mAlign.
constexpr char GroupSegmentFixedSize[]
Key for Kernel::CodeProps::Metadata::mGroupSegmentFixedSize.
GCNRegPressure max(const GCNRegPressure &P1, const GCNRegPressure &P2)
constexpr char Name[]
Key for Kernel::Metadata::mName.
This class represents lattice values for constants.
constexpr char IsVolatile[]
Key for Kernel::Arg::Metadata::mIsVolatile.
constexpr char PointeeAlign[]
Key for Kernel::Arg::Metadata::mPointeeAlign.
constexpr char ReqdWorkGroupSize[]
Key for Kernel::Attr::Metadata::mReqdWorkGroupSize.
constexpr char KernargSegmentAlign[]
Key for Kernel::CodeProps::Metadata::mKernargSegmentAlign.
constexpr char RuntimeHandle[]
Key for Kernel::Attr::Metadata::mRuntimeHandle.
constexpr char ReservedFirstVGPR[]
Key for Kernel::DebugProps::Metadata::mReservedFirstVGPR.
constexpr char NumSpilledSGPRs[]
Key for Kernel::CodeProps::Metadata::mNumSpilledSGPRs.
constexpr char PrivateSegmentBufferSGPR[]
Key for Kernel::DebugProps::Metadata::mPrivateSegmentBufferSGPR.
constexpr char Language[]
Key for Kernel::Metadata::mLanguage.
constexpr char KernargSegmentSize[]
Key for Kernel::CodeProps::Metadata::mKernargSegmentSize.
constexpr char SymbolName[]
Key for Kernel::Metadata::mSymbolName.
static void enumeration(IO &YIO, AccessQualifier &EN)
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
constexpr char AddrSpaceQual[]
Key for Kernel::Arg::Metadata::mAddrSpaceQual.
constexpr char Printf[]
Key for HSA::Metadata::mPrintf.
constexpr char DebuggerABIVersion[]
Key for Kernel::DebugProps::Metadata::mDebuggerABIVersion.
std::error_code fromString(std::string String, Metadata &HSAMetadata)
Converts String to HSAMetadata.
static void enumeration(IO &YIO, ValueKind &EN)
constexpr char Attrs[]
Key for Kernel::Metadata::mAttrs.
constexpr char IsPipe[]
Key for Kernel::Arg::Metadata::mIsPipe.
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
constexpr char WavefrontSize[]
Key for Kernel::CodeProps::Metadata::mWavefrontSize.
static void enumeration(IO &YIO, AddressSpaceQualifier &EN)
constexpr char TypeName[]
Key for Kernel::Arg::Metadata::mTypeName.
constexpr char ActualAccQual[]
Key for Kernel::Arg::Metadata::mActualAccQual.
constexpr char IsDynamicCallStack[]
Key for Kernel::CodeProps::Metadata::mIsDynamicCallStack.
constexpr char Version[]
Key for HSA::Metadata::mVersion.
constexpr char NumSGPRs[]
Key for Kernel::CodeProps::Metadata::mNumSGPRs.
AccessQualifier
Access qualifiers.
constexpr char IsRestrict[]
Key for Kernel::Arg::Metadata::mIsRestrict.
constexpr char CodeProps[]
Key for Kernel::Metadata::mCodeProps.
static Twine utohexstr(const uint64_t &Val)
constexpr char Name[]
Key for Kernel::Arg::Metadata::mName.
constexpr char LanguageVersion[]
Key for Kernel::Metadata::mLanguageVersion.
constexpr char ValueType[]
Key for Kernel::Arg::Metadata::mValueType.
constexpr char MaxFlatWorkGroupSize[]
Key for Kernel::CodeProps::Metadata::mMaxFlatWorkGroupSize.
constexpr char NumVGPRs[]
Key for Kernel::CodeProps::Metadata::mNumVGPRs.
constexpr char Kernels[]
Key for HSA::Metadata::mKernels.
constexpr char PrivateSegmentFixedSize[]
Key for Kernel::CodeProps::Metadata::mPrivateSegmentFixedSize.
std::error_code toString(Metadata HSAMetadata, std::string &String)
Converts HSAMetadata to String.
constexpr char NumSpilledVGPRs[]
Key for Kernel::CodeProps::Metadata::mNumSpilledVGPRs.
constexpr char DebugProps[]
Key for Kernel::Metadata::mDebugProps.
AddressSpaceQualifier
Address space qualifiers.
constexpr char VecTypeHint[]
Key for Kernel::Attr::Metadata::mVecTypeHint.
constexpr char AccQual[]
Key for Kernel::Arg::Metadata::mAccQual.
constexpr char IsConst[]
Key for Kernel::Arg::Metadata::mIsConst.
constexpr char WorkGroupSizeHint[]
Key for Kernel::Attr::Metadata::mWorkGroupSizeHint.
static void enumeration(IO &YIO, ValueType &EN)
A raw_ostream that writes to an std::string.
constexpr char WavefrontPrivateSegmentOffsetSGPR[]
Key for Kernel::DebugProps::Metadata::mWavefrontPrivateSegmentOffsetSGPR.
constexpr char Size[]
Key for Kernel::Arg::Metadata::mSize.
constexpr char ReservedNumVGPRs[]
Key for Kernel::DebugProps::Metadata::mReservedNumVGPRs.
constexpr char ValueKind[]
Key for Kernel::Arg::Metadata::mValueKind.
constexpr char Args[]
Key for Kernel::Metadata::mArgs.
std::vector< uint32_t > Metadata
PAL metadata represented as a vector.
A discriminated union of two pointer types, with the discriminator in the low bit of the pointer...