LLVM 20.0.0git
|
In-memory representation of kernel debug properties metadata. More...
#include "llvm/Support/AMDGPUMetadata.h"
Public Member Functions | |
Metadata ()=default | |
Default constructor. | |
bool | empty () const |
bool | notEmpty () const |
Public Attributes | |
std::vector< uint32_t > | mDebuggerABIVersion = std::vector<uint32_t>() |
Debugger ABI version. Optional. | |
uint16_t | mReservedNumVGPRs = 0 |
Consecutive number of VGPRs reserved for debugger use. | |
uint16_t | mReservedFirstVGPR = uint16_t(-1) |
First fixed VGPR reserved. | |
uint16_t | mPrivateSegmentBufferSGPR = uint16_t(-1) |
Fixed SGPR of the first of 4 SGPRs used to hold the scratch V# used for the entire kernel execution. | |
uint16_t | mWavefrontPrivateSegmentOffsetSGPR = uint16_t(-1) |
Fixed SGPR used to hold the wave scratch offset for the entire kernel execution. | |
In-memory representation of kernel debug properties metadata.
Definition at line 347 of file AMDGPUMetadata.h.
|
default |
Default constructor.
|
inline |
Definition at line 370 of file AMDGPUMetadata.h.
References notEmpty().
Referenced by llvm::yaml::MappingTraits< Kernel::Metadata >::mapping().
|
inline |
Definition at line 376 of file AMDGPUMetadata.h.
References mDebuggerABIVersion.
Referenced by empty().
std::vector<uint32_t> llvm::AMDGPU::HSAMD::Kernel::DebugProps::Metadata::mDebuggerABIVersion = std::vector<uint32_t>() |
Debugger ABI version. Optional.
Definition at line 349 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::DebugProps::Metadata >::mapping(), and notEmpty().
uint16_t llvm::AMDGPU::HSAMD::Kernel::DebugProps::Metadata::mPrivateSegmentBufferSGPR = uint16_t(-1) |
Fixed SGPR of the first of 4 SGPRs used to hold the scratch V# used for the entire kernel execution.
Must be uint16_t(-1) if mDebuggerABIVersion is not set or SGPR not used or not known. Optional.
Definition at line 359 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::DebugProps::Metadata >::mapping().
First fixed VGPR reserved.
Must be uint16_t(-1) if mDebuggerABIVersion is not set or mReservedFirstVGPR is 0. Optional.
Definition at line 355 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::DebugProps::Metadata >::mapping().
uint16_t llvm::AMDGPU::HSAMD::Kernel::DebugProps::Metadata::mReservedNumVGPRs = 0 |
Consecutive number of VGPRs reserved for debugger use.
Must be 0 if mDebuggerABIVersion is not set. Optional.
Definition at line 352 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::DebugProps::Metadata >::mapping().
uint16_t llvm::AMDGPU::HSAMD::Kernel::DebugProps::Metadata::mWavefrontPrivateSegmentOffsetSGPR = uint16_t(-1) |
Fixed SGPR used to hold the wave scratch offset for the entire kernel execution.
Must be uint16_t(-1) if mDebuggerABIVersion is not set or SGPR is not used or not known. Optional.
Definition at line 363 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::DebugProps::Metadata >::mapping().