Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNSubtarget.h1413 unsigned getMaxNumSGPRs(unsigned WavesPerEU, bool Addressable) const { in getMaxNumSGPRs() function
1414 return AMDGPU::IsaInfo::getMaxNumSGPRs(this, WavesPerEU, Addressable); in getMaxNumSGPRs()
1443 unsigned getMaxNumSGPRs(const MachineFunction &MF) const;
1453 unsigned getMaxNumSGPRs(const Function &F) const;
H A DAMDGPUSubtarget.cpp748 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getBaseMaxNumSGPRs()
749 unsigned MaxAddressableNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, true); in getBaseMaxNumSGPRs()
774 if (Requested && Requested > getMaxNumSGPRs(WavesPerEU.first, false)) in getBaseMaxNumSGPRs()
790 unsigned GCNSubtarget::getMaxNumSGPRs(const MachineFunction &MF) const { in getMaxNumSGPRs() function in GCNSubtarget
822 unsigned GCNSubtarget::getMaxNumSGPRs(const Function &F) const { in getMaxNumSGPRs() function in GCNSubtarget
H A DSIRegisterInfo.cpp554 unsigned BaseIdx = alignDown(ST.getMaxNumSGPRs(MF), Align) - Align; in getAlignedHighSGPRForRC()
617 unsigned MaxNumSGPRs = ST.getMaxNumSGPRs(MF); in getReservedRegs()
3061 return std::min(ST.getMaxNumSGPRs(Occupancy, true), ST.getMaxNumSGPRs(MF)); in getRegPressureLimit()
3262 return ArrayRef(AMDGPU::SGPR_128RegClass.begin(), ST.getMaxNumSGPRs(MF) / 4); in getAllSGPR128()
3267 return ArrayRef(AMDGPU::SGPR_64RegClass.begin(), ST.getMaxNumSGPRs(MF) / 2); in getAllSGPR64()
3272 return ArrayRef(AMDGPU::SGPR_32RegClass.begin(), ST.getMaxNumSGPRs(MF)); in getAllSGPR32()
H A DGCNSchedStrategy.cpp88 std::min(ST.getMaxNumSGPRs(TargetOccupancy, true), SGPRExcessLimit); in initialize()
1069 unsigned MaxSGPRs = ST.getMaxNumSGPRs(MF); in checkScheduling()
H A DGCNRegPressure.cpp114 unsigned MaxSGPRs = ST.getMaxNumSGPRs(MF); in less()
H A DSIISelLowering.cpp15684 unsigned MaxNumSGPRs = ST.getMaxNumSGPRs(MF); in finalizeLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h259 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU,
H A DAMDGPUBaseInfo.cpp1044 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU, in getMaxNumSGPRs() function