Lines Matching refs:WavesPerEU
756 unsigned getMinNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMinNumSGPRs() argument
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()
877 unsigned getMinNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMinNumVGPRs() argument
878 assert(WavesPerEU != 0); in getMinNumVGPRs()
880 if (WavesPerEU >= getMaxWavesPerEU(STI)) in getMinNumVGPRs()
883 alignDown(getTotalNumVGPRs(STI) / (WavesPerEU + 1), in getMinNumVGPRs()
888 unsigned getMaxNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMaxNumVGPRs() argument
889 assert(WavesPerEU != 0); in getMaxNumVGPRs()
891 unsigned MaxNumVGPRs = alignDown(getTotalNumVGPRs(STI) / WavesPerEU, in getMaxNumVGPRs()