reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
359 IsaVersion Version = getIsaVersion(STI->getCPU()); 363 if (WavesPerEU >= getMaxWavesPerEU(STI)) 366 unsigned MinNumSGPRs = getTotalNumSGPRs(STI) / (WavesPerEU + 1); 367 if (STI->getFeatureBits().test(FeatureTrapHandler)) 369 MinNumSGPRs = alignDown(MinNumSGPRs, getSGPRAllocGranule(STI)) + 1; 370 return std::min(MinNumSGPRs, getAddressableNumSGPRs(STI));