Searched refs:MaxNumSGPRs (Results 1 – 3 of 3) sorted by relevance
701 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getBaseMaxNumSGPRs() local708 F.getFnAttributeAsParsedInteger("amdgpu-num-sgpr", MaxNumSGPRs); in getBaseMaxNumSGPRs()734 MaxNumSGPRs = Requested; in getBaseMaxNumSGPRs()738 MaxNumSGPRs = AMDGPU::IsaInfo::FIXED_NUM_SGPRS_FOR_INIT_BUG; in getBaseMaxNumSGPRs()740 return std::min(MaxNumSGPRs - ReservedNumSGPRs, MaxAddressableNumSGPRs); in getBaseMaxNumSGPRs()
605 unsigned MaxNumSGPRs = ST.getMaxNumSGPRs(MF); in getReservedRegs() local607 for (unsigned i = MaxNumSGPRs; i < TotalNumSGPRs; ++i) { in getReservedRegs()
976 unsigned MaxNumSGPRs = getTotalNumSGPRs(STI) / WavesPerEU; in getMaxNumSGPRs() local978 MaxNumSGPRs -= std::min(MaxNumSGPRs, (unsigned)TRAP_NUM_SGPRS); in getMaxNumSGPRs()979 MaxNumSGPRs = alignDown(MaxNumSGPRs, getSGPRAllocGranule(STI)); in getMaxNumSGPRs()980 return std::min(MaxNumSGPRs, AddressableNumSGPRs); in getMaxNumSGPRs()