Home
last modified time | relevance | path

Searched refs:MaxVGPRs (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFormMemoryClauses.cpp76 unsigned MaxVGPRs; member in __anon3684ce420111::SIFormMemoryClauses
207 MaxPressure.getVGPRNum(ST->hasGFX90AInsts()) <= MaxVGPRs / 2 && in checkPressure()
273 MaxVGPRs = TRI->getAllocatableSet(MF, &AMDGPU::VGPR_32RegClass).count(); in runOnMachineFunction()
H A DAMDGPUPromoteAlloca.cpp77 unsigned MaxVGPRs; member in __anon5c4cf2790111::AMDGPUPromoteAllocaImpl
168 unsigned MaxVGPRs = ST.getMaxNumVGPRs(ST.getWavesPerEU(F).first); in getMaxVGPRs() local
175 MaxVGPRs = std::min(MaxVGPRs, 32u); in getMaxVGPRs()
176 return MaxVGPRs; in getMaxVGPRs()
236 MaxVGPRs = getMaxVGPRs(TM, F); in run()
642 : (MaxVGPRs * 32); in tryPromoteAllocaToVector()
645 LLVM_DEBUG(dbgs() << " Alloca too big for vectorization with " << MaxVGPRs in tryPromoteAllocaToVector()
H A DGCNSchedStrategy.cpp974 unsigned MaxVGPRs = ST.getMaxNumVGPRs(MF); in checkScheduling() local
976 if (PressureAfter.getVGPRNum(false) > MaxVGPRs || in checkScheduling()
977 PressureAfter.getAGPRNum() > MaxVGPRs || in checkScheduling()
H A DSIInstrInfo.cpp697 unsigned MaxVGPRs = RI.getRegPressureLimit(&AMDGPU::VGPR_32RegClass, in indirectCopyToAGPR() local
714 if (!Tmp2 || RI.getHWRegIndex(Tmp2) >= MaxVGPRs) in indirectCopyToAGPR()