Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNSubtarget.h1407 unsigned getMinNumSGPRs(unsigned WavesPerEU) const { in getMinNumSGPRs() argument
1408 return AMDGPU::IsaInfo::getMinNumSGPRs(this, WavesPerEU); in getMinNumSGPRs()
1413 unsigned getMaxNumSGPRs(unsigned WavesPerEU, bool Addressable) const { in getMaxNumSGPRs() argument
1414 return AMDGPU::IsaInfo::getMaxNumSGPRs(this, WavesPerEU, Addressable); in getMaxNumSGPRs()
1431 std::pair<unsigned, unsigned> WavesPerEU,
1483 unsigned getMinNumVGPRs(unsigned WavesPerEU) const { in getMinNumVGPRs() argument
1484 return AMDGPU::IsaInfo::getMinNumVGPRs(this, WavesPerEU); in getMinNumVGPRs()
1489 unsigned getMaxNumVGPRs(unsigned WavesPerEU) const { in getMaxNumVGPRs() argument
1490 return AMDGPU::IsaInfo::getMaxNumVGPRs(this, WavesPerEU); in getMaxNumVGPRs()
1496 std::pair<unsigned, unsigned> WavesPerEU) const;
H A DAMDGPUSubtarget.cpp744 const Function &F, std::pair<unsigned, unsigned> WavesPerEU, in getBaseMaxNumSGPRs() argument
748 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getBaseMaxNumSGPRs()
749 unsigned MaxAddressableNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, true); in getBaseMaxNumSGPRs()
774 if (Requested && Requested > getMaxNumSGPRs(WavesPerEU.first, false)) in getBaseMaxNumSGPRs()
776 if (WavesPerEU.second && in getBaseMaxNumSGPRs()
777 Requested && Requested < getMinNumSGPRs(WavesPerEU.second)) in getBaseMaxNumSGPRs()
828 const Function &F, std::pair<unsigned, unsigned> WavesPerEU) const { in getBaseMaxNumVGPRs()
831 unsigned MaxNumVGPRs = getMaxNumVGPRs(WavesPerEU.first); in getBaseMaxNumVGPRs()
844 if (Requested && Requested > getMaxNumVGPRs(WavesPerEU.first)) in getBaseMaxNumVGPRs()
846 if (WavesPerEU.second && in getBaseMaxNumVGPRs()
[all …]
H A DSIMachineFunctionInfo.h425 std::pair<unsigned, unsigned> WavesPerEU = {0, 0};
1041 return WavesPerEU;
1046 return WavesPerEU.first;
1051 return WavesPerEU.second;
H A DAMDGPUSubtarget.h114 std::pair<unsigned, unsigned> WavesPerEU,
H A DAMDGPUAttributor.cpp193 std::pair<unsigned, unsigned> WavesPerEU, in getEffectiveWavesPerEU() argument
196 return ST.getEffectiveWavesPerEU(WavesPerEU, FlatWorkGroupSize); in getEffectiveWavesPerEU()
H A DSIMachineFunctionInfo.cpp48 WavesPerEU = ST.getWavesPerEU(F); in SIMachineFunctionInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp1027 unsigned getMinNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMinNumSGPRs() argument
1028 assert(WavesPerEU != 0); in getMinNumSGPRs()
1034 if (WavesPerEU >= getMaxWavesPerEU(STI)) in getMinNumSGPRs()
1037 unsigned MinNumSGPRs = getTotalNumSGPRs(STI) / (WavesPerEU + 1); in getMinNumSGPRs()
1044 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU, in getMaxNumSGPRs() argument
1046 assert(WavesPerEU != 0); in getMaxNumSGPRs()
1054 unsigned MaxNumSGPRs = getTotalNumSGPRs(STI) / WavesPerEU; in getMaxNumSGPRs()
1195 unsigned getMinNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMinNumVGPRs() argument
1196 assert(WavesPerEU != 0); in getMinNumVGPRs()
1199 if (WavesPerEU >= MaxWavesPerEU) in getMinNumVGPRs()
[all …]
H A DAMDGPUBaseInfo.h255 unsigned getMinNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU);
259 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU,
306 unsigned getMinNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU);
310 unsigned getMaxNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU);