Searched refs:NumSGPRs (Results 1 – 6 of 6) sorted by relevance
150 unsigned getNumSGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs);174 unsigned getNumVGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs);
363 unsigned getNumSGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs) { in getNumSGPRBlocks() argument364 NumSGPRs = alignTo(std::max(1u, NumSGPRs), getSGPREncodingGranule(STI)); in getNumSGPRBlocks()366 return NumSGPRs / getSGPREncodingGranule(STI) - 1; in getNumSGPRBlocks()
238 constexpr char NumSGPRs[] = "NumSGPRs"; variable
141 YIO.mapOptional(Kernel::CodeProps::Key::NumSGPRs, in mapping()
2643 unsigned NumSGPRs = NextFreeSGPR; in calculateGPRBlocks() local2647 NumSGPRs > MaxAddressableNumSGPRs) in calculateGPRBlocks()2650 NumSGPRs += in calculateGPRBlocks()2654 NumSGPRs > MaxAddressableNumSGPRs) in calculateGPRBlocks()2658 NumSGPRs = IsaInfo::FIXED_NUM_SGPRS_FOR_INIT_BUG; in calculateGPRBlocks()2661 SGPRBlocks = IsaInfo::getNumSGPRBlocks(&getSTI(), NumSGPRs); in calculateGPRBlocks()
105 unsigned NumSGPRs = AMDGPU::SGPR_32RegClass.getNumRegs(); in findFirstFreeSGPR() local106 for (unsigned Reg = 0; Reg < NumSGPRs; ++Reg) { in findFirstFreeSGPR()