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

References

lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
 2246       OpdsMapping[0] = AMDGPU::getValueMapping(TargetBankID, Size);
 2247       OpdsMapping[1] = AMDGPU::getValueMapping(BankLHS, Size);
 2248       OpdsMapping[2] = AMDGPU::getValueMapping(BankRHS, Size);
 2255         OpdsMapping[0] = getValueMappingSGPR64Only(AMDGPU::SGPRRegBankID, Size);
 2256         OpdsMapping[1] = OpdsMapping[2] = OpdsMapping[0];
 2256         OpdsMapping[1] = OpdsMapping[2] = OpdsMapping[0];
 2256         OpdsMapping[1] = OpdsMapping[2] = OpdsMapping[0];
 2258         OpdsMapping[0] = getValueMappingSGPR64Only(AMDGPU::VGPRRegBankID, 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);
 2353     OpdsMapping[3] = nullptr;
 2360     OpdsMapping[0] = AMDGPU::getValueMapping(BankID, DstSize);
 2361     OpdsMapping[1] = AMDGPU::getValueMapping(BankID, SrcSize);
 2362     OpdsMapping[2] = nullptr;
 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);
 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);
 2451       OpdsMapping[0] = AMDGPU::getValueMappingSGPR64Only(DstBank, DstSize);
 2452       OpdsMapping[1] = AMDGPU::getValueMappingSGPR64Only(SrcBank->getID(),
 2460     OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::VCCRegBankID, 1);
 2461     OpdsMapping[1] = nullptr; // Predicate Operand.
 2462     OpdsMapping[2] = AMDGPU::getValueMapping(Op2Bank, Size);
 2463     OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size);
 2479     OpdsMapping[0] = ValMapping;
 2480     OpdsMapping[1] = PtrMapping;
 2498     OpdsMapping[0] = AMDGPU::getValueMapping(Op0Bank, 1);
 2499     OpdsMapping[1] = nullptr; // Predicate Operand.
 2500     OpdsMapping[2] = AMDGPU::getValueMapping(Op2Bank, Size);
 2501     OpdsMapping[3] = AMDGPU::getValueMapping(Op3Bank, Size);
 2513     OpdsMapping[0] = AMDGPU::getValueMappingSGPR64Only(OutputBankID, DstSize);
 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);
 2534     OpdsMapping[2] = AMDGPU::getValueMappingSGPR64Only(InsertEltBankID,
 2538     OpdsMapping[3] = AMDGPU::getValueMapping(IdxBankID, IdxSize);
 2549       OpdsMapping[i] = AMDGPU::getValueMapping(Bank, Size);
 2619       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size);
 2624       OpdsMapping[0] = OpdsMapping[2]
 2624       OpdsMapping[0] = OpdsMapping[2]
 2640       OpdsMapping[0] = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size0);
 2641       OpdsMapping[1] = nullptr; // intrinsic id
 2645       OpdsMapping[2] = AMDGPU::getValueMapping(RSrcBank, Size2); // rsrc
 2646       OpdsMapping[3] = AMDGPU::getValueMapping(OffsetBank, Size3);
 2647       OpdsMapping[4] = nullptr;
 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);
 2761       OpdsMapping[0] = nullptr; // IntrinsicID
 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);
 2793       OpdsMapping[1] = nullptr; // intrinsic id
 2797       OpdsMapping[2] = AMDGPU::getValueMapping(RSrcBank, Size2); // rsrc
 2798       OpdsMapping[3] = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size3);
 2799       OpdsMapping[4] = AMDGPU::getValueMapping(OffsetBank, Size4);
 2800       OpdsMapping[5] = nullptr;
 2801       OpdsMapping[6] = nullptr;
 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);
 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);
 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);
 2930       OpdsMapping[0] = AMDGPU::getValueMappingSGPR64Only(Bank, Size);
 2931       OpdsMapping[1] = AMDGPU::getValueMapping(CondBank, 1);
 2932       OpdsMapping[2] = AMDGPU::getValueMappingSGPR64Only(Bank, Size);
 2933       OpdsMapping[3] = AMDGPU::getValueMappingSGPR64Only(Bank, Size);
 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);
 2977                                getOperandsMapping(OpdsMapping),