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

References

lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
 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);
 2175     unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2197     unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 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*/);
 2325     unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2333     unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2340     unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 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);
 2367     LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
 2370       unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
 2371       unsigned Src0BankID = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI);
 2372       unsigned Src1BankID = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI);
 2387     unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2388     unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
 2408     unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 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);
 2458     unsigned Size = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
 2459     unsigned Op2Bank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI);
 2468     unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2486     unsigned Size = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
 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);
 2507     unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2508     unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
 2509     unsigned IdxSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
 2510     unsigned IdxBank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI);
 2524     unsigned VecSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2525     unsigned InsertSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
 2526     unsigned IdxSize = MRI.getType(MI.getOperand(3).getReg()).getSizeInBits();
 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);
 2618       unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2623       unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2633       unsigned Size0 = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2634       unsigned Size2 = MRI.getType(RSrc).getSizeInBits();
 2635       unsigned Size3 = MRI.getType(Offset).getSizeInBits();
 2637       unsigned RSrcBank = getRegBankID(RSrc, MRI, *TRI);
 2638       unsigned OffsetBank = getRegBankID(Offset, MRI, *TRI);
 2651       unsigned Dst0Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2652       unsigned Dst1Size = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
 2656       unsigned SrcSize = MRI.getType(MI.getOperand(3).getReg()).getSizeInBits();
 2658         getRegBankID(MI.getOperand(3).getReg(), MRI, *TRI), SrcSize);
 2660         getRegBankID(MI.getOperand(4).getReg(), MRI, *TRI), SrcSize);
 2667       unsigned Src0Size = MRI.getType(Src0Reg).getSizeInBits();
 2668       unsigned Src1Size = MRI.getType(Src1Reg).getSizeInBits();
 2669       unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2671       OpdsMapping[2] = AMDGPU::getValueMapping(getRegBankID(Src0Reg, MRI, *TRI),
 2673       OpdsMapping[3] = AMDGPU::getValueMapping(getRegBankID(Src1Reg, MRI, *TRI),
 2679       unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2682       unsigned OpSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
 2683       unsigned Op1Bank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI);
 2684       unsigned Op2Bank = getRegBankID(MI.getOperand(3).getReg(), MRI, *TRI);
 2692       unsigned IdxSize = MRI.getType(IdxReg).getSizeInBits();
 2693       unsigned IdxBank = getRegBankID(IdxReg, MRI, *TRI, AMDGPU::SGPRRegBankID);
 2698       unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2699       unsigned SrcSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
 2705       unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2707       unsigned SrcSize = MRI.getType(SrcReg).getSizeInBits();
 2708       unsigned SrcBank = getRegBankID(SrcReg, MRI, *TRI, AMDGPU::SGPRRegBankID);
 2710       unsigned IdxSize = MRI.getType(IdxReg).getSizeInBits();
 2711       unsigned IdxBank = getRegBankID(IdxReg, MRI, *TRI, AMDGPU::SGPRRegBankID);
 2722       unsigned Size = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI);
 2738       unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2752       unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2754       unsigned M0Bank = getRegBankID(MI.getOperand(2).getReg(), MRI, *TRI,
 2784       unsigned Size0 = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 2785       unsigned Size2 = MRI.getType(RSrc).getSizeInBits();
 2786       unsigned Size3 = MRI.getType(VIndex).getSizeInBits();
 2787       unsigned Size4 = MRI.getType(Offset).getSizeInBits();
 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,
 2899           return getImageMapping(MRI, MI, RSrcIntrin->RsrcArg);
 2907     unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
 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,
 2967     assert(MRI.getType(MI.getOperand(0).getReg()).getSizeInBits() == 1);