Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp553 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getMaxNumSGPRs() local
560 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()
DSIRegisterInfo.cpp178 unsigned MaxNumSGPRs = ST.getMaxNumSGPRs(MF); in getReservedRegs() local
180 for (unsigned i = MaxNumSGPRs; i < TotalNumSGPRs; ++i) { in getReservedRegs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp333 unsigned MaxNumSGPRs = getTotalNumSGPRs(Features) / WavesPerEU; in getMaxNumSGPRs() local
335 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()