Searched refs:MaxNumSGPRs (Results 1 – 4 of 4) sorted by relevance
154 unsigned MaxNumSGPRs; member in __anon25733a380111::GCNRegBankReassign594 : MaxNumSGPRs; in scavengeReg()743 MaxNumSGPRs = ST->getMaxNumSGPRs(MF); in runOnMachineFunction()745 MaxNumSGPRs = std::min(ST->getMaxNumSGPRs(Occupancy, true), MaxNumSGPRs); in runOnMachineFunction()
646 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getMaxNumSGPRs() local653 F, "amdgpu-num-sgpr", MaxNumSGPRs); in getMaxNumSGPRs()679 MaxNumSGPRs = Requested; in getMaxNumSGPRs()683 MaxNumSGPRs = AMDGPU::IsaInfo::FIXED_NUM_SGPRS_FOR_INIT_BUG; in getMaxNumSGPRs()685 return std::min(MaxNumSGPRs - getReservedNumSGPRs(MF), in getMaxNumSGPRs()
192 unsigned MaxNumSGPRs = ST.getMaxNumSGPRs(MF); in getReservedRegs() local194 for (unsigned i = MaxNumSGPRs; i < TotalNumSGPRs; ++i) { in getReservedRegs()
386 unsigned MaxNumSGPRs = getTotalNumSGPRs(STI) / WavesPerEU; in getMaxNumSGPRs() local388 MaxNumSGPRs -= std::min(MaxNumSGPRs, (unsigned)TRAP_NUM_SGPRS); in getMaxNumSGPRs()389 MaxNumSGPRs = alignDown(MaxNumSGPRs, getSGPRAllocGranule(STI)); in getMaxNumSGPRs()390 return std::min(MaxNumSGPRs, AddressableNumSGPRs); in getMaxNumSGPRs()