LLVM: llvm::SIProgramInfo Struct Reference (original) (raw)
Track resource usage for kernels / entry functions. More...
#include "[Target/AMDGPU/SIProgramInfo.h](SIProgramInfo%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| SIProgramInfo ()=default | |
| void | reset (const MachineFunction &MF) |
| uint64_t | getFunctionCodeSize (const MachineFunction &MF, bool IsLowerBound=false) |
| const MCExpr * | getComputePGMRSrc1 (const GCNSubtarget &ST, MCContext &Ctx) const |
| Compute the value of the ComputePGMRsrc1 register. | |
| const MCExpr * | getPGMRSrc1 (CallingConv::ID CC, const GCNSubtarget &ST, MCContext &Ctx) const |
| const MCExpr * | getComputePGMRSrc2 (MCContext &Ctx) const |
| Compute the value of the ComputePGMRsrc2 register. | |
| const MCExpr * | getPGMRSrc2 (CallingConv::ID CC, MCContext &Ctx) const |
Track resource usage for kernels / entry functions.
Definition at line 32 of file SIProgramInfo.h.
| llvm::SIProgramInfo::SIProgramInfo ( ) | default |
|---|
◆ getComputePGMRSrc1()
◆ getComputePGMRSrc2()
◆ getFunctionCodeSize()
◆ getPGMRSrc1()
◆ getPGMRSrc2()
◆ reset()
Definition at line 25 of file SIProgramInfo.cpp.
References AccumOffset, CodeSizeInBytes, ComputePGMRSrc3, llvm::MCConstantExpr::create(), DebugMode, DX10Clamp, DynamicCallStack, EXCPEnable, EXCPEnMSB, FlatUsed, FloatMode, FwdProgress, llvm::MachineFunction::getContext(), IEEEMode, LDSBlocks, LDSSize, LdsSize, MemOrdered, NamedBarCnt, NumAccVGPR, NumArchVGPR, NumSGPR, NumSGPRsForWavesPerEU, NumVGPR, NumVGPRsForWavesPerEU, Occupancy, Priority, Priv, RrWgMode, ScratchBlocks, ScratchEnable, ScratchSize, SGPRBlocks, SGPRSpill, TGIdXEnable, TGIdYEnable, TGIdZEnable, TGSizeEnable, TgSplit, TIdIGCompCount, TrapHandlerEnable, UserSGPR, VCCUsed, VGPRBlocks, VGPRSpill, and WgpMode.
Referenced by SIProgramInfo().
◆ AccumOffset
const MCExpr* llvm::SIProgramInfo::AccumOffset = nullptr
◆ CodeSizeInBytes
std::optional<uint64_t> llvm::SIProgramInfo::CodeSizeInBytes
◆ ComputePGMRSrc3
const MCExpr* llvm::SIProgramInfo::ComputePGMRSrc3 = nullptr
◆ DebugMode
uint32_t llvm::SIProgramInfo::DebugMode = 0
◆ DX10Clamp
uint32_t llvm::SIProgramInfo::DX10Clamp = 0
◆ DynamicCallStack
const MCExpr* llvm::SIProgramInfo::DynamicCallStack = nullptr
◆ EXCPEnable
uint32_t llvm::SIProgramInfo::EXCPEnable = 0
◆ EXCPEnMSB
uint32_t llvm::SIProgramInfo::EXCPEnMSB = 0
◆ FlatUsed
◆ FloatMode
uint32_t llvm::SIProgramInfo::FloatMode = 0
◆ FwdProgress
uint32_t llvm::SIProgramInfo::FwdProgress = 0
◆ IEEEMode
uint32_t llvm::SIProgramInfo::IEEEMode = 0
◆ LDSBlocks
uint32_t llvm::SIProgramInfo::LDSBlocks = 0
◆ LDSSize
uint32_t llvm::SIProgramInfo::LDSSize = 0
◆ LdsSize
uint32_t llvm::SIProgramInfo::LdsSize = 0
◆ MemOrdered
uint32_t llvm::SIProgramInfo::MemOrdered = 0
◆ NamedBarCnt
const MCExpr* llvm::SIProgramInfo::NamedBarCnt = nullptr
◆ NumAccVGPR
const MCExpr* llvm::SIProgramInfo::NumAccVGPR = nullptr
◆ NumArchVGPR
const MCExpr* llvm::SIProgramInfo::NumArchVGPR = nullptr
◆ NumSGPR
◆ NumSGPRsForWavesPerEU
const MCExpr* llvm::SIProgramInfo::NumSGPRsForWavesPerEU = nullptr
◆ NumVGPR
◆ NumVGPRsForWavesPerEU
const MCExpr* llvm::SIProgramInfo::NumVGPRsForWavesPerEU = nullptr
◆ Occupancy
◆ Priority
uint32_t llvm::SIProgramInfo::Priority = 0
◆ Priv
◆ RrWgMode
uint32_t llvm::SIProgramInfo::RrWgMode = 0
◆ ScratchBlocks
const MCExpr* llvm::SIProgramInfo::ScratchBlocks = nullptr
◆ ScratchEnable
const MCExpr* llvm::SIProgramInfo::ScratchEnable = nullptr
◆ ScratchSize
const MCExpr* llvm::SIProgramInfo::ScratchSize = nullptr
◆ SGPRBlocks
const MCExpr* llvm::SIProgramInfo::SGPRBlocks = nullptr
◆ SGPRSpill
unsigned llvm::SIProgramInfo::SGPRSpill = 0
◆ TGIdXEnable
uint32_t llvm::SIProgramInfo::TGIdXEnable = 0
◆ TGIdYEnable
uint32_t llvm::SIProgramInfo::TGIdYEnable = 0
◆ TGIdZEnable
uint32_t llvm::SIProgramInfo::TGIdZEnable = 0
◆ TGSizeEnable
uint32_t llvm::SIProgramInfo::TGSizeEnable = 0
◆ TgSplit
uint32_t llvm::SIProgramInfo::TgSplit = 0
◆ TIdIGCompCount
uint32_t llvm::SIProgramInfo::TIdIGCompCount = 0
◆ TrapHandlerEnable
uint32_t llvm::SIProgramInfo::TrapHandlerEnable = 0
◆ UserSGPR
uint32_t llvm::SIProgramInfo::UserSGPR = 0
◆ VCCUsed
◆ VGPRBlocks
const MCExpr* llvm::SIProgramInfo::VGPRBlocks = nullptr
◆ VGPRSpill
unsigned llvm::SIProgramInfo::VGPRSpill = 0
◆ WgpMode
uint32_t llvm::SIProgramInfo::WgpMode = 0
The documentation for this struct was generated from the following files:
- lib/Target/AMDGPU/SIProgramInfo.h
- lib/Target/AMDGPU/SIProgramInfo.cpp