Lines Matching refs:getReg
203 unsigned R = Op.getReg(); in isFixedInstr()
252 unsigned T = MO.getReg(); in partitionRegisters()
410 if (Op.isReg() && Part.count(Op.getReg())) in isProfitable()
469 unsigned PR = Cond[1].getReg(); in collectIndRegsForLoop()
477 CmpI = MRI->getVRegDef(CmpI->getOperand(1).getReg()); in collectIndRegsForLoop()
504 unsigned R = MD.getReg(); in collectIndRegsForLoop()
520 unsigned T = UseI->getOperand(0).getReg(); in collectIndRegsForLoop()
573 unsigned R = Op.getReg(); in createHalfInstr()
614 UUPairMap::const_iterator F = PairMap.find(ValOp.getReg()); in splitMemRef()
621 .addReg(AdrOp.getReg(), RSA & ~RegState::Kill, AdrOp.getSubReg()) in splitMemRef()
624 .addReg(AdrOp.getReg(), RSA & ~RegState::Kill, AdrOp.getSubReg()) in splitMemRef()
630 .addReg(AdrOp.getReg(), RSA & ~RegState::Kill, AdrOp.getSubReg()) in splitMemRef()
634 .addReg(AdrOp.getReg(), RSA & ~RegState::Kill, AdrOp.getSubReg()) in splitMemRef()
644 const TargetRegisterClass *RC = MRI->getRegClass(UpdOp.getReg()); in splitMemRef()
648 .addReg(AdrOp.getReg(), RSA) in splitMemRef()
650 MRI->replaceRegWith(UpdOp.getReg(), NewR); in splitMemRef()
678 UUPairMap::const_iterator F = PairMap.find(Op0.getReg()); in splitImmediate()
706 UUPairMap::const_iterator F = PairMap.find(Op0.getReg()); in splitCombine()
715 .addReg(Op1.getReg(), getRegState(Op1), Op1.getSubReg()); in splitCombine()
724 .addReg(Op2.getReg(), getRegState(Op2), Op2.getSubReg()); in splitCombine()
738 UUPairMap::const_iterator F = PairMap.find(Op0.getReg()); in splitExt()
744 .addReg(Op1.getReg(), RS & ~RegState::Kill, Op1.getSubReg()); in splitExt()
746 .addReg(Op1.getReg(), RS, Op1.getSubReg()) in splitExt()
761 UUPairMap::const_iterator F = PairMap.find(Op0.getReg()); in splitShift()
784 .addReg(Op1.getReg(), RS & ~RegState::Kill, LoSR); in splitShift()
786 .addReg(Op1.getReg(), RS, HiSR); in splitShift()
809 .addReg(Op1.getReg(), RS & ~RegState::Kill, LoSR); in splitShift()
812 .addReg(Op1.getReg(), RS & ~RegState::Kill, LoSR); in splitShift()
815 .addReg(Op1.getReg(), RS & ~RegState::Kill, LoSR) in splitShift()
821 .addReg(Op1.getReg(), RS & ~RegState::Kill, LoSR) in splitShift()
827 .addReg(Op1.getReg(), RS, HiSR) in splitShift()
832 .addReg(Op1.getReg(), RS & ~RegState::Kill, HiSR) in splitShift()
837 .addReg(Op1.getReg(), RS, HiSR) in splitShift()
843 .addReg(Op1.getReg(), RS & ~RegState::Kill, (Left ? LoSR : HiSR)); in splitShift()
849 .addReg(Op1.getReg(), RS, HiSR) in splitShift()
855 .addReg(Op1.getReg(), RS & ~RegState::Kill, LoSR); in splitShift()
858 .addReg(Op1.getReg(), RS & ~RegState::Kill, HiSR); in splitShift()
861 .addReg(Op1.getReg(), RS & ~RegState::Kill, (Left ? LoSR : HiSR)) in splitShift()
866 .addReg(Op1.getReg(), RS, HiSR) in splitShift()
886 UUPairMap::const_iterator F = PairMap.find(Op0.getReg()); in splitAslOr()
919 .addReg(Op1.getReg(), RS1 & ~RegState::Kill, LoSR) in splitAslOr()
920 .addReg(Op2.getReg(), RS2 & ~RegState::Kill, LoSR); in splitAslOr()
922 .addReg(Op1.getReg(), RS1, HiSR) in splitAslOr()
923 .addReg(Op2.getReg(), RS2, HiSR); in splitAslOr()
926 .addReg(Op1.getReg(), RS1 & ~RegState::Kill, LoSR) in splitAslOr()
927 .addReg(Op2.getReg(), RS2 & ~RegState::Kill, LoSR) in splitAslOr()
931 .addReg(Op2.getReg(), RS2 & ~RegState::Kill, LoSR) in splitAslOr()
936 .addReg(Op1.getReg(), RS1, HiSR) in splitAslOr()
940 .addReg(Op2.getReg(), RS2, HiSR) in splitAslOr()
948 .addReg(Op1.getReg(), RS1 & ~RegState::Kill, LoSR); in splitAslOr()
950 .addReg(Op1.getReg(), RS1, HiSR) in splitAslOr()
951 .addReg(Op2.getReg(), RS2, LoSR); in splitAslOr()
959 .addReg(Op1.getReg(), RS1 & ~RegState::Kill, LoSR); in splitAslOr()
961 .addReg(Op1.getReg(), RS1, HiSR) in splitAslOr()
962 .addReg(Op2.getReg(), RS2, LoSR) in splitAslOr()
978 unsigned DstR = MI->getOperand(0).getReg(); in splitInstr()
1056 unsigned R = Op.getReg(); in replaceSubregUses()
1082 unsigned R = Op.getReg(); in collapseRegPairs()