Home
last modified time | relevance | path

Searched refs:MaxNumSGPRs (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.cpp555 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getMaxNumSGPRs() local
562 F, "amdgpu-num-sgpr", MaxNumSGPRs); in getMaxNumSGPRs()
588 MaxNumSGPRs = Requested; in getMaxNumSGPRs()
592 MaxNumSGPRs = AMDGPU::IsaInfo::FIXED_NUM_SGPRS_FOR_INIT_BUG; in getMaxNumSGPRs()
594 return std::min(MaxNumSGPRs - getReservedNumSGPRs(MF), in getMaxNumSGPRs()
H A DSIRegisterInfo.cpp181 unsigned MaxNumSGPRs = ST.getMaxNumSGPRs(MF); in getReservedRegs() local
183 for (unsigned i = MaxNumSGPRs; i < TotalNumSGPRs; ++i) { in getReservedRegs()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp329 unsigned MaxNumSGPRs = getTotalNumSGPRs(STI) / WavesPerEU; in getMaxNumSGPRs() local
331 MaxNumSGPRs -= std::min(MaxNumSGPRs, (unsigned)TRAP_NUM_SGPRS); in getMaxNumSGPRs()
332 MaxNumSGPRs = alignDown(MaxNumSGPRs, getSGPRAllocGranule(STI)); in getMaxNumSGPRs()
333 return std::min(MaxNumSGPRs, AddressableNumSGPRs); in getMaxNumSGPRs()