Lines Matching refs:RBI
36 const ARMRegisterBankInfo &RBI);
76 const ARMRegisterBankInfo &RBI; member in __anon9959c9ef0111::ARMInstructionSelector
162 const ARMRegisterBankInfo &RBI) { in createARMInstructionSelector() argument
163 return new ARMInstructionSelector(TM, STI, RBI); in createARMInstructionSelector()
173 const ARMRegisterBankInfo &RBI) in ARMInstructionSelector() argument
175 TRI(*STI.getRegisterInfo()), TM(TM), RBI(RBI), STI(STI), Opcodes(STI), in ARMInstructionSelector()
188 const RegisterBankInfo &RBI) { in guessRegClass() argument
189 const RegisterBank *RegBank = RBI.getRegBank(Reg, MRI, TRI); in guessRegClass()
213 const RegisterBankInfo &RBI) { in selectCopy() argument
218 const TargetRegisterClass *RC = guessRegClass(DstReg, MRI, TRI, RBI); in selectCopy()
223 if (!RBI.constrainGenericRegister(DstReg, *RC, MRI)) { in selectCopy()
235 const RegisterBankInfo &RBI) { in selectMergeValues() argument
243 RBI.getRegBank(VReg0, MRI, TRI)->getID() == ARM::FPRRegBankID && in selectMergeValues()
248 RBI.getRegBank(VReg1, MRI, TRI)->getID() == ARM::GPRRegBankID && in selectMergeValues()
253 RBI.getRegBank(VReg2, MRI, TRI)->getID() == ARM::GPRRegBankID && in selectMergeValues()
266 const RegisterBankInfo &RBI) { in selectUnmergeValues() argument
275 RBI.getRegBank(VReg0, MRI, TRI)->getID() == ARM::GPRRegBankID && in selectUnmergeValues()
280 RBI.getRegBank(VReg1, MRI, TRI)->getID() == ARM::GPRRegBankID && in selectUnmergeValues()
285 RBI.getRegBank(VReg2, MRI, TRI)->getID() == ARM::FPRRegBankID && in selectUnmergeValues()
518 if (RBI.getRegBank(Reg, MRI, TRI)->getID() != ExpectedRegBankID) { in validReg()
584 if (!constrainSelectedInstRegOperands(*CmpI, TII, TRI, RBI)) in insertComparison()
592 if (!constrainSelectedInstRegOperands(*ReadI, TII, TRI, RBI)) in insertComparison()
603 if (!constrainSelectedInstRegOperands(*Mov1I, TII, TRI, RBI)) in insertComparison()
702 if (!constrainSelectedInstRegOperands(*MIBLoad, TII, TRI, RBI)) in selectGlobal()
709 return constrainSelectedInstRegOperands(*MIB, TII, TRI, RBI); in selectGlobal()
716 return constrainSelectedInstRegOperands(*MIB, TII, TRI, RBI); in selectGlobal()
731 if (!constrainSelectedInstRegOperands(*OffsetMIB, TII, TRI, RBI)) in selectGlobal()
742 return constrainSelectedInstRegOperands(*MIB, TII, TRI, RBI); in selectGlobal()
764 return constrainSelectedInstRegOperands(*MIB, TII, TRI, RBI); in selectGlobal()
781 if (!constrainSelectedInstRegOperands(*CmpI, TII, TRI, RBI)) in selectSelect()
797 if (!constrainSelectedInstRegOperands(*Mov1I, TII, TRI, RBI)) in selectSelect()
810 return constrainSelectedInstRegOperands(*MIB, TII, TRI, RBI); in selectShift()
848 return selectCopy(I, TII, MRI, TRI, RBI); in select()
892 if (!constrainSelectedInstRegOperands(*SubI, TII, TRI, RBI)) in select()
919 const auto &SrcRegBank = *RBI.getRegBank(SrcReg, MRI, TRI); in select()
920 const auto &DstRegBank = *RBI.getRegBank(DstReg, MRI, TRI); in select()
940 if (!constrainSelectedInstRegOperands(*MovI, TII, TRI, RBI)) in select()
959 return selectCopy(I, TII, MRI, TRI, RBI); in select()
1014 const auto &SrcRegBank = *RBI.getRegBank(SrcReg, MRI, TRI); in select()
1015 const auto &DstRegBank = *RBI.getRegBank(DstReg, MRI, TRI); in select()
1031 return selectCopy(I, TII, MRI, TRI, RBI); in select()
1087 unsigned RegBank = RBI.getRegBank(Reg, MRI, TRI)->getID(); in select()
1113 if (!constrainSelectedInstRegOperands(*AndI, TII, TRI, RBI)) in select()
1126 if (!selectMergeValues(MIB, TII, MRI, TRI, RBI)) in select()
1131 if (!selectUnmergeValues(MIB, TII, MRI, TRI, RBI)) in select()
1147 if (!constrainSelectedInstRegOperands(*Test, TII, TRI, RBI)) in select()
1155 if (!constrainSelectedInstRegOperands(*Branch, TII, TRI, RBI)) in select()
1164 const TargetRegisterClass *RC = guessRegClass(DstReg, MRI, TRI, RBI); in select()
1165 if (!RBI.constrainGenericRegister(DstReg, *RC, MRI)) { in select()
1175 return constrainSelectedInstRegOperands(I, TII, TRI, RBI); in select()