LLVM
8.0.1
|
In-memory representation of kernel debug properties metadata. More...
#include "llvm/Support/AMDGPUMetadata.h"
Public Member Functions | |
Metadata ()=default | |
Default constructor. More... | |
bool | empty () const |
bool | notEmpty () const |
Public Attributes | |
std::vector< uint32_t > | mDebuggerABIVersion = std::vector<uint32_t>() |
Debugger ABI version. Optional. More... | |
uint16_t | mReservedNumVGPRs = 0 |
Consecutive number of VGPRs reserved for debugger use. More... | |
uint16_t | mReservedFirstVGPR = uint16_t(-1) |
First fixed VGPR reserved. More... | |
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. More... | |
uint16_t | mWavefrontPrivateSegmentOffsetSGPR = uint16_t(-1) |
Fixed SGPR used to hold the wave scratch offset for the entire kernel execution. More... | |
In-memory representation of kernel debug properties metadata.
Definition at line 326 of file AMDGPUMetadata.h.
|
default |
Default constructor.
|
inline |
Definition at line 349 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::Metadata >::mapping().
|
inline |
Definition at line 355 of file AMDGPUMetadata.h.
std::vector<uint32_t> llvm::AMDGPU::HSAMD::Kernel::DebugProps::Metadata::mDebuggerABIVersion = std::vector<uint32_t>() |
Debugger ABI version. Optional.
Definition at line 328 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::DebugProps::Metadata >::mapping().
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 338 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::DebugProps::Metadata >::mapping().
uint16_t llvm::AMDGPU::HSAMD::Kernel::DebugProps::Metadata::mReservedFirstVGPR = uint16_t(-1) |
First fixed VGPR reserved.
Must be uint16_t(-1) if mDebuggerABIVersion is not set or mReservedFirstVGPR is 0. Optional.
Definition at line 334 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 331 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 342 of file AMDGPUMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::DebugProps::Metadata >::mapping().