Home
last modified time | relevance | path

Searched refs:getMaxNumSGPRs (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNSubtarget.h1315 unsigned getMaxNumSGPRs(unsigned WavesPerEU, bool Addressable) const { in getMaxNumSGPRs() function
1316 return AMDGPU::IsaInfo::getMaxNumSGPRs(this, WavesPerEU, Addressable); in getMaxNumSGPRs()
1345 unsigned getMaxNumSGPRs(const MachineFunction &MF) const;
1355 unsigned getMaxNumSGPRs(const Function &F) const;
H A DAMDGPUSubtarget.cpp733 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getBaseMaxNumSGPRs()
734 unsigned MaxAddressableNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, true); in getBaseMaxNumSGPRs()
759 if (Requested && Requested > getMaxNumSGPRs(WavesPerEU.first, false)) in getBaseMaxNumSGPRs()
775 unsigned GCNSubtarget::getMaxNumSGPRs(const MachineFunction &MF) const { in getMaxNumSGPRs() function in GCNSubtarget
807 unsigned GCNSubtarget::getMaxNumSGPRs(const Function &F) const { in getMaxNumSGPRs() function in GCNSubtarget
H A DSIRegisterInfo.cpp553 unsigned BaseIdx = alignDown(ST.getMaxNumSGPRs(MF), Align) - Align; in getAlignedHighSGPRForRC()
623 unsigned MaxNumSGPRs = ST.getMaxNumSGPRs(MF); in getReservedRegs()
3052 return std::min(ST.getMaxNumSGPRs(Occupancy, true), ST.getMaxNumSGPRs(MF)); in getRegPressureLimit()
3253 return ArrayRef(AMDGPU::SGPR_128RegClass.begin(), ST.getMaxNumSGPRs(MF) / 4); in getAllSGPR128()
3258 return ArrayRef(AMDGPU::SGPR_64RegClass.begin(), ST.getMaxNumSGPRs(MF) / 2); in getAllSGPR64()
3263 return ArrayRef(AMDGPU::SGPR_32RegClass.begin(), ST.getMaxNumSGPRs(MF)); in getAllSGPR32()
H A DGCNSchedStrategy.cpp88 std::min(ST.getMaxNumSGPRs(TargetOccupancy, true), SGPRExcessLimit); in initialize()
975 unsigned MaxSGPRs = ST.getMaxNumSGPRs(MF); in checkScheduling()
H A DSIISelLowering.cpp15349 unsigned MaxNumSGPRs = ST.getMaxNumSGPRs(MF); in finalizeLowering()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h246 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU,
H A DAMDGPUBaseInfo.cpp982 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU, in getMaxNumSGPRs() function