LLVM
8.0.1
|
Track resource usage for kernels / entry functions. More...
#include "Target/AMDGPU/SIProgramInfo.h"
Public Member Functions | |
SIProgramInfo ()=default | |
Public Attributes | |
uint32_t | VGPRBlocks = 0 |
uint32_t | SGPRBlocks = 0 |
uint32_t | Priority = 0 |
uint32_t | FloatMode = 0 |
uint32_t | Priv = 0 |
uint32_t | DX10Clamp = 0 |
uint32_t | DebugMode = 0 |
uint32_t | IEEEMode = 0 |
uint64_t | ScratchSize = 0 |
uint64_t | ComputePGMRSrc1 = 0 |
uint32_t | LDSBlocks = 0 |
uint32_t | ScratchBlocks = 0 |
uint64_t | ComputePGMRSrc2 = 0 |
uint32_t | NumVGPR = 0 |
uint32_t | NumSGPR = 0 |
uint32_t | LDSSize = 0 |
bool | FlatUsed = false |
uint32_t | NumSGPRsForWavesPerEU = 0 |
uint32_t | NumVGPRsForWavesPerEU = 0 |
uint16_t | DebuggerWavefrontPrivateSegmentOffsetSGPR |
uint16_t | DebuggerPrivateSegmentBufferSGPR |
bool | DynamicCallStack = false |
bool | VCCUsed = false |
Track resource usage for kernels / entry functions.
Definition at line 22 of file SIProgramInfo.h.
|
default |
uint64_t llvm::SIProgramInfo::ComputePGMRSrc1 = 0 |
Definition at line 34 of file SIProgramInfo.h.
Referenced by llvm::AMDGPUAsmPrinter::doFinalization(), getElementByteSizeValue(), getRsrcReg(), and hasAnyNonFlatUseOfReg().
uint64_t llvm::SIProgramInfo::ComputePGMRSrc2 = 0 |
Definition at line 40 of file SIProgramInfo.h.
Referenced by llvm::AMDGPUAsmPrinter::doFinalization(), getElementByteSizeValue(), getRsrcReg(), hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
uint16_t llvm::SIProgramInfo::DebuggerPrivateSegmentBufferSGPR |
Definition at line 62 of file SIProgramInfo.h.
Referenced by getElementByteSizeValue(), hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
uint16_t llvm::SIProgramInfo::DebuggerWavefrontPrivateSegmentOffsetSGPR |
Definition at line 56 of file SIProgramInfo.h.
Referenced by getElementByteSizeValue(), hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
uint32_t llvm::SIProgramInfo::DebugMode = 0 |
Definition at line 30 of file SIProgramInfo.h.
Referenced by hasAnyNonFlatUseOfReg().
uint32_t llvm::SIProgramInfo::DX10Clamp = 0 |
Definition at line 29 of file SIProgramInfo.h.
Referenced by hasAnyNonFlatUseOfReg().
Definition at line 67 of file SIProgramInfo.h.
Referenced by getElementByteSizeValue(), and hasAnyNonFlatUseOfReg().
Definition at line 45 of file SIProgramInfo.h.
Referenced by llvm::AMDGPUAsmPrinter::EmitFunctionBodyEnd(), and hasAnyNonFlatUseOfReg().
uint32_t llvm::SIProgramInfo::FloatMode = 0 |
Definition at line 27 of file SIProgramInfo.h.
Referenced by hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
uint32_t llvm::SIProgramInfo::IEEEMode = 0 |
Definition at line 31 of file SIProgramInfo.h.
Referenced by hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
uint32_t llvm::SIProgramInfo::LDSBlocks = 0 |
Definition at line 37 of file SIProgramInfo.h.
Referenced by getRsrcReg(), and hasAnyNonFlatUseOfReg().
uint32_t llvm::SIProgramInfo::LDSSize = 0 |
Definition at line 44 of file SIProgramInfo.h.
Referenced by llvm::AMDGPUAsmPrinter::doFinalization(), getElementByteSizeValue(), hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
uint32_t llvm::SIProgramInfo::NumSGPR = 0 |
Definition at line 43 of file SIProgramInfo.h.
Referenced by getElementByteSizeValue(), hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
uint32_t llvm::SIProgramInfo::NumSGPRsForWavesPerEU = 0 |
Definition at line 48 of file SIProgramInfo.h.
Referenced by llvm::AMDGPUAsmPrinter::EmitFunctionBodyEnd(), getRsrcReg(), hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
uint32_t llvm::SIProgramInfo::NumVGPR = 0 |
Definition at line 42 of file SIProgramInfo.h.
Referenced by getElementByteSizeValue(), hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
uint32_t llvm::SIProgramInfo::NumVGPRsForWavesPerEU = 0 |
Definition at line 51 of file SIProgramInfo.h.
Referenced by llvm::AMDGPUAsmPrinter::EmitFunctionBodyEnd(), getRsrcReg(), hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
uint32_t llvm::SIProgramInfo::Priority = 0 |
Definition at line 26 of file SIProgramInfo.h.
Referenced by hasAnyNonFlatUseOfReg().
uint32_t llvm::SIProgramInfo::Priv = 0 |
Definition at line 28 of file SIProgramInfo.h.
Referenced by hasAnyNonFlatUseOfReg().
uint32_t llvm::SIProgramInfo::ScratchBlocks = 0 |
Definition at line 38 of file SIProgramInfo.h.
Referenced by getRsrcReg(), and hasAnyNonFlatUseOfReg().
uint64_t llvm::SIProgramInfo::ScratchSize = 0 |
Definition at line 32 of file SIProgramInfo.h.
Referenced by llvm::AMDGPUAsmPrinter::doFinalization(), getElementByteSizeValue(), getRsrcReg(), hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
uint32_t llvm::SIProgramInfo::SGPRBlocks = 0 |
Definition at line 25 of file SIProgramInfo.h.
Referenced by getRsrcReg(), hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
Definition at line 70 of file SIProgramInfo.h.
Referenced by llvm::AMDGPUAsmPrinter::EmitFunctionBodyEnd(), and hasAnyNonFlatUseOfReg().
uint32_t llvm::SIProgramInfo::VGPRBlocks = 0 |
Definition at line 24 of file SIProgramInfo.h.
Referenced by getRsrcReg(), hasAnyNonFlatUseOfReg(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().