Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DGCNSubtarget.h1160 unsigned getMinNumSGPRs(unsigned WavesPerEU) const { in getMinNumSGPRs() argument
1161 return AMDGPU::IsaInfo::getMinNumSGPRs(this, WavesPerEU); in getMinNumSGPRs()
1166 unsigned getMaxNumSGPRs(unsigned WavesPerEU, bool Addressable) const { in getMaxNumSGPRs() argument
1167 return AMDGPU::IsaInfo::getMaxNumSGPRs(this, WavesPerEU, Addressable); in getMaxNumSGPRs()
1184 std::pair<unsigned, unsigned> WavesPerEU,
1230 unsigned getMinNumVGPRs(unsigned WavesPerEU) const { in getMinNumVGPRs() argument
1231 return AMDGPU::IsaInfo::getMinNumVGPRs(this, WavesPerEU); in getMinNumVGPRs()
1236 unsigned getMaxNumVGPRs(unsigned WavesPerEU) const { in getMaxNumVGPRs() argument
1237 return AMDGPU::IsaInfo::getMaxNumVGPRs(this, WavesPerEU); in getMaxNumVGPRs()
1243 std::pair<unsigned, unsigned> WavesPerEU) const;
H A DAMDGPUSubtarget.cpp697 const Function &F, std::pair<unsigned, unsigned> WavesPerEU, in getBaseMaxNumSGPRs() argument
701 unsigned MaxNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, false); in getBaseMaxNumSGPRs()
702 unsigned MaxAddressableNumSGPRs = getMaxNumSGPRs(WavesPerEU.first, true); in getBaseMaxNumSGPRs()
727 if (Requested && Requested > getMaxNumSGPRs(WavesPerEU.first, false)) in getBaseMaxNumSGPRs()
729 if (WavesPerEU.second && in getBaseMaxNumSGPRs()
730 Requested && Requested < getMinNumSGPRs(WavesPerEU.second)) in getBaseMaxNumSGPRs()
779 const Function &F, std::pair<unsigned, unsigned> WavesPerEU) const { in getBaseMaxNumVGPRs()
782 unsigned MaxNumVGPRs = getMaxNumVGPRs(WavesPerEU.first); in getBaseMaxNumVGPRs()
795 if (Requested && Requested > getMaxNumVGPRs(WavesPerEU.first)) in getBaseMaxNumVGPRs()
797 if (WavesPerEU.second && in getBaseMaxNumVGPRs()
[all …]
H A DSIMachineFunctionInfo.h402 std::pair<unsigned, unsigned> WavesPerEU = {0, 0};
986 return WavesPerEU;
991 return WavesPerEU.first;
996 return WavesPerEU.second;
H A DSIMachineFunctionInfo.cpp63 WavesPerEU = ST.getWavesPerEU(F); in SIMachineFunctionInfo()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp950 assert(WavesPerEU != 0); in getMinNumSGPRs()
956 if (WavesPerEU >= getMaxWavesPerEU(STI)) in getMinNumSGPRs()
959 unsigned MinNumSGPRs = getTotalNumSGPRs(STI) / (WavesPerEU + 1); in getMinNumSGPRs()
968 assert(WavesPerEU != 0); in getMaxNumSGPRs()
976 unsigned MaxNumSGPRs = getTotalNumSGPRs(STI) / WavesPerEU; in getMaxNumSGPRs()
1078 assert(WavesPerEU != 0); in getMinNumVGPRs()
1081 if (WavesPerEU >= MaxWavesPerEU) in getMinNumVGPRs()
1087 unsigned MaxNumVGPRs = alignDown(TotNumVGPRs / WavesPerEU, Granule); in getMinNumVGPRs()
1093 if (WavesPerEU < MinWavesPerEU) in getMinNumVGPRs()
1102 assert(WavesPerEU != 0); in getMaxNumVGPRs()
[all …]
H A DAMDGPUBaseInfo.h246 unsigned getMinNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU);
250 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU,
293 unsigned getMinNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU);
297 unsigned getMaxNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU);