Home
last modified time | relevance | path

Searched refs:NumVGPRs (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp671 unsigned NumVGPRs) const { in computeOccupancy()
677 if (NumVGPRs) in computeOccupancy()
678 Occupancy = std::min(Occupancy, getOccupancyWithNumVGPRs(NumVGPRs)); in computeOccupancy()
DSIRegisterInfo.cpp1137 unsigned NumVGPRs = (NumSubRegs + (PerVGPR - 1)) / PerVGPR; in spillSGPR() local
1140 for (unsigned Offset = 0; Offset < NumVGPRs; ++Offset) { in spillSGPR()
1228 unsigned NumVGPRs = (NumSubRegs + (PerVGPR - 1)) / PerVGPR; in restoreSGPR() local
1231 for (unsigned Offset = 0; Offset < NumVGPRs; ++Offset) { in restoreSGPR()
DAMDGPUTargetTransformInfo.cpp279 unsigned NumVGPRs = (TRI->getRegSizeInBits(*RC) + 31) / 32; in getNumberOfRegisters() local
280 return getHardwareNumberOfRegisters(false) / NumVGPRs; in getNumberOfRegisters()
DAMDGPUSubtarget.h1140 unsigned NumSGPRs = 0, unsigned NumVGPRs = 0) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp628 unsigned NumVGPRs) const { in computeOccupancy()
634 if (NumVGPRs) in computeOccupancy()
635 Occupancy = std::min(Occupancy, getOccupancyWithNumVGPRs(NumVGPRs)); in computeOccupancy()
DAMDGPUSubtarget.h1075 unsigned NumSGPRs = 0, unsigned NumVGPRs = 0) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp472 unsigned getNumVGPRBlocks(const MCSubtargetInfo *STI, unsigned NumVGPRs, in getNumVGPRBlocks() argument
474 NumVGPRs = alignTo(std::max(1u, NumVGPRs), in getNumVGPRBlocks()
477 return NumVGPRs / getVGPREncodingGranule(STI, EnableWavefrontSize32) - 1; in getNumVGPRBlocks()
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dhsa-metadata-kernel-code-props.ll20 ; CHECK: NumVGPRs: {{3|6}}
43 ; CHECK: NumVGPRs: {{3|6}}
/external/llvm-project/llvm/include/llvm/Support/
DAMDGPUMetadata.h244 constexpr char NumVGPRs[] = "NumVGPRs"; variable
/external/llvm-project/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp517 unsigned getNumVGPRBlocks(const MCSubtargetInfo *STI, unsigned NumVGPRs, in getNumVGPRBlocks() argument
519 NumVGPRs = alignTo(std::max(1u, NumVGPRs), in getNumVGPRBlocks()
522 return NumVGPRs / getVGPREncodingGranule(STI, EnableWavefrontSize32) - 1; in getNumVGPRBlocks()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAMDGPUMetadata.h245 constexpr char NumVGPRs[] = "NumVGPRs"; variable
/external/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp168 unsigned NumVGPRs = AMDGPU::VGPR_32RegClass.getNumRegs(); in getReservedRegs() local
175 for (unsigned i = MaxWorkGroupVGPRCount; i < NumVGPRs; ++i) { in getReservedRegs()
/external/llvm-project/llvm/lib/Support/
DAMDGPUMetadata.cpp149 YIO.mapOptional(Kernel::CodeProps::Key::NumVGPRs, in mapping()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAMDGPUMetadata.cpp145 YIO.mapOptional(Kernel::CodeProps::Key::NumVGPRs, in mapping()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp3656 unsigned NumVGPRs = NextFreeVGPR; in calculateGPRBlocks() local
3681 IsaInfo::getNumVGPRBlocks(&getSTI(), NumVGPRs, EnableWavefrontSize32); in calculateGPRBlocks()
/external/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp4124 unsigned NumVGPRs = NextFreeVGPR; in calculateGPRBlocks() local
4149 IsaInfo::getNumVGPRBlocks(&getSTI(), NumVGPRs, EnableWavefrontSize32); in calculateGPRBlocks()
/external/llvm-project/llvm/docs/
DAMDGPUUsage.rst2840 "NumVGPRs" integer Required Number of vector