• Home
  • Raw
  • Download

Lines Matching refs:DstReg

109                           const unsigned DstReg,
122 bool emitInsertSubreg(unsigned DstReg, unsigned SrcReg, MachineInstr &I,
125 bool emitExtractSubreg(unsigned DstReg, unsigned SrcReg, MachineInstr &I,
234 Register DstReg = I.getOperand(0).getReg(); in selectCopy() local
235 const unsigned DstSize = RBI.getSizeInBits(DstReg, MRI, TRI); in selectCopy()
236 const RegisterBank &DstRegBank = *RBI.getRegBank(DstReg, MRI, TRI); in selectCopy()
242 if (DstReg.isPhysical()) { in selectCopy()
250 const TargetRegisterClass *DstRC = getRegClassFromGRPhysReg(DstReg); in selectCopy()
279 getRegClass(MRI.getType(DstReg), DstRegBank); in selectCopy()
297 const TargetRegisterClass *OldRC = MRI.getRegClassOrNull(DstReg); in selectCopy()
299 if (!RBI.constrainGenericRegister(DstReg, *DstRC, MRI)) { in selectCopy()
692 MachineInstr &I, MachineRegisterInfo &MRI, const unsigned DstReg, in selectTurnIntoCOPY() argument
697 !RBI.constrainGenericRegister(DstReg, *DstRC, MRI)) { in selectTurnIntoCOPY()
713 const Register DstReg = I.getOperand(0).getReg(); in selectTruncOrPtrToInt() local
716 const LLT DstTy = MRI.getType(DstReg); in selectTruncOrPtrToInt()
719 const RegisterBank &DstRB = *RBI.getRegBank(DstReg, MRI, TRI); in selectTruncOrPtrToInt()
738 return selectTurnIntoCOPY(I, MRI, DstReg, DstRC, SrcReg, SrcRC); in selectTruncOrPtrToInt()
760 !RBI.constrainGenericRegister(DstReg, *DstRC, MRI)) { in selectTruncOrPtrToInt()
777 const Register DstReg = I.getOperand(0).getReg(); in selectZext() local
780 const LLT DstTy = MRI.getType(DstReg); in selectZext()
814 MRI.createVirtualRegister(getRegClass(DstTy, DstReg, MRI)); in selectZext()
818 DefReg = MRI.createVirtualRegister(getRegClass(DstTy, DstReg, MRI)); in selectZext()
827 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(AndOpc), DstReg) in selectZext()
842 const Register DstReg = I.getOperand(0).getReg(); in selectAnyext() local
845 const LLT DstTy = MRI.getType(DstReg); in selectAnyext()
848 const RegisterBank &DstRB = *RBI.getRegBank(DstReg, MRI, TRI); in selectAnyext()
864 return selectTurnIntoCOPY(I, MRI, SrcReg, SrcRC, DstReg, DstRC); in selectAnyext()
870 !RBI.constrainGenericRegister(DstReg, *DstRC, MRI)) { in selectAnyext()
883 .addDef(DstReg) in selectAnyext()
1039 const Register DstReg = I.getOperand(0).getReg(); in selectUadde() local
1045 const LLT DstTy = MRI.getType(DstReg); in selectUadde()
1078 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opcode), DstReg) in selectUadde()
1099 const Register DstReg = I.getOperand(0).getReg(); in selectExtract() local
1103 const LLT DstTy = MRI.getType(DstReg); in selectExtract()
1115 if (!emitExtractSubreg(DstReg, SrcReg, I, MRI, MF)) in selectExtract()
1150 bool X86InstructionSelector::emitExtractSubreg(unsigned DstReg, unsigned SrcReg, in emitExtractSubreg() argument
1154 const LLT DstTy = MRI.getType(DstReg); in emitExtractSubreg()
1171 const TargetRegisterClass *DstRC = getRegClass(DstTy, DstReg, MRI); in emitExtractSubreg()
1177 !RBI.constrainGenericRegister(DstReg, *DstRC, MRI)) { in emitExtractSubreg()
1182 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(X86::COPY), DstReg) in emitExtractSubreg()
1188 bool X86InstructionSelector::emitInsertSubreg(unsigned DstReg, unsigned SrcReg, in emitInsertSubreg() argument
1192 const LLT DstTy = MRI.getType(DstReg); in emitInsertSubreg()
1211 const TargetRegisterClass *DstRC = getRegClass(DstTy, DstReg, MRI); in emitInsertSubreg()
1214 !RBI.constrainGenericRegister(DstReg, *DstRC, MRI)) { in emitInsertSubreg()
1220 .addReg(DstReg, RegState::DefineNoRead, SubIdx) in emitInsertSubreg()
1231 const Register DstReg = I.getOperand(0).getReg(); in selectInsert() local
1236 const LLT DstTy = MRI.getType(DstReg); in selectInsert()
1248 if (!emitInsertSubreg(DstReg, InsertReg, I, MRI, MF)) in selectInsert()
1316 Register DstReg = I.getOperand(0).getReg(); in selectMergeValues() local
1319 const LLT DstTy = MRI.getType(DstReg); in selectMergeValues()
1323 const RegisterBank &RegBank = *RBI.getRegBank(DstReg, MRI, TRI); in selectMergeValues()
1348 TII.get(TargetOpcode::COPY), DstReg) in selectMergeValues()
1390 const Register DstReg = I.getOperand(0).getReg(); in materializeFP() local
1391 const LLT DstTy = MRI.getType(DstReg); in materializeFP()
1392 const RegisterBank &RegBank = *RBI.getRegBank(DstReg, MRI, TRI); in materializeFP()
1418 addDirectMem(BuildMI(*I.getParent(), I, DbgLoc, TII.get(Opc), DstReg), in materializeFP()
1436 BuildMI(*I.getParent(), I, DbgLoc, TII.get(Opc), DstReg), CPI, PICBase, in materializeFP()
1452 Register DstReg = I.getOperand(0).getReg(); in selectImplicitDefOrPHI() local
1454 if (!MRI.getRegClassOrNull(DstReg)) { in selectImplicitDefOrPHI()
1455 const LLT DstTy = MRI.getType(DstReg); in selectImplicitDefOrPHI()
1456 const TargetRegisterClass *RC = getRegClass(DstTy, DstReg, MRI); in selectImplicitDefOrPHI()
1458 if (!RBI.constrainGenericRegister(DstReg, *RC, MRI)) { in selectImplicitDefOrPHI()
1483 const Register DstReg = I.getOperand(0).getReg(); in selectDivRem() local
1487 const LLT RegTy = MRI.getType(DstReg); in selectDivRem()
1491 const RegisterBank *RegRB = RBI.getRegBank(DstReg, MRI, TRI); in selectDivRem()
1593 !RBI.constrainGenericRegister(DstReg, *RegRC, MRI)) { in selectDivRem()
1661 .addDef(DstReg) in selectDivRem()
1667 DstReg) in selectDivRem()