Lines Matching refs:ScratchReg
615 unsigned ScratchReg = isPPC64 ? PPC::X0 : PPC::R0; in emitPrologue() local
689 BuildMI(MBB, MBBI, dl, MFLRInst, ScratchReg); in emitPrologue()
728 .addReg(ScratchReg) in emitPrologue()
753 BuildMI(MBB, MBBI, dl, TII.get(PPC::RLDICL), ScratchReg) in emitPrologue()
758 BuildMI(MBB, MBBI, dl, TII.get(PPC::RLWINM), ScratchReg) in emitPrologue()
764 BuildMI(MBB, MBBI, dl, SubtractImmCarryingInst, ScratchReg) in emitPrologue()
765 .addReg(ScratchReg, RegState::Kill) in emitPrologue()
773 BuildMI(MBB, MBBI, dl, SubtractCarryingInst, ScratchReg) in emitPrologue()
774 .addReg(ScratchReg, RegState::Kill) in emitPrologue()
780 .addReg(ScratchReg); in emitPrologue()
789 BuildMI(MBB, MBBI, dl, LoadImmShiftedInst, ScratchReg) in emitPrologue()
791 BuildMI(MBB, MBBI, dl, OrImmInst, ScratchReg) in emitPrologue()
792 .addReg(ScratchReg, RegState::Kill) in emitPrologue()
797 .addReg(ScratchReg); in emitPrologue()
961 unsigned ScratchReg = isPPC64 ? PPC::X0 : PPC::R0; in emitEpilogue() local
1049 BuildMI(MBB, MBBI, dl, LoadImmShiftedInst, ScratchReg) in emitEpilogue()
1051 BuildMI(MBB, MBBI, dl, OrImmInst, ScratchReg) in emitEpilogue()
1052 .addReg(ScratchReg, RegState::Kill) in emitEpilogue()
1057 .addReg(ScratchReg); in emitEpilogue()
1072 BuildMI(MBB, MBBI, dl, LoadInst, ScratchReg) in emitEpilogue()
1107 BuildMI(MBB, MBBI, dl, MTLRInst).addReg(ScratchReg); in emitEpilogue()
1121 BuildMI(MBB, MBBI, dl, LoadImmShiftedInst, ScratchReg) in emitEpilogue()
1123 BuildMI(MBB, MBBI, dl, OrImmInst, ScratchReg) in emitEpilogue()
1124 .addReg(ScratchReg, RegState::Kill) in emitEpilogue()
1129 .addReg(ScratchReg); in emitEpilogue()