Lines Matching refs:addReg

250                          .addReg(Reg, RegState::Kill)  in emitAligningInstructions()
255 .addReg(Reg, RegState::Kill) in emitAligningInstructions()
264 .addReg(Reg, RegState::Kill) in emitAligningInstructions()
268 .addReg(Reg, RegState::Kill) in emitAligningInstructions()
276 .addReg(Reg, RegState::Kill) in emitAligningInstructions()
454 .addImm((unsigned)ARMCC::AL).addReg(0) in emitPrologue()
456 .addReg(ARM::R4, RegState::Implicit) in emitPrologue()
466 .addImm((unsigned)ARMCC::AL).addReg(0) in emitPrologue()
467 .addReg(ARM::R12, RegState::Kill) in emitPrologue()
468 .addReg(ARM::R4, RegState::Implicit) in emitPrologue()
475 .addReg(ARM::SP, RegState::Define) in emitPrologue()
476 .addReg(ARM::R4, RegState::Kill) in emitPrologue()
649 .addReg(ARM::SP, RegState::Kill)); in emitPrologue()
653 .addReg(ARM::R4, RegState::Kill)); in emitPrologue()
668 .addReg(ARM::SP) in emitPrologue()
669 .addImm((unsigned)ARMCC::AL).addReg(0).addReg(0); in emitPrologue()
673 .addReg(ARM::SP)); in emitPrologue()
716 if (STI.isThumb()) MIB.addImm(ARMCC::AL).addReg(0); in fixTCReturn()
720 addReg(JumpTarget.getReg(), RegState::Kill); in fixTCReturn()
800 .addReg(ARM::R4)); in emitEpilogue()
806 .addReg(FramePtr).addImm((unsigned)ARMCC::AL).addReg(0).addReg(0); in emitEpilogue()
810 .addReg(FramePtr)); in emitEpilogue()
986 .addReg(ARM::SP).setMIFlags(MIFlags)); in emitPushInst()
988 MIB.addReg(Regs[i].first, getKillRegState(Regs[i].second)); in emitPushInst()
992 .addReg(Regs[0].first, getKillRegState(Regs[0].second)) in emitPushInst()
993 .addReg(ARM::SP).setMIFlags(MIFlags) in emitPushInst()
1059 .addReg(ARM::SP)); in emitPopInst()
1061 MIB.addReg(Regs[i], getDefRegState(true)); in emitPopInst()
1074 .addReg(ARM::SP, RegState::Define) in emitPopInst()
1075 .addReg(ARM::SP); in emitPopInst()
1079 MIB.addReg(0); in emitPopInst()
1144 .addReg(ARM::SP) in emitAlignedDPRCS2Spills()
1161 .addReg(ARM::R4); in emitAlignedDPRCS2Spills()
1178 .addReg(ARM::R4, RegState::Kill).addImm(16) in emitAlignedDPRCS2Spills()
1179 .addReg(NextReg) in emitAlignedDPRCS2Spills()
1180 .addReg(SupReg, RegState::ImplicitKill)); in emitAlignedDPRCS2Spills()
1195 .addReg(ARM::R4).addImm(16).addReg(NextReg) in emitAlignedDPRCS2Spills()
1196 .addReg(SupReg, RegState::ImplicitKill)); in emitAlignedDPRCS2Spills()
1207 .addReg(ARM::R4).addImm(16).addReg(SupReg)); in emitAlignedDPRCS2Spills()
1217 .addReg(NextReg) in emitAlignedDPRCS2Spills()
1218 .addReg(ARM::R4).addImm((NextReg-R4BaseReg)*2)); in emitAlignedDPRCS2Spills()
1294 .addReg(ARM::R4, RegState::Define) in emitAlignedDPRCS2Restores()
1295 .addReg(ARM::R4, RegState::Kill).addImm(16) in emitAlignedDPRCS2Restores()
1296 .addReg(SupReg, RegState::ImplicitDefine)); in emitAlignedDPRCS2Restores()
1310 .addReg(ARM::R4).addImm(16) in emitAlignedDPRCS2Restores()
1311 .addReg(SupReg, RegState::ImplicitDefine)); in emitAlignedDPRCS2Restores()
1321 .addReg(ARM::R4).addImm(16)); in emitAlignedDPRCS2Restores()
1329 .addReg(ARM::R4).addImm(2*(NextReg-R4BaseReg))); in emitAlignedDPRCS2Restores()
1937 .addReg(ScratchReg0).addReg(ScratchReg1); in adjustForSegmentedStacks()
1940 .addReg(ARM::SP, RegState::Define).addReg(ARM::SP)) in adjustForSegmentedStacks()
1941 .addReg(ScratchReg0).addReg(ScratchReg1); in adjustForSegmentedStacks()
1962 .addReg(ARM::SP)); in adjustForSegmentedStacks()
1965 .addReg(ARM::SP)).addReg(0); in adjustForSegmentedStacks()
1972 .addReg(ScratchReg1).addImm(AlignedStackSize)); in adjustForSegmentedStacks()
1975 .addReg(ARM::SP).addImm(AlignedStackSize)).addReg(0); in adjustForSegmentedStacks()
1991 .addReg(ScratchReg0).addImm(0)); in adjustForSegmentedStacks()
2009 .addReg(ScratchReg0).addImm(4 * TlsOffset)); in adjustForSegmentedStacks()
2016 .addReg(ScratchReg0) in adjustForSegmentedStacks()
2017 .addReg(ScratchReg1)); in adjustForSegmentedStacks()
2023 .addReg(ARM::CPSR); in adjustForSegmentedStacks()
2037 .addImm(AlignedStackSize)).addReg(0); in adjustForSegmentedStacks()
2048 .addReg(0); in adjustForSegmentedStacks()
2054 .addReg(ARM::LR); in adjustForSegmentedStacks()
2057 .addReg(ARM::SP, RegState::Define) in adjustForSegmentedStacks()
2058 .addReg(ARM::SP)) in adjustForSegmentedStacks()
2059 .addReg(ARM::LR); in adjustForSegmentedStacks()
2086 .addReg(ScratchReg0); in adjustForSegmentedStacks()
2088 .addReg(ScratchReg0)); in adjustForSegmentedStacks()
2091 .addReg(ARM::LR, RegState::Define) in adjustForSegmentedStacks()
2092 .addReg(ARM::SP, RegState::Define) in adjustForSegmentedStacks()
2093 .addReg(ARM::SP) in adjustForSegmentedStacks()
2098 .addReg(ARM::SP, RegState::Define) in adjustForSegmentedStacks()
2099 .addReg(ARM::SP)) in adjustForSegmentedStacks()
2100 .addReg(ARM::LR); in adjustForSegmentedStacks()
2109 .addReg(ScratchReg0) in adjustForSegmentedStacks()
2110 .addReg(ScratchReg1); in adjustForSegmentedStacks()
2113 .addReg(ARM::SP, RegState::Define) in adjustForSegmentedStacks()
2114 .addReg(ARM::SP)) in adjustForSegmentedStacks()
2115 .addReg(ScratchReg0) in adjustForSegmentedStacks()
2116 .addReg(ScratchReg1); in adjustForSegmentedStacks()
2132 .addReg(ScratchReg0) in adjustForSegmentedStacks()
2133 .addReg(ScratchReg1); in adjustForSegmentedStacks()
2136 .addReg(ARM::SP, RegState::Define) in adjustForSegmentedStacks()
2137 .addReg(ARM::SP)) in adjustForSegmentedStacks()
2138 .addReg(ScratchReg0) in adjustForSegmentedStacks()
2139 .addReg(ScratchReg1); in adjustForSegmentedStacks()