Searched refs:WavesPerEU (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | GCNSubtarget.h | 1124 unsigned getMinNumSGPRs(unsigned WavesPerEU) const { in getMinNumSGPRs() argument 1125 return AMDGPU::IsaInfo::getMinNumSGPRs(this, WavesPerEU); in getMinNumSGPRs() 1130 unsigned getMaxNumSGPRs(unsigned WavesPerEU, bool Addressable) const { in getMaxNumSGPRs() argument 1131 return AMDGPU::IsaInfo::getMaxNumSGPRs(this, WavesPerEU, Addressable); in getMaxNumSGPRs() 1148 std::pair<unsigned, unsigned> WavesPerEU, 1194 unsigned getMinNumVGPRs(unsigned WavesPerEU) const { in getMinNumVGPRs() argument 1195 return AMDGPU::IsaInfo::getMinNumVGPRs(this, WavesPerEU); in getMinNumVGPRs() 1200 unsigned getMaxNumVGPRs(unsigned WavesPerEU) const { in getMaxNumVGPRs() argument 1201 return AMDGPU::IsaInfo::getMaxNumVGPRs(this, WavesPerEU); in getMaxNumVGPRs() 1207 std::pair<unsigned, unsigned> WavesPerEU) const;
|
| H A D | AMDGPUSubtarget.cpp | 677 const Function &F, std::pair<unsigned, unsigned> WavesPerEU, in getBaseMaxNumSGPRs() argument 681 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getBaseMaxNumSGPRs() 682 unsigned MaxAddressableNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, true); in getBaseMaxNumSGPRs() 707 if (Requested && Requested > getMaxNumSGPRs(WavesPerEU.first, false)) in getBaseMaxNumSGPRs() 709 if (WavesPerEU.second && in getBaseMaxNumSGPRs() 710 Requested && Requested < getMinNumSGPRs(WavesPerEU.second)) in getBaseMaxNumSGPRs() 759 const Function &F, std::pair<unsigned, unsigned> WavesPerEU) const { in getBaseMaxNumVGPRs() 762 unsigned MaxNumVGPRs = getMaxNumVGPRs(WavesPerEU.first); in getBaseMaxNumVGPRs() 775 if (Requested && Requested > getMaxNumVGPRs(WavesPerEU.first)) in getBaseMaxNumVGPRs() 777 if (WavesPerEU.second && in getBaseMaxNumVGPRs() [all …]
|
| H A D | SIMachineFunctionInfo.h | 392 std::pair<unsigned, unsigned> WavesPerEU = {0, 0}; 914 return WavesPerEU; 919 return WavesPerEU.first; 924 return WavesPerEU.second;
|
| H A D | SIMachineFunctionInfo.cpp | 59 WavesPerEU = ST.getWavesPerEU(F); in SIMachineFunctionInfo()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.cpp | 757 assert(WavesPerEU != 0); in getMinNumSGPRs() 763 if (WavesPerEU >= getMaxWavesPerEU(STI)) in getMinNumSGPRs() 766 unsigned MinNumSGPRs = getTotalNumSGPRs(STI) / (WavesPerEU + 1); in getMinNumSGPRs() 773 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU, in getMaxNumSGPRs() argument 775 assert(WavesPerEU != 0); in getMaxNumSGPRs() 783 unsigned MaxNumSGPRs = getTotalNumSGPRs(STI) / WavesPerEU; in getMaxNumSGPRs() 878 assert(WavesPerEU != 0); in getMinNumVGPRs() 880 if (WavesPerEU >= getMaxWavesPerEU(STI)) in getMinNumVGPRs() 883 alignDown(getTotalNumVGPRs(STI) / (WavesPerEU + 1), in getMinNumVGPRs() 889 assert(WavesPerEU != 0); in getMaxNumVGPRs() [all …]
|
| H A D | AMDGPUBaseInfo.h | 233 unsigned getMinNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU); 237 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU, 278 unsigned getMinNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU); 282 unsigned getMaxNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU);
|