Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DGCNRegBankReassign.cpp154 unsigned MaxNumSGPRs; member in __anon25733a380111::GCNRegBankReassign
594 : MaxNumSGPRs; in scavengeReg()
743 MaxNumSGPRs = ST->getMaxNumSGPRs(MF); in runOnMachineFunction()
745 MaxNumSGPRs = std::min(ST->getMaxNumSGPRs(Occupancy, true), MaxNumSGPRs); in runOnMachineFunction()
DAMDGPUSubtarget.cpp646 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getMaxNumSGPRs() local
653 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()
DSIRegisterInfo.cpp192 unsigned MaxNumSGPRs = ST.getMaxNumSGPRs(MF); in getReservedRegs() local
194 for (unsigned i = MaxNumSGPRs; i < TotalNumSGPRs; ++i) { in getReservedRegs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp386 unsigned MaxNumSGPRs = getTotalNumSGPRs(STI) / WavesPerEU; in getMaxNumSGPRs() local
388 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()