Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp627 unsigned NumSGPRs, in computeOccupancy() argument
632 if (NumSGPRs) in computeOccupancy()
633 Occupancy = std::min(Occupancy, getOccupancyWithNumSGPRs(NumSGPRs)); in computeOccupancy()
DAMDGPUSubtarget.h1075 unsigned NumSGPRs = 0, unsigned NumVGPRs = 0) const;
DSIISelLowering.cpp109 unsigned NumSGPRs = AMDGPU::SGPR_32RegClass.getNumRegs(); in findFirstFreeSGPR() local
110 for (unsigned Reg = 0; Reg < NumSGPRs; ++Reg) { in findFirstFreeSGPR()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.h158 unsigned getNumSGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs);
193 unsigned getNumVGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs,
DAMDGPUBaseInfo.cpp423 unsigned getNumSGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs) { in getNumSGPRBlocks() argument
424 NumSGPRs = alignTo(std::max(1u, NumSGPRs), getSGPREncodingGranule(STI)); in getNumSGPRBlocks()
426 return NumSGPRs / getSGPREncodingGranule(STI) - 1; in getNumSGPRBlocks()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAMDGPUMetadata.h243 constexpr char NumSGPRs[] = "NumSGPRs"; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAMDGPUMetadata.cpp143 YIO.mapOptional(Kernel::CodeProps::Key::NumSGPRs, in mapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp3657 unsigned NumSGPRs = NextFreeSGPR; in calculateGPRBlocks() local
3660 NumSGPRs = 0; in calculateGPRBlocks()
3666 NumSGPRs > MaxAddressableNumSGPRs) in calculateGPRBlocks()
3669 NumSGPRs += in calculateGPRBlocks()
3673 NumSGPRs > MaxAddressableNumSGPRs) in calculateGPRBlocks()
3677 NumSGPRs = IsaInfo::FIXED_NUM_SGPRS_FOR_INIT_BUG; in calculateGPRBlocks()
3682 SGPRBlocks = IsaInfo::getNumSGPRBlocks(&getSTI(), NumSGPRs); in calculateGPRBlocks()