Home
last modified time | relevance | path

Searched refs:NumSGPRs (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h150 unsigned getNumSGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs);
174 unsigned getNumVGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs);
H A DAMDGPUBaseInfo.cpp363 unsigned getNumSGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs) { in getNumSGPRBlocks() argument
364 NumSGPRs = alignTo(std::max(1u, NumSGPRs), getSGPREncodingGranule(STI)); in getNumSGPRBlocks()
366 return NumSGPRs / getSGPREncodingGranule(STI) - 1; in getNumSGPRBlocks()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h238 constexpr char NumSGPRs[] = "NumSGPRs"; variable
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAMDGPUMetadata.cpp141 YIO.mapOptional(Kernel::CodeProps::Key::NumSGPRs, in mapping()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp2643 unsigned NumSGPRs = NextFreeSGPR; in calculateGPRBlocks() local
2647 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()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp105 unsigned NumSGPRs = AMDGPU::SGPR_32RegClass.getNumRegs(); in findFirstFreeSGPR() local
106 for (unsigned Reg = 0; Reg < NumSGPRs; ++Reg) { in findFirstFreeSGPR()