Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp552 std::pair<unsigned, unsigned> WavesPerEU = MFI.getWavesPerEU(); in getMaxNumSGPRs() local
553 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getMaxNumSGPRs()
554 unsigned MaxAddressableNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, true); in getMaxNumSGPRs()
579 if (Requested && Requested > getMaxNumSGPRs(WavesPerEU.first, false)) in getMaxNumSGPRs()
581 if (WavesPerEU.second && in getMaxNumSGPRs()
582 Requested && Requested < getMinNumSGPRs(WavesPerEU.second)) in getMaxNumSGPRs()
602 std::pair<unsigned, unsigned> WavesPerEU = MFI.getWavesPerEU(); in getMaxNumVGPRs() local
603 unsigned MaxNumVGPRs = getMaxNumVGPRs(WavesPerEU.first); in getMaxNumVGPRs()
613 if (Requested && Requested > getMaxNumVGPRs(WavesPerEU.first)) in getMaxNumVGPRs()
615 if (WavesPerEU.second && in getMaxNumVGPRs()
[all …]
DAMDGPUSubtarget.h877 unsigned getMinNumSGPRs(unsigned WavesPerEU) const { in getMinNumSGPRs() argument
879 WavesPerEU); in getMinNumSGPRs()
884 unsigned getMaxNumSGPRs(unsigned WavesPerEU, bool Addressable) const { in getMaxNumSGPRs() argument
886 WavesPerEU, Addressable); in getMaxNumSGPRs()
927 unsigned getMinNumVGPRs(unsigned WavesPerEU) const { in getMinNumVGPRs() argument
929 WavesPerEU); in getMinNumVGPRs()
934 unsigned getMaxNumVGPRs(unsigned WavesPerEU) const { in getMaxNumVGPRs() argument
936 WavesPerEU); in getMaxNumVGPRs()
DSIMachineFunctionInfo.h125 std::pair<unsigned, unsigned> WavesPerEU = {0, 0}; variable
555 return WavesPerEU; in getWavesPerEU()
560 return WavesPerEU.first; in getMinWavesPerEU()
565 return WavesPerEU.second; in getMaxWavesPerEU()
DSIMachineFunctionInfo.cpp53 WavesPerEU = ST.getWavesPerEU(F); in SIMachineFunctionInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp312 unsigned getMinNumSGPRs(const FeatureBitset &Features, unsigned WavesPerEU) { in getMinNumSGPRs() argument
313 assert(WavesPerEU != 0); in getMinNumSGPRs()
315 if (WavesPerEU >= getMaxWavesPerEU()) in getMinNumSGPRs()
318 unsigned MinNumSGPRs = getTotalNumSGPRs(Features) / (WavesPerEU + 1); in getMinNumSGPRs()
325 unsigned getMaxNumSGPRs(const FeatureBitset &Features, unsigned WavesPerEU, in getMaxNumSGPRs() argument
327 assert(WavesPerEU != 0); in getMaxNumSGPRs()
333 unsigned MaxNumSGPRs = getTotalNumSGPRs(Features) / WavesPerEU; in getMaxNumSGPRs()
389 unsigned getMinNumVGPRs(const FeatureBitset &Features, unsigned WavesPerEU) { in getMinNumVGPRs() argument
390 assert(WavesPerEU != 0); in getMinNumVGPRs()
392 if (WavesPerEU >= getMaxWavesPerEU()) in getMinNumVGPRs()
[all …]
DAMDGPUBaseInfo.h136 unsigned getMinNumSGPRs(const FeatureBitset &Features, unsigned WavesPerEU);
140 unsigned getMaxNumSGPRs(const FeatureBitset &Features, unsigned WavesPerEU,
173 unsigned getMinNumVGPRs(const FeatureBitset &Features, unsigned WavesPerEU);
177 unsigned getMaxNumVGPRs(const FeatureBitset &Features, unsigned WavesPerEU);