Lines Matching refs:MSP430
66 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue()
67 .addReg(MSP430::R4, RegState::Kill); in emitPrologue()
70 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::R4) in emitPrologue()
71 .addReg(MSP430::SP); in emitPrologue()
76 I->addLiveIn(MSP430::R4); in emitPrologue()
82 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r)) in emitPrologue()
98 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP) in emitPrologue()
99 .addReg(MSP430::SP).addImm(NumBytes); in emitPrologue()
118 case MSP430::RET: in emitEpilogue()
119 case MSP430::RETI: break; // These are ok in emitEpilogue()
135 BuildMI(MBB, MBBI, DL, TII.get(MSP430::POP16r), MSP430::R4); in emitEpilogue()
143 if (Opc != MSP430::POP16r && !PI->isTerminator()) in emitEpilogue()
157 TII.get(MSP430::MOV16rr), MSP430::SP).addReg(MSP430::R4); in emitEpilogue()
161 TII.get(MSP430::SUB16ri), MSP430::SP) in emitEpilogue()
162 .addReg(MSP430::SP).addImm(CSSize); in emitEpilogue()
170 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SP) in emitEpilogue()
171 .addReg(MSP430::SP).addImm(NumBytes); in emitEpilogue()
197 BuildMI(MBB, MI, DL, TII.get(MSP430::PUSH16r)) in spillCalleeSavedRegisters()
216 BuildMI(MBB, MI, DL, TII.get(MSP430::POP16r), CSI[i].getReg()); in restoreCalleeSavedRegisters()
242 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()
243 .addReg(MSP430::SP) in eliminateCallFramePseudoInstr()
250 New = BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::ADD16ri), in eliminateCallFramePseudoInstr()
251 MSP430::SP) in eliminateCallFramePseudoInstr()
252 .addReg(MSP430::SP) in eliminateCallFramePseudoInstr()
270 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()
271 .addReg(MSP430::SP) in eliminateCallFramePseudoInstr()