Lines Matching refs:Requested
399 std::pair<unsigned, unsigned> Requested = AMDGPU::getIntegerPairAttribute( in getFlatWorkGroupSizes() local
403 if (Requested.first > Requested.second) in getFlatWorkGroupSizes()
407 if (Requested.first < getMinFlatWorkGroupSize()) in getFlatWorkGroupSizes()
409 if (Requested.second > getMaxFlatWorkGroupSize()) in getFlatWorkGroupSizes()
412 return Requested; in getFlatWorkGroupSizes()
434 std::pair<unsigned, unsigned> Requested = AMDGPU::getIntegerPairAttribute( in getWavesPerEU() local
438 if (Requested.second && Requested.first > Requested.second) in getWavesPerEU()
442 if (Requested.first < getMinWavesPerEU() || in getWavesPerEU()
443 Requested.second > getMaxWavesPerEU()) in getWavesPerEU()
449 Requested.first < MinImpliedByFlatWorkGroupSize) in getWavesPerEU()
452 return Requested; in getWavesPerEU()
695 unsigned Requested = AMDGPU::getIntegerAttribute( in getMaxNumSGPRs() local
699 if (Requested && (Requested <= getReservedNumSGPRs(MF))) in getMaxNumSGPRs()
700 Requested = 0; in getMaxNumSGPRs()
710 if (Requested && Requested < InputNumSGPRs) in getMaxNumSGPRs()
711 Requested = InputNumSGPRs; in getMaxNumSGPRs()
715 if (Requested && Requested > getMaxNumSGPRs(WavesPerEU.first, false)) in getMaxNumSGPRs()
716 Requested = 0; in getMaxNumSGPRs()
718 Requested && Requested < getMinNumSGPRs(WavesPerEU.second)) in getMaxNumSGPRs()
719 Requested = 0; in getMaxNumSGPRs()
721 if (Requested) in getMaxNumSGPRs()
722 MaxNumSGPRs = Requested; in getMaxNumSGPRs()
744 unsigned Requested = AMDGPU::getIntegerAttribute( in getMaxNumVGPRs() local
749 if (Requested && Requested > getMaxNumVGPRs(WavesPerEU.first)) in getMaxNumVGPRs()
750 Requested = 0; in getMaxNumVGPRs()
752 Requested && Requested < getMinNumVGPRs(WavesPerEU.second)) in getMaxNumVGPRs()
753 Requested = 0; in getMaxNumVGPRs()
755 if (Requested) in getMaxNumVGPRs()
756 MaxNumVGPRs = Requested; in getMaxNumVGPRs()