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

References

lib/Target/AMDGPU/GCNRegBankReassign.cpp
  278   assert(Register::isPhysicalRegister(Reg));
  280   const TargetRegisterClass *RC = TRI->getMinimalPhysRegClass(Reg);
  283     Reg = TRI->getSubReg(Reg, AMDGPU::sub0);
  283     Reg = TRI->getSubReg(Reg, AMDGPU::sub0);
  286     Reg -= AMDGPU::VGPR0;
  287     return Reg % NUM_VGPR_BANKS;
  290   Reg = TRI->getEncodingValue(Reg) / 2;
  290   Reg = TRI->getEncodingValue(Reg) / 2;
  291   return Reg % NUM_SGPR_BANKS + SGPR_BANK_OFFSET;