Searched refs:MaxNumSGPRs (Results 1 – 3 of 3) sorted by relevance
553 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getMaxNumSGPRs() local560 F, "amdgpu-num-sgpr", MaxNumSGPRs); in getMaxNumSGPRs()586 MaxNumSGPRs = Requested; in getMaxNumSGPRs()590 MaxNumSGPRs = AMDGPU::IsaInfo::FIXED_NUM_SGPRS_FOR_INIT_BUG; in getMaxNumSGPRs()592 return std::min(MaxNumSGPRs - getReservedNumSGPRs(MF), in getMaxNumSGPRs()
178 unsigned MaxNumSGPRs = ST.getMaxNumSGPRs(MF); in getReservedRegs() local180 for (unsigned i = MaxNumSGPRs; i < TotalNumSGPRs; ++i) { in getReservedRegs()
333 unsigned MaxNumSGPRs = getTotalNumSGPRs(Features) / WavesPerEU; in getMaxNumSGPRs() local335 MaxNumSGPRs -= std::min(MaxNumSGPRs, (unsigned)TRAP_NUM_SGPRS); in getMaxNumSGPRs()336 MaxNumSGPRs = alignDown(MaxNumSGPRs, getSGPRAllocGranule(Features)); in getMaxNumSGPRs()337 return std::min(MaxNumSGPRs, AddressableNumSGPRs); in getMaxNumSGPRs()