Home
last modified time | relevance | path

Searched refs:MaxNumAGPRs (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.cpp578 unsigned MaxNumAGPRs = 0; in getMaxNumVectorRegs() local
599 std::tie(MinNumAGPRs, MaxNumAGPRs) = AMDGPU::getIntegerPairAttribute( in getMaxNumVectorRegs()
605 MinNumAGPRs = MaxNumAGPRs = MaxVectorRegs / 2; in getMaxNumVectorRegs()
615 MaxNumAGPRs = std::min(std::max(MinNumAGPRs, MaxNumAGPRs), MaxVectorRegs); in getMaxNumVectorRegs()
616 MinNumAGPRs = std::min(std::min(MinNumAGPRs, TotalNumAGPRs), MaxNumAGPRs); in getMaxNumVectorRegs()
619 MaxNumAGPRs = std::min(MaxVectorRegs - MaxNumVGPRs, MaxNumAGPRs); in getMaxNumVectorRegs()
621 assert(MaxNumVGPRs + MaxNumAGPRs <= MaxVectorRegs && in getMaxNumVectorRegs()
622 MaxNumAGPRs <= TotalNumAGPRs && MaxNumVGPRs <= TotalNumVGPRs && in getMaxNumVectorRegs()
626 MaxNumAGPRs = MaxNumVGPRs = MaxVectorRegs; in getMaxNumVectorRegs()
629 return std::pair(MaxNumVGPRs, MaxNumAGPRs); in getMaxNumVectorRegs()
[all …]
H A DSILowerSGPRSpills.cpp362 auto [MaxNumVGPRs, MaxNumAGPRs] = TRI->getMaxNumVectorRegs(MF); in determineRegsForWWMAllocation()