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

References

lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  172   return TRI->isSGPRClass(&RC) ? AMDGPU::SGPRRegBank : AMDGPU::VGPRRegBank;
  189     Sizes[I] = getSizeInBits(Reg, MRI, *TRI);
  193     unsigned SizeI = getSizeInBits(MI.getOperand(I).getReg(), MRI, *TRI);
  348     unsigned Size = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
  375     unsigned Size = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
  446     unsigned Size = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
  479     unsigned Size = getSizeInBits(MI.getOperand(2).getReg(), MRI, *TRI);
  515     unsigned Size = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
  555     unsigned Size = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
  611   const RegisterBank *Bank = getRegBank(Reg, *MRI, *TRI);
  673   const TargetRegisterClass *WaveRC = TRI->getWaveMaskRegClass();
  688       const RegisterBank *DefBank = getRegBank(Def.getReg(), MRI, *TRI);
  967     const RegisterBank *OpBank = getRegBank(Reg, MRI, *TRI);
 1002   const RegisterBank *Bank = getRegBank(Reg, MRI, *TRI);
 1054     const RegisterBank *PtrBank = getRegBank(PtrReg, MRI, *TRI);
 1320   if (!constrainSelectedInstRegOperands(*MIB, *TII, *TRI, *this))
 1442     const RegisterBank *DstBank = getRegBank(DstReg, MRI, *TRI);
 1463     const RegisterBank *DstBank = getRegBank(DstReg, MRI, *TRI);
 1500     const RegisterBank *SrcBank = getRegBank(SrcReg, MRI, *TRI);
 1602     const RegisterBank *DstBank = getRegBank(DstReg, MRI, *TRI);
 1612     const RegisterBank *BankLo = getRegBank(Lo, MRI, *TRI);
 1613     const RegisterBank *BankHi = getRegBank(Hi, MRI, *TRI);
 1694     const RegisterBank *SrcBank = getRegBank(SrcReg, MRI, *TRI);
 1759     const RegisterBank *DstBank = getRegBank(DstReg, MRI, *TRI);
 1760     const RegisterBank *SrcBank = getRegBank(SrcReg, MRI, *TRI);
 1761     const RegisterBank *InsSrcBank = getRegBank(InsReg, MRI, *TRI);
 1910     if (const RegisterBank *Bank = getRegBank(Reg, MRI, *TRI)) {
 1928     unsigned Size = getSizeInBits(MI.getOperand(i).getReg(), MRI, *TRI);
 1943   unsigned Size0 = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
 1950   unsigned Size1 = getSizeInBits(Reg1, MRI, *TRI);
 1954   unsigned Bank1 = getRegBankID(Reg1, MRI, *TRI, DefaultBankID);
 1963     unsigned Size = getSizeInBits(MO.getReg(), MRI, *TRI);
 1983     unsigned Size = getSizeInBits(Op.getReg(), MRI, *TRI);
 2009     unsigned Size = getSizeInBits(OpReg, MRI, *TRI);
 2019       unsigned NewBank = getRegBankID(OpReg, MRI, *TRI, AMDGPU::SGPRRegBankID);
 2036   unsigned Size = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
 2046   const RegisterBank *PtrBank = getRegBank(PtrReg, MRI, *TRI);
 2122       auto OpBank = getRegBankID(MI.getOperand(I).getReg(), MRI, *TRI);
 2130     unsigned Size = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
 2148       const RegisterBank *Bank = getRegBank(Reg, MRI, *TRI);
 2200         = getRegBank(MI.getOperand(0).getReg(), MRI, *TRI);
 2216           BankLHS = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI,
 2218           BankRHS = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI,
 2222         BankLHS = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI,
 2224         BankRHS = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI,
 2259         unsigned Bank1 = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI/*, DefaultBankID*/);
 2262         unsigned Bank2 = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI/*, DefaultBankID*/);
 2347     unsigned DstSize = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
 2348     unsigned SrcSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI);
 2349     unsigned EltSize = getSizeInBits(MI.getOperand(2).getReg(), MRI, *TRI);
 2357     unsigned BankID = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI);
 2358     unsigned DstSize = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
 2359     unsigned SrcSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI);
 2371       unsigned Src0BankID = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI);
 2372       unsigned Src1BankID = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI);
 2409     unsigned BankID = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI);
 2416     unsigned Bank = getRegBankID(Src, MRI, *TRI);
 2417     unsigned DstSize = getSizeInBits(Dst, MRI, *TRI);
 2418     unsigned SrcSize = getSizeInBits(Src, MRI, *TRI);
 2428     unsigned DstSize = getSizeInBits(Dst, MRI, *TRI);
 2429     unsigned SrcSize = getSizeInBits(Src, MRI, *TRI);
 2432     const RegisterBank *SrcBank = getRegBank(Src, MRI, *TRI);
 2459     unsigned Op2Bank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI);
 2487     unsigned Op2Bank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI);
 2488     unsigned Op3Bank = getRegBankID(MI.getOperand(3).getReg(), MRI, *TRI);
 2506     unsigned SrcBankID = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI);
 2510     unsigned IdxBank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI);
 2527     unsigned SrcBankID = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI);
 2529                                             MRI, *TRI);
 2530     unsigned IdxBankID = getRegBankID(MI.getOperand(3).getReg(), MRI, *TRI);
 2548       unsigned Size = getSizeInBits(MI.getOperand(i).getReg(), MRI, *TRI);
 2637       unsigned RSrcBank = getRegBankID(RSrc, MRI, *TRI);
 2638       unsigned OffsetBank = getRegBankID(Offset, MRI, *TRI);
 2658         getRegBankID(MI.getOperand(3).getReg(), MRI, *TRI), SrcSize);
 2660         getRegBankID(MI.getOperand(4).getReg(), MRI, *TRI), SrcSize);
 2671       OpdsMapping[2] = AMDGPU::getValueMapping(getRegBankID(Src0Reg, MRI, *TRI),
 2673       OpdsMapping[3] = AMDGPU::getValueMapping(getRegBankID(Src1Reg, MRI, *TRI),
 2683       unsigned Op1Bank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI);
 2684       unsigned Op2Bank = getRegBankID(MI.getOperand(3).getReg(), MRI, *TRI);
 2693       unsigned IdxBank = getRegBankID(IdxReg, MRI, *TRI, AMDGPU::SGPRRegBankID);
 2708       unsigned SrcBank = getRegBankID(SrcReg, MRI, *TRI, AMDGPU::SGPRRegBankID);
 2711       unsigned IdxBank = getRegBankID(IdxReg, MRI, *TRI, AMDGPU::SGPRRegBankID);
 2722       unsigned Size = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
 2754       unsigned M0Bank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI,
 2789       unsigned RSrcBank = getRegBankID(RSrc, MRI, *TRI);
 2790       unsigned OffsetBank = getRegBankID(Offset, MRI, *TRI);
 2807       unsigned Bank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI,
 2814       unsigned Size = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI);
 2819       unsigned WaveSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI);
 2833       OpdsMapping[0] = getVGPROpMapping(MI.getOperand(0).getReg(), MRI, *TRI);
 2834       OpdsMapping[2] = getSGPROpMapping(MI.getOperand(2).getReg(), MRI, *TRI);
 2835       OpdsMapping[3] = getVGPROpMapping(MI.getOperand(3).getReg(), MRI, *TRI);
 2836       OpdsMapping[4] = getSGPROpMapping(MI.getOperand(4).getReg(), MRI, *TRI);
 2842       OpdsMapping[1] = getVGPROpMapping(MI.getOperand(1).getReg(), MRI, *TRI);
 2843       OpdsMapping[2] = getSGPROpMapping(MI.getOperand(2).getReg(), MRI, *TRI);
 2844       OpdsMapping[3] = getVGPROpMapping(MI.getOperand(3).getReg(), MRI, *TRI);
 2845       OpdsMapping[4] = getSGPROpMapping(MI.getOperand(4).getReg(), MRI, *TRI);
 2850       OpdsMapping[0] = getVGPROpMapping(MI.getOperand(0).getReg(), MRI, *TRI);
 2851       OpdsMapping[2] = getSGPROpMapping(MI.getOperand(2).getReg(), MRI, *TRI);
 2852       OpdsMapping[3] = getVGPROpMapping(MI.getOperand(3).getReg(), MRI, *TRI);
 2853       OpdsMapping[4] = getVGPROpMapping(MI.getOperand(4).getReg(), MRI, *TRI);
 2854       OpdsMapping[5] = getSGPROpMapping(MI.getOperand(5).getReg(), MRI, *TRI);
 2859       OpdsMapping[1] = getVGPROpMapping(MI.getOperand(1).getReg(), MRI, *TRI);
 2860       OpdsMapping[2] = getSGPROpMapping(MI.getOperand(2).getReg(), MRI, *TRI);
 2861       OpdsMapping[3] = getVGPROpMapping(MI.getOperand(3).getReg(), MRI, *TRI);
 2862       OpdsMapping[4] = getVGPROpMapping(MI.getOperand(4).getReg(), MRI, *TRI);
 2863       OpdsMapping[5] = getSGPROpMapping(MI.getOperand(5).getReg(), MRI, *TRI);
 2867       unsigned Size = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI);
 2878       unsigned Bank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI,
 2887       unsigned Bank = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI,
 2908     unsigned Op2Bank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI,
 2910     unsigned Op3Bank = getRegBankID(MI.getOperand(3).getReg(), MRI, *TRI,
 2917     unsigned CondBank = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI,
 2965     unsigned Bank = getRegBankID(MI.getOperand(0).getReg(), MRI, *TRI,