LLVM 20.0.0git
|
In-memory representation of kernel argument metadata. More...
#include "llvm/Support/AMDGPUMetadata.h"
Public Member Functions | |
Metadata ()=default | |
Default constructor. | |
Public Attributes | |
std::string | mName = std::string() |
Name. Optional. | |
std::string | mTypeName = std::string() |
Type name. Optional. | |
uint32_t | mSize = 0 |
Size in bytes. Required. | |
uint32_t | mOffset = 0 |
Offset in bytes. Required for code object v3, unused for code object v2. | |
uint32_t | mAlign = 0 |
Alignment in bytes. Required. | |
ValueKind | mValueKind = ValueKind::Unknown |
Value kind. Required. | |
uint32_t | mPointeeAlign = 0 |
Pointee alignment in bytes. Optional. | |
AddressSpaceQualifier | mAddrSpaceQual = AddressSpaceQualifier::Unknown |
Address space qualifier. Optional. | |
AccessQualifier | mAccQual = AccessQualifier::Unknown |
Access qualifier. Optional. | |
AccessQualifier | mActualAccQual = AccessQualifier::Unknown |
Actual access qualifier. Optional. | |
bool | mIsConst = false |
True if 'const' qualifier is specified. Optional. | |
bool | mIsRestrict = false |
True if 'restrict' qualifier is specified. Optional. | |
bool | mIsVolatile = false |
True if 'volatile' qualifier is specified. Optional. | |
bool | mIsPipe = false |
True if 'pipe' qualifier is specified. Optional. | |
In-memory representation of kernel argument metadata.
Definition at line 206 of file AMDGPUMetadata.h.
|
default |
Default constructor.
AccessQualifier llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mAccQual = AccessQualifier::Unknown |
Access qualifier. Optional.
Definition at line 224 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
AccessQualifier llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mActualAccQual = AccessQualifier::Unknown |
Actual access qualifier. Optional.
Definition at line 226 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
AddressSpaceQualifier llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mAddrSpaceQual = AddressSpaceQualifier::Unknown |
Address space qualifier. Optional.
Definition at line 222 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
uint32_t llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mAlign = 0 |
Alignment in bytes. Required.
Definition at line 216 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
bool llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mIsConst = false |
True if 'const' qualifier is specified. Optional.
Definition at line 228 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
bool llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mIsPipe = false |
True if 'pipe' qualifier is specified. Optional.
Definition at line 234 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
bool llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mIsRestrict = false |
True if 'restrict' qualifier is specified. Optional.
Definition at line 230 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
bool llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mIsVolatile = false |
True if 'volatile' qualifier is specified. Optional.
Definition at line 232 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
std::string llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mName = std::string() |
Name. Optional.
Definition at line 208 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
uint32_t llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mOffset = 0 |
Offset in bytes. Required for code object v3, unused for code object v2.
Definition at line 214 of file AMDGPUMetadata.h.
uint32_t llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mPointeeAlign = 0 |
Pointee alignment in bytes. Optional.
Definition at line 220 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
uint32_t llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mSize = 0 |
Size in bytes. Required.
Definition at line 212 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
std::string llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mTypeName = std::string() |
Type name. Optional.
Definition at line 210 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().
ValueKind llvm::AMDGPU::HSAMD::Kernel::Arg::Metadata::mValueKind = ValueKind::Unknown |
Value kind. Required.
Definition at line 218 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Arg::Metadata >::mapping().