Home
last modified time | relevance | path

Searched refs:getMaxNumVGPRs (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DGCNSubtarget.h1200 unsigned getMaxNumVGPRs(unsigned WavesPerEU) const { in getMaxNumVGPRs() function
1201 return AMDGPU::IsaInfo::getMaxNumVGPRs(this, WavesPerEU); in getMaxNumVGPRs()
1216 unsigned getMaxNumVGPRs(const Function &F) const;
1219 return getMaxNumVGPRs(F); in getMaxNumAGPRs()
1230 unsigned getMaxNumVGPRs(const MachineFunction &MF) const;
H A DAMDGPUSubtarget.cpp762 unsigned MaxNumVGPRs = getMaxNumVGPRs(WavesPerEU.first); in getBaseMaxNumVGPRs()
775 if (Requested && Requested > getMaxNumVGPRs(WavesPerEU.first)) in getBaseMaxNumVGPRs()
788 unsigned GCNSubtarget::getMaxNumVGPRs(const Function &F) const { in getMaxNumVGPRs() function in GCNSubtarget
792 unsigned GCNSubtarget::getMaxNumVGPRs(const MachineFunction &MF) const { in getMaxNumVGPRs() function in GCNSubtarget
H A DGCNNSAReassign.cpp250 MaxNumVGPRs = ST->getMaxNumVGPRs(MF); in runOnMachineFunction()
251 MaxNumVGPRs = std::min(ST->getMaxNumVGPRs(MFI->getOccupancy()), MaxNumVGPRs); in runOnMachineFunction()
H A DSIMachineFunctionInfo.cpp107 ST.getMaxNumVGPRs(F) <= AMDGPU::VGPR_32RegClass.getNumRegs() && in SIMachineFunctionInfo()
198 AMDGPU::VGPR_32RegClass.getRegister(ST.getMaxNumVGPRs(F) - 1); in SIMachineFunctionInfo()
H A DAMDGPUPromoteAlloca.cpp180 MaxVGPRs = ST.getMaxNumVGPRs(ST.getWavesPerEU(F).first); in run()
1093 MaxVGPRs = ST.getMaxNumVGPRs(ST.getWavesPerEU(F).first); in promoteAllocasToVector()
H A DGCNSchedStrategy.cpp63 std::min(ST.getMaxNumVGPRs(TargetOccupancy), VGPRExcessLimit); in initialize()
727 unsigned MaxVGPRs = ST.getMaxNumVGPRs(MF); in checkScheduling()
H A DSIRegisterInfo.cpp651 unsigned MaxNumVGPRs = ST.getMaxNumVGPRs(MF); in getReservedRegs()
2865 return std::min(ST.getMaxNumVGPRs(Occupancy), ST.getMaxNumVGPRs(MF)); in getRegPressureLimit()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h282 unsigned getMaxNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU);
H A DAMDGPUBaseInfo.cpp888 unsigned getMaxNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMaxNumVGPRs() function