Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNRegPressure.cpp99 ST.getOccupancyWithNumVGPRs(getVGPRNum(ST.hasGFX90AInsts()))); in less()
104 ST.getOccupancyWithNumVGPRs(O.getVGPRNum(ST.hasGFX90AInsts()))); in less()
132 std::max(static_cast<int>(getVGPRNum(ST.hasGFX90AInsts()) + in less()
136 std::max(static_cast<int>(O.getVGPRNum(ST.hasGFX90AInsts()) + in less()
142 static_cast<int>(getVGPRNum(false) + VGPRForSGPRSpills - MaxArchVGPRs), in less()
145 std::max(static_cast<int>(O.getVGPRNum(false) + OtherVGPRForSGPRSpills - in less()
176 std::max(static_cast<int>(getVGPRNum(ST.hasGFX90AInsts()) - MaxVGPRs), in less()
178 std::max(static_cast<int>(getVGPRNum(false) - MaxArchVGPRs), 0); in less()
181 static_cast<int>(O.getVGPRNum(ST.hasGFX90AInsts()) - MaxVGPRs), in less()
183 std::max(static_cast<int>(O.getVGPRNum(false) - MaxArchVGPRs), 0); in less()
[all …]
H A DGCNRegPressure.h45 bool empty() const { return getSGPRNum() == 0 && getVGPRNum(false) == 0; } in empty()
50 unsigned getVGPRNum(bool UnifiedVGPRFile) const { in getVGPRNum() function
65 ST.getOccupancyWithNumVGPRs(getVGPRNum(ST.hasGFX90AInsts()))); in getOccupancy()
H A DGCNSchedStrategy.cpp1022 PressureAfter.getVGPRNum(ST.hasGFX90AInsts()) <= S.VGPRCriticalLimit) { in checkScheduling()
1071 if (PressureAfter.getVGPRNum(ST.hasGFX90AInsts()) > MaxVGPRs || in checkScheduling()
1072 PressureAfter.getVGPRNum(false) > MaxArchVGPRs || in checkScheduling()
1450 int VGPRUsage = NewPressure[I].getVGPRNum(ST.hasGFX90AInsts()); in sinkTriviallyRematInsts()
H A DSIFormMemoryClauses.cpp207 MaxPressure.getVGPRNum(ST->hasGFX90AInsts()) <= MaxVGPRs / 2 && in checkPressure()