Lines Matching refs:addReg

353         .addReg(SrcReg)  in HandleVRSaveUpdate()
357 .addReg(SrcReg, RegState::Kill) in HandleVRSaveUpdate()
362 .addReg(SrcReg) in HandleVRSaveUpdate()
366 .addReg(SrcReg, RegState::Kill) in HandleVRSaveUpdate()
371 .addReg(SrcReg) in HandleVRSaveUpdate()
375 .addReg(SrcReg, RegState::Kill) in HandleVRSaveUpdate()
379 .addReg(DstReg, RegState::Kill) in HandleVRSaveUpdate()
701 MIB.addReg(MustSaveCRs[i], RegState::ImplicitKill); in emitPrologue()
707 .addReg(FPReg) in emitPrologue()
709 .addReg(SPReg); in emitPrologue()
714 .addReg(PPC::R30) in emitPrologue()
716 .addReg(SPReg); in emitPrologue()
721 .addReg(BPReg) in emitPrologue()
723 .addReg(SPReg); in emitPrologue()
728 .addReg(ScratchReg) in emitPrologue()
730 .addReg(SPReg); in emitPrologue()
734 .addReg(TempReg, getKillRegState(true)) in emitPrologue()
736 .addReg(SPReg); in emitPrologue()
747 .addReg(SPReg) in emitPrologue()
748 .addReg(SPReg); in emitPrologue()
754 .addReg(SPReg) in emitPrologue()
759 .addReg(SPReg) in emitPrologue()
765 .addReg(ScratchReg, RegState::Kill) in emitPrologue()
771 .addReg(TempReg, RegState::Kill) in emitPrologue()
774 .addReg(ScratchReg, RegState::Kill) in emitPrologue()
775 .addReg(TempReg, RegState::Kill); in emitPrologue()
778 .addReg(SPReg, RegState::Kill) in emitPrologue()
779 .addReg(SPReg) in emitPrologue()
780 .addReg(ScratchReg); in emitPrologue()
784 .addReg(SPReg) in emitPrologue()
786 .addReg(SPReg); in emitPrologue()
792 .addReg(ScratchReg, RegState::Kill) in emitPrologue()
795 .addReg(SPReg, RegState::Kill) in emitPrologue()
796 .addReg(SPReg) in emitPrologue()
797 .addReg(ScratchReg); in emitPrologue()
860 .addReg(SPReg) in emitPrologue()
861 .addReg(SPReg); in emitPrologue()
1047 .addReg(FPReg).addImm(FrameSize); in emitEpilogue()
1052 .addReg(ScratchReg, RegState::Kill) in emitEpilogue()
1055 .addReg(SPReg) in emitEpilogue()
1056 .addReg(FPReg) in emitEpilogue()
1057 .addReg(ScratchReg); in emitEpilogue()
1061 .addReg(SPReg) in emitEpilogue()
1066 .addReg(SPReg); in emitEpilogue()
1074 .addReg(SPReg); in emitEpilogue()
1082 .addReg(SPReg); in emitEpilogue()
1087 .addReg(SPReg); in emitEpilogue()
1092 .addReg(PPC::R30) in emitEpilogue()
1094 .addReg(SPReg); in emitEpilogue()
1099 .addReg(SPReg); in emitEpilogue()
1104 .addReg(TempReg, getKillRegState(i == e-1)); in emitEpilogue()
1107 BuildMI(MBB, MBBI, dl, MTLRInst).addReg(ScratchReg); in emitEpilogue()
1119 .addReg(SPReg).addImm(CallerAllocatedAmt); in emitEpilogue()
1124 .addReg(ScratchReg, RegState::Kill) in emitEpilogue()
1127 .addReg(SPReg) in emitEpilogue()
1128 .addReg(FPReg) in emitEpilogue()
1129 .addReg(ScratchReg); in emitEpilogue()
1515 CRMIB.addReg(Reg, RegState::ImplicitKill); in spillCalleeSavedRegisters()
1532 .addReg(Reg, RegState::ImplicitKill); in spillCalleeSavedRegisters()
1536 .addReg(PPC::R12, in spillCalleeSavedRegisters()
1574 .addReg(MoveReg, getKillRegState(!CR3Spilled && !CR4Spilled))); in restoreCRs()
1578 .addReg(MoveReg, getKillRegState(!CR4Spilled))); in restoreCRs()
1582 .addReg(MoveReg, getKillRegState(true))); in restoreCRs()
1606 .addReg(StackReg, RegState::Kill) in eliminateCallFramePseudoInstr()
1613 .addReg(TmpReg, RegState::Kill) in eliminateCallFramePseudoInstr()
1616 .addReg(StackReg, RegState::Kill) in eliminateCallFramePseudoInstr()
1617 .addReg(TmpReg); in eliminateCallFramePseudoInstr()