Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp76 unsigned MaxVGPRs; member in __anon682394fa0111::AMDGPUPromoteAllocaImpl
180 MaxVGPRs = ST.getMaxNumVGPRs(ST.getWavesPerEU(F).first); in run()
184 MaxVGPRs = std::min(MaxVGPRs, 32u); in run()
186 MaxVGPRs = 128; in run()
388 unsigned MaxVGPRs) { in tryPromoteAllocaToVector() argument
405 : (MaxVGPRs * 32); in tryPromoteAllocaToVector()
409 << MaxVGPRs << " registers available\n"); in tryPromoteAllocaToVector()
941 if (tryPromoteAllocaToVector(&I, DL, MaxVGPRs)) in handleAlloca()
1158 bool handlePromoteAllocaToVector(AllocaInst &I, unsigned MaxVGPRs) { in handlePromoteAllocaToVector() argument
1167 return tryPromoteAllocaToVector(&I, Mod->getDataLayout(), MaxVGPRs); in handlePromoteAllocaToVector()
[all …]
H A DSIFormMemoryClauses.cpp76 unsigned MaxVGPRs; member in __anon425b70c30111::SIFormMemoryClauses
209 MaxPressure.getVGPRNum(ST->hasGFX90AInsts()) <= MaxVGPRs / 2 && in checkPressure()
275 MaxVGPRs = TRI->getAllocatableSet(MF, &AMDGPU::VGPR_32RegClass).count(); in runOnMachineFunction()
H A DGCNSchedStrategy.cpp938 unsigned MaxVGPRs = ST.getMaxNumVGPRs(MF); in checkScheduling() local
940 if (PressureAfter.getVGPRNum(false) > MaxVGPRs || in checkScheduling()
941 PressureAfter.getAGPRNum() > MaxVGPRs || in checkScheduling()
H A DSIInstrInfo.cpp623 unsigned MaxVGPRs = RI.getRegPressureLimit(&AMDGPU::VGPR_32RegClass, in indirectCopyToAGPR() local
639 if (!Tmp2 || RI.getHWRegIndex(Tmp2) >= MaxVGPRs) in indirectCopyToAGPR()