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

References

lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def
  161     return getValueMapping(BankID, Size);
  217     return getValueMapping(BankID, Size);
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  194     Operands[I] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, SizeI);
  202       Operands[OpIdx] = AMDGPU::getValueMapping(Entry.RegBanks[I], Sizes[I]);
  381           {AMDGPU::getValueMapping(AMDGPU::SCCRegBankID, Size),
  382            AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  383            AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size)}),
  389           {AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  390            AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  391            AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size)}),
  397           {AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, Size),
  398               AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, Size),
  399               AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, Size)}),
  410         {AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  411          AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  412          AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size)}),
  456                     {AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  457                      AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, PtrSize)}),
  465            AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, PtrSize)}),
  481       getOperandsMapping({AMDGPU::getValueMapping(AMDGPU::SCCRegBankID, 1),
  483                           AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  484                           AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size)}),
  489       getOperandsMapping({AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1),
  491                           AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  492                           AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size)}),
  497       getOperandsMapping({AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1),
  499                           AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size),
  500                           AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size)}),
  505       getOperandsMapping({AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1),
  507                           AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size),
  508                           AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size)}),
  517       getOperandsMapping({AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  518                           AMDGPU::getValueMapping(AMDGPU::SCCRegBankID, 1),
  519                           AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  520                           AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size)}),
  526                           AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1),
  558         {AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  559          AMDGPU::getValueMapping(AMDGPU::SCCRegBankID, 1),
  560          AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  561          AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size),
  562          AMDGPU::getValueMapping(AMDGPU::SCCRegBankID, 1)}),
  567       getOperandsMapping({AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size),
  568                           AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1),
  569                           AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size),
  570                           AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size),
  571                           AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1)}),
  581         {AMDGPU::getValueMapping(AMDGPU::SCCRegBankID, 1), nullptr}),
  587         {AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1), nullptr }),
 1930     OpdsMapping[i] = AMDGPU::getValueMapping(BankID, Size);
 1944   OpdsMapping[OpdIdx++] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size0);
 1956   OpdsMapping[OpdIdx++] = AMDGPU::getValueMapping(Bank1, Size1);
 1965     OpdsMapping[OpdIdx] = AMDGPU::getValueMapping(BankID, Size);
 1984     OpdsMapping[I] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size);
 2020       OpdsMapping[I] = AMDGPU::getValueMapping(NewBank, Size);
 2023       OpdsMapping[I] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size);
 2053     ValMapping = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size);
 2054     PtrMapping = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, PtrSize);
 2057     PtrMapping = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, PtrSize);
 2094   return AMDGPU::getValueMapping(Bank, Size);
 2102   return AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size);
 2246       OpdsMapping[0] = AMDGPU::getValueMapping(TargetBankID, Size);
 2247       OpdsMapping[1] = AMDGPU::getValueMapping(BankLHS, Size);
 2248       OpdsMapping[2] = AMDGPU::getValueMapping(BankRHS, Size);
 2260         OpdsMapping[1] = AMDGPU::getValueMapping(Bank1, Size);
 2263         OpdsMapping[2] = AMDGPU::getValueMapping(Bank2, Size);
 2326     OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size);
 2334     OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size);
 2341     OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size);
 2350     OpdsMapping[0] = AMDGPU::getValueMapping(BankID, DstSize);
 2351     OpdsMapping[1] = AMDGPU::getValueMapping(BankID, SrcSize);
 2352     OpdsMapping[2] = AMDGPU::getValueMapping(BankID, EltSize);
 2360     OpdsMapping[0] = AMDGPU::getValueMapping(BankID, DstSize);
 2361     OpdsMapping[1] = AMDGPU::getValueMapping(BankID, SrcSize);
 2375       OpdsMapping[0] = AMDGPU::getValueMapping(DstBankID, DstSize);
 2376       OpdsMapping[1] = AMDGPU::getValueMapping(Src0BankID, SrcSize);
 2377       OpdsMapping[2] = AMDGPU::getValueMapping(Src1BankID, SrcSize);
 2390     OpdsMapping[0] = AMDGPU::getValueMapping(Bank, DstSize);
 2393       OpdsMapping[i] = AMDGPU::getValueMapping(Bank, SrcSize);
 2410     OpdsMapping[0] = OpdsMapping[1] = AMDGPU::getValueMapping(BankID, Size);
 2419     OpdsMapping[0] = AMDGPU::getValueMapping(Bank, DstSize);
 2420     OpdsMapping[1] = AMDGPU::getValueMapping(Bank, SrcSize);
 2446       OpdsMapping[0] = AMDGPU::getValueMapping(DstBank, DstSize);
 2447       OpdsMapping[1] = AMDGPU::getValueMapping(SrcBank->getID(), SrcSize);
 2460     OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1);
 2462     OpdsMapping[2] = AMDGPU::getValueMapping(Op2Bank, Size);
 2463     OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size);
 2472         AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size);
 2477         AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, 64);
 2498     OpdsMapping[0] = AMDGPU::getValueMapping(Op0Bank, 1);
 2500     OpdsMapping[2] = AMDGPU::getValueMapping(Op2Bank, Size);
 2501     OpdsMapping[3] = AMDGPU::getValueMapping(Op3Bank, Size);
 2514     OpdsMapping[1] = AMDGPU::getValueMapping(SrcBankID, SrcSize);
 2517     OpdsMapping[2] = AMDGPU::getValueMapping(IdxBank, IdxSize);
 2532     OpdsMapping[0] = AMDGPU::getValueMapping(OutputBankID, VecSize);
 2533     OpdsMapping[1] = AMDGPU::getValueMapping(SrcBankID, VecSize);
 2538     OpdsMapping[3] = AMDGPU::getValueMapping(IdxBankID, IdxSize);
 2549       OpdsMapping[i] = AMDGPU::getValueMapping(Bank, Size);
 2619       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size);
 2625         = AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, Size);
 2640       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size0);
 2645       OpdsMapping[2] = AMDGPU::getValueMapping(RSrcBank, Size2); // rsrc
 2646       OpdsMapping[3] = AMDGPU::getValueMapping(OffsetBank, Size3);
 2653       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Dst0Size);
 2654       OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, Dst1Size);
 2657       OpdsMapping[3] = AMDGPU::getValueMapping(
 2659       OpdsMapping[4] = AMDGPU::getValueMapping(
 2670       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, DstSize);
 2671       OpdsMapping[2] = AMDGPU::getValueMapping(getRegBankID(Src0Reg, MRI, *TRI),
 2673       OpdsMapping[3] = AMDGPU::getValueMapping(getRegBankID(Src1Reg, MRI, *TRI),
 2681       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, DstSize);
 2685       OpdsMapping[2] = AMDGPU::getValueMapping(Op1Bank, OpSize);
 2686       OpdsMapping[3] = AMDGPU::getValueMapping(Op2Bank, OpSize);
 2694       OpdsMapping[3] = AMDGPU::getValueMapping(IdxBank, IdxSize);
 2700       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, DstSize);
 2701       OpdsMapping[2] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, SrcSize);
 2712       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, DstSize);
 2716       OpdsMapping[2] = AMDGPU::getValueMapping(SrcBank, SrcSize);
 2717       OpdsMapping[3] = AMDGPU::getValueMapping(IdxBank, IdxSize);
 2718       OpdsMapping[4] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, SrcSize);
 2723       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size);
 2724       OpdsMapping[2] = AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1);
 2725       OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size);
 2739       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size);
 2753       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, DstSize);
 2756       OpdsMapping[2] = AMDGPU::getValueMapping(M0Bank, 32);
 2757       OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, 32);
 2763       OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, 32);
 2764       OpdsMapping[2] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, 32);
 2766       OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, 32);
 2767       OpdsMapping[4] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, 32);
 2769       OpdsMapping[5] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, 32);
 2770       OpdsMapping[6] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, 32);
 2774       OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, 32);
 2775       OpdsMapping[4] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, 32);
 2776       OpdsMapping[5] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, 32);
 2777       OpdsMapping[6] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, 32);
 2792       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size0);
 2797       OpdsMapping[2] = AMDGPU::getValueMapping(RSrcBank, Size2); // rsrc
 2798       OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size3);
 2799       OpdsMapping[4] = AMDGPU::getValueMapping(OffsetBank, Size4);
 2809       OpdsMapping[2] = AMDGPU::getValueMapping(Bank, 32);
 2815       OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size);
 2820       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1);
 2821       OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize);
 2822       OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, WaveSize);
 2826       OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1);
 2868       OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size);
 2869       OpdsMapping[2] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size);
 2875       OpdsMapping[1] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, 32);
 2880       OpdsMapping[2] = AMDGPU::getValueMapping(Bank, 32);
 2889       OpdsMapping[1] = AMDGPU::getValueMapping(Bank, 32);
 2931       OpdsMapping[1] = AMDGPU::getValueMapping(CondBank, 1);
 2935       OpdsMapping[0] = AMDGPU::getValueMapping(Bank, Size);
 2936       OpdsMapping[1] = AMDGPU::getValueMapping(CondBank, 1);
 2937       OpdsMapping[2] = AMDGPU::getValueMapping(Bank, Size);
 2938       OpdsMapping[3] = AMDGPU::getValueMapping(Bank, Size);
 2971     OpdsMapping[0] = AMDGPU::getValueMapping(Bank, 1);