LLVM 20.0.0git
|
#include "Target/AMDGPU/AMDGPUResourceUsageAnalysis.h"
Public Member Functions | |
int32_t | getTotalNumSGPRs (const GCNSubtarget &ST) const |
int32_t | getTotalNumVGPRs (const GCNSubtarget &ST) const |
Public Attributes | |
int32_t | NumVGPR = 0 |
int32_t | NumAGPR = 0 |
int32_t | NumExplicitSGPR = 0 |
uint64_t | PrivateSegmentSize = 0 |
bool | UsesVCC = false |
bool | UsesFlatScratch = false |
bool | HasDynamicallySizedStack = false |
bool | HasRecursion = false |
bool | HasIndirectCall = false |
Definition at line 32 of file AMDGPUResourceUsageAnalysis.h.
int32_t AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::getTotalNumSGPRs | ( | const GCNSubtarget & | ST | ) | const |
Definition at line 81 of file AMDGPUResourceUsageAnalysis.cpp.
References llvm::AMDGPU::IsaInfo::getNumExtraSGPRs(), NumExplicitSGPR, UsesFlatScratch, and UsesVCC.
int32_t AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::getTotalNumVGPRs | ( | const GCNSubtarget & | ST | ) | const |
Definition at line 88 of file AMDGPUResourceUsageAnalysis.cpp.
References llvm::AMDGPU::getTotalNumVGPRs().
bool llvm::AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::HasDynamicallySizedStack = false |
Definition at line 41 of file AMDGPUResourceUsageAnalysis.h.
bool llvm::AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::HasIndirectCall = false |
Definition at line 43 of file AMDGPUResourceUsageAnalysis.h.
bool llvm::AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::HasRecursion = false |
Definition at line 42 of file AMDGPUResourceUsageAnalysis.h.
int32_t llvm::AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::NumAGPR = 0 |
Definition at line 36 of file AMDGPUResourceUsageAnalysis.h.
int32_t llvm::AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::NumExplicitSGPR = 0 |
Definition at line 37 of file AMDGPUResourceUsageAnalysis.h.
Referenced by getTotalNumSGPRs().
int32_t llvm::AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::NumVGPR = 0 |
Definition at line 35 of file AMDGPUResourceUsageAnalysis.h.
uint64_t llvm::AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::PrivateSegmentSize = 0 |
Definition at line 38 of file AMDGPUResourceUsageAnalysis.h.
bool llvm::AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::UsesFlatScratch = false |
Definition at line 40 of file AMDGPUResourceUsageAnalysis.h.
Referenced by getTotalNumSGPRs().
bool llvm::AMDGPUResourceUsageAnalysis::SIFunctionResourceInfo::UsesVCC = false |
Definition at line 39 of file AMDGPUResourceUsageAnalysis.h.
Referenced by getTotalNumSGPRs().