LLVM 20.0.0git
|
Namespaces | |
namespace | Kernel |
namespace | Key |
namespace | V3 |
Classes | |
struct | Metadata |
In-memory representation of HSA metadata. More... | |
class | MetadataStreamer |
class | MetadataStreamerMsgPackV4 |
class | MetadataStreamerMsgPackV5 |
class | MetadataStreamerMsgPackV6 |
Enumerations | |
enum class | AccessQualifier : uint8_t { Default = 0 , ReadOnly = 1 , WriteOnly = 2 , ReadWrite = 3 , Unknown = 0xff } |
Access qualifiers. More... | |
enum class | AddressSpaceQualifier : uint8_t { Private = 0 , Global = 1 , Constant = 2 , Local = 3 , Generic = 4 , Region = 5 , Unknown = 0xff } |
Address space qualifiers. More... | |
enum class | ValueKind : uint8_t { ByValue = 0 , GlobalBuffer = 1 , DynamicSharedPointer = 2 , Sampler = 3 , Image = 4 , Pipe = 5 , Queue = 6 , HiddenGlobalOffsetX = 7 , HiddenGlobalOffsetY = 8 , HiddenGlobalOffsetZ = 9 , HiddenNone = 10 , HiddenPrintfBuffer = 11 , HiddenDefaultQueue = 12 , HiddenCompletionAction = 13 , HiddenMultiGridSyncArg = 14 , HiddenHostcallBuffer = 15 , Unknown = 0xff } |
Value kinds. More... | |
enum class | ValueType : uint8_t { Struct = 0 , I8 = 1 , U8 = 2 , I16 = 3 , U16 = 4 , F16 = 5 , I32 = 6 , U32 = 7 , F32 = 8 , I64 = 9 , U64 = 10 , F64 = 11 , Unknown = 0xff } |
Value types. More... | |
Functions | |
std::error_code | fromString (StringRef String, Metadata &HSAMetadata) |
Converts String to HSAMetadata . | |
std::error_code | toString (Metadata HSAMetadata, std::string &String) |
Converts HSAMetadata to String . | |
Variables | |
constexpr uint32_t | VersionMajorV3 = 1 |
HSA metadata major version for code object V3. | |
constexpr uint32_t | VersionMinorV3 = 0 |
HSA metadata minor version for code object V3. | |
constexpr uint32_t | VersionMajorV4 = 1 |
HSA metadata major version for code object V4. | |
constexpr uint32_t | VersionMinorV4 = 1 |
HSA metadata minor version for code object V4. | |
constexpr uint32_t | VersionMajorV5 = 1 |
HSA metadata major version for code object V5. | |
constexpr uint32_t | VersionMinorV5 = 2 |
HSA metadata minor version for code object V5. | |
constexpr uint32_t | VersionMajorV6 = 1 |
HSA metadata major version for code object V6. | |
constexpr uint32_t | VersionMinorV6 = 2 |
HSA metadata minor version for code object V6. | |
constexpr char | AssemblerDirectiveBegin [] = ".amd_amdgpu_hsa_metadata" |
Old HSA metadata beginning assembler directive for V2. | |
|
strong |
Access qualifiers.
Enumerator | |
---|---|
Default | |
ReadOnly | |
WriteOnly | |
ReadWrite | |
Unknown |
Definition at line 59 of file AMDGPUMetadata.h.
|
strong |
Address space qualifiers.
Enumerator | |
---|---|
Private | |
Global | |
Constant | |
Local | |
Generic | |
Region | |
Unknown |
Definition at line 68 of file AMDGPUMetadata.h.
|
strong |
Value kinds.
Definition at line 79 of file AMDGPUMetadata.h.
|
strong |
Value types.
This is deprecated and only remains for compatibility parsing of old metadata.
Enumerator | |
---|---|
Struct | |
I8 | |
U8 | |
I16 | |
U16 | |
F16 | |
I32 | |
U32 | |
F32 | |
I64 | |
U64 | |
F64 | |
Unknown |
Definition at line 101 of file AMDGPUMetadata.h.
Converts String
to HSAMetadata
.
Definition at line 214 of file AMDGPUMetadata.cpp.
References llvm::String.
std::error_code llvm::AMDGPU::HSAMD::toString | ( | Metadata | HSAMetadata, |
std::string & | String | ||
) |
Converts HSAMetadata
to String
.
Definition at line 220 of file AMDGPUMetadata.cpp.
References llvm::String.
|
constexpr |
Old HSA metadata beginning assembler directive for V2.
This is only used for diagnostics now. HSA metadata beginning assembler directive.
Definition at line 56 of file AMDGPUMetadata.h.
|
constexpr |
HSA metadata major version for code object V3.
Definition at line 33 of file AMDGPUMetadata.h.
|
constexpr |
HSA metadata major version for code object V4.
Definition at line 38 of file AMDGPUMetadata.h.
Referenced by llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4::emitVersion().
|
constexpr |
HSA metadata major version for code object V5.
Definition at line 43 of file AMDGPUMetadata.h.
Referenced by llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV5::emitVersion().
|
constexpr |
HSA metadata major version for code object V6.
Definition at line 48 of file AMDGPUMetadata.h.
Referenced by llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV6::emitVersion().
|
constexpr |
HSA metadata minor version for code object V3.
Definition at line 35 of file AMDGPUMetadata.h.
|
constexpr |
HSA metadata minor version for code object V4.
Definition at line 40 of file AMDGPUMetadata.h.
Referenced by llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4::emitVersion().
|
constexpr |
HSA metadata minor version for code object V5.
Definition at line 45 of file AMDGPUMetadata.h.
Referenced by llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV5::emitVersion().
|
constexpr |
HSA metadata minor version for code object V6.
Definition at line 50 of file AMDGPUMetadata.h.
Referenced by llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV6::emitVersion().