Searched refs:NumSGPRs (Results 1 – 11 of 11) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUSubtarget.cpp | 664 unsigned NumSGPRs, in computeOccupancy() argument 669 if (NumSGPRs) in computeOccupancy() 670 Occupancy = std::min(Occupancy, getOccupancyWithNumSGPRs(NumSGPRs)); in computeOccupancy()
|
| H A D | GCNSubtarget.h | 1081 unsigned NumSGPRs = 0, unsigned NumVGPRs = 0) const;
|
| H A D | SIISelLowering.cpp | 67 unsigned NumSGPRs = AMDGPU::SGPR_32RegClass.getNumRegs(); in findFirstFreeSGPR() local 68 for (unsigned Reg = 0; Reg < NumSGPRs; ++Reg) { in findFirstFreeSGPR()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | hsa-metadata-kernel-code-props.ll | 19 ; CHECK: NumSGPRs: 6 42 ; CHECK: NumSGPRs: 6
|
| H A D | elf-notes.ll | 52 ; OSABI-HSA-ELF: NumSGPRs: 96
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | AMDGPUMetadata.h | 258 constexpr char NumSGPRs[] = "NumSGPRs"; variable
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.h | 254 unsigned getNumSGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs); 289 unsigned getNumVGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs,
|
| H A D | AMDGPUBaseInfo.cpp | 821 unsigned getNumSGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs) { in getNumSGPRBlocks() argument 822 NumSGPRs = alignTo(std::max(1u, NumSGPRs), getSGPREncodingGranule(STI)); in getNumSGPRBlocks() 824 return NumSGPRs / getSGPREncodingGranule(STI) - 1; in getNumSGPRBlocks()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | AMDGPUMetadata.cpp | 146 YIO.mapOptional(Kernel::CodeProps::Key::NumSGPRs, in mapping()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/AsmParser/ |
| H A D | AMDGPUAsmParser.cpp | 4841 unsigned NumSGPRs = NextFreeSGPR; in calculateGPRBlocks() local 4844 NumSGPRs = 0; in calculateGPRBlocks() 4850 NumSGPRs > MaxAddressableNumSGPRs) in calculateGPRBlocks() 4853 NumSGPRs += in calculateGPRBlocks() 4857 NumSGPRs > MaxAddressableNumSGPRs) in calculateGPRBlocks() 4861 NumSGPRs = IsaInfo::FIXED_NUM_SGPRS_FOR_INIT_BUG; in calculateGPRBlocks() 4866 SGPRBlocks = IsaInfo::getNumSGPRBlocks(&getSTI(), NumSGPRs); in calculateGPRBlocks()
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | AMDGPUUsage.rst | 3022 "NumSGPRs" integer Required Number of scalar
|