Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNNSAReassign.cpp77 unsigned MaxNumVGPRs; member in __anonb3e4049d0111::GCNNSAReassign
144 if (NumRegs > MaxNumVGPRs) in scavengeRegs()
146 unsigned MaxReg = MaxNumVGPRs - NumRegs + AMDGPU::VGPR0; in scavengeRegs()
239 MaxNumVGPRs = ST->getMaxNumVGPRs(MF); in runOnMachineFunction()
240 MaxNumVGPRs = std::min(ST->getMaxNumVGPRs(MFI->getOccupancy()), MaxNumVGPRs); in runOnMachineFunction()
H A DAMDGPUSubtarget.cpp936 unsigned MaxNumVGPRs = getMaxNumVGPRs(WavesPerEU.first); in getBaseMaxNumVGPRs() local
942 F, "amdgpu-num-vgpr", MaxNumVGPRs); in getBaseMaxNumVGPRs()
956 MaxNumVGPRs = Requested; in getBaseMaxNumVGPRs()
959 return MaxNumVGPRs; in getBaseMaxNumVGPRs()
H A DSIRegisterInfo.cpp504 unsigned MaxNumVGPRs = ST.getMaxNumVGPRs(MF); in getReservedRegs() local
510 MaxNumVGPRs /= 2; in getReservedRegs()
512 for (unsigned i = MaxNumVGPRs; i < TotalNumVGPRs; ++i) { in getReservedRegs()
533 for (unsigned i = 0; i < MaxNumVGPRs; ++i) { in getReservedRegs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp748 unsigned MaxNumVGPRs = alignDown(getTotalNumVGPRs(STI) / WavesPerEU, in getMaxNumVGPRs() local
751 return std::min(MaxNumVGPRs, AddressableNumVGPRs); in getMaxNumVGPRs()