Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp645 std::pair<unsigned, unsigned> WavesPerEU = MFI.getWavesPerEU(); in getMaxNumSGPRs() local
646 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getMaxNumSGPRs()
647 unsigned MaxAddressableNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, true); in getMaxNumSGPRs()
672 if (Requested && Requested > getMaxNumSGPRs(WavesPerEU.first, false)) in getMaxNumSGPRs()
674 if (WavesPerEU.second && in getMaxNumSGPRs()
675 Requested && Requested < getMinNumSGPRs(WavesPerEU.second)) in getMaxNumSGPRs()
695 std::pair<unsigned, unsigned> WavesPerEU = MFI.getWavesPerEU(); in getMaxNumVGPRs() local
696 unsigned MaxNumVGPRs = getMaxNumVGPRs(WavesPerEU.first); in getMaxNumVGPRs()
706 if (Requested && Requested > getMaxNumVGPRs(WavesPerEU.first)) in getMaxNumVGPRs()
708 if (WavesPerEU.second && in getMaxNumVGPRs()
[all …]
DAMDGPUSubtarget.h1111 unsigned getMinNumSGPRs(unsigned WavesPerEU) const { in getMinNumSGPRs() argument
1112 return AMDGPU::IsaInfo::getMinNumSGPRs(this, WavesPerEU); in getMinNumSGPRs()
1117 unsigned getMaxNumSGPRs(unsigned WavesPerEU, bool Addressable) const { in getMaxNumSGPRs() argument
1118 return AMDGPU::IsaInfo::getMaxNumSGPRs(this, WavesPerEU, Addressable); in getMaxNumSGPRs()
1156 unsigned getMinNumVGPRs(unsigned WavesPerEU) const { in getMinNumVGPRs() argument
1157 return AMDGPU::IsaInfo::getMinNumVGPRs(this, WavesPerEU); in getMinNumVGPRs()
1162 unsigned getMaxNumVGPRs(unsigned WavesPerEU) const { in getMaxNumVGPRs() argument
1163 return AMDGPU::IsaInfo::getMaxNumVGPRs(this, WavesPerEU); in getMaxNumVGPRs()
DSIMachineFunctionInfo.h366 std::pair<unsigned, unsigned> WavesPerEU = {0, 0};
842 return WavesPerEU;
847 return WavesPerEU.first;
852 return WavesPerEU.second;
DSIMachineFunctionInfo.cpp53 WavesPerEU = ST.getWavesPerEU(F); in SIMachineFunctionInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp359 unsigned getMinNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMinNumSGPRs() argument
360 assert(WavesPerEU != 0); in getMinNumSGPRs()
366 if (WavesPerEU >= getMaxWavesPerEU(STI)) in getMinNumSGPRs()
369 unsigned MinNumSGPRs = getTotalNumSGPRs(STI) / (WavesPerEU + 1); in getMinNumSGPRs()
376 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU, in getMaxNumSGPRs() argument
378 assert(WavesPerEU != 0); in getMaxNumSGPRs()
386 unsigned MaxNumSGPRs = getTotalNumSGPRs(STI) / WavesPerEU; in getMaxNumSGPRs()
452 unsigned getMinNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMinNumVGPRs() argument
453 assert(WavesPerEU != 0); in getMinNumVGPRs()
455 if (WavesPerEU >= getMaxWavesPerEU(STI)) in getMinNumVGPRs()
[all …]
DAMDGPUBaseInfo.h137 unsigned getMinNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU);
141 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU,
182 unsigned getMinNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU);
186 unsigned getMaxNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU);