struct Metadata
Declaration
struct Metadata { /* full declaration omitted */ };
Description
In-memory representation of kernel debug properties metadata.
Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:331
Member Variables
- public std::vector<uint32_t> mDebuggerABIVersion = std::vector<unsigned int, std::allocator<unsigned int>>()
- Debugger ABI version. Optional.
- public uint16_t mReservedNumVGPRs = 0
- Consecutive number of VGPRs reserved for debugger use. Must be 0 if mDebuggerABIVersion is not set. Optional.
- public uint16_t mReservedFirstVGPR = unsigned short(-1)
- First fixed VGPR reserved. Must be uint16_t(-1) if mDebuggerABIVersion is not set or mReservedFirstVGPR is 0. Optional.
- public uint16_t mPrivateSegmentBufferSGPR = unsigned short(-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.
- public uint16_t mWavefrontPrivateSegmentOffsetSGPR = unsigned short(-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.
Method Overview
Methods
¶Metadata()
Metadata()
Description
Default constructor.
Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:350
¶bool empty() const
bool empty() const
Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:354
Returns
True if kernel debug properties metadata is empty, false otherwise.
¶bool notEmpty() const
bool notEmpty() const
Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:360
Returns
True if kernel debug properties metadata is not empty, false otherwise.