Lines Matching full:msp430

1 //===-- MSP430FrameLowering.cpp - MSP430 Frame Information ----------------===//
9 // This file contains the MSP430 implementation of TargetFrameLowering class.
110 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r))
111 .addReg(MSP430::R4, RegState::Kill)
121 unsigned DwarfFramePtr = TRI->getDwarfRegNum(MSP430::R4, true);
128 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::R4)
129 .addReg(MSP430::SP)
140 MBBJ.addLiveIn(MSP430::R4);
147 (MBBI->getOpcode() == MSP430::PUSH16r)) {
174 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP)
175 .addReg(MSP430::SP)
205 case MSP430::RET:
206 case MSP430::RETI: break; // These are ok
223 BuildMI(MBB, MBBI, DL, TII.get(MSP430::POP16r), MSP430::R4)
225 unsigned DwarfStackPtr = TRI->getDwarfRegNum(MSP430::SP, true);
231 unsigned DwarfFramePtr = TRI->getDwarfRegNum(MSP430::R4, true);
246 if ((Opc != MSP430::POP16r || !PI->getFlag(MachineInstr::FrameDestroy)) &&
262 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::SP)
263 .addReg(MSP430::R4)
267 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP)
268 .addReg(MSP430::SP)
278 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SP)
279 .addReg(MSP430::SP)
303 if (Opc == MSP430::POP16r) {
333 BuildMI(MBB, MI, DL, TII.get(MSP430::PUSH16r))
353 BuildMI(MBB, MI, DL, TII.get(MSP430::POP16r), I.getReg())
380 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP)
381 .addReg(MSP430::SP)
388 New = BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::ADD16ri),
389 MSP430::SP)
390 .addReg(MSP430::SP)
408 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP)
409 .addReg(MSP430::SP)