reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  385     MaxNumSGPRs -= std::min(MaxNumSGPRs, (unsigned)TRAP_NUM_SGPRS);
  385     MaxNumSGPRs -= std::min(MaxNumSGPRs, (unsigned)TRAP_NUM_SGPRS);
  386   MaxNumSGPRs = alignDown(MaxNumSGPRs, getSGPRAllocGranule(STI));
  386   MaxNumSGPRs = alignDown(MaxNumSGPRs, getSGPRAllocGranule(STI));
  387   return std::min(MaxNumSGPRs, AddressableNumSGPRs);