Home | History | Annotate | Download | only in MSP430

Lines Matching refs:MSP430

1 //===-- MSP430FrameLowering.cpp - MSP430 Frame Information ----------------===//
10 // This file contains the MSP430 implementation of TargetFrameLowering class.
67 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r))
68 .addReg(MSP430::FP, RegState::Kill);
71 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FP)
72 .addReg(MSP430::SP);
77 I->addLiveIn(MSP430::FP);
83 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r))
99 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP)
100 .addReg(MSP430::SP).addImm(NumBytes);
119 case MSP430::RET:
120 case MSP430::RETI: break; // These are ok
136 BuildMI(MBB, MBBI, DL, TII.get(MSP430::POP16r), MSP430::FP);
144 if (Opc != MSP430::POP16r && !PI->isTerminator())
158 TII.get(MSP430::MOV16rr), MSP430::SP).addReg(MSP430::FP);
162 TII.get(MSP430::SUB16ri), MSP430::SP)
163 .addReg(MSP430::SP).addImm(CSSize);
171 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SP)
172 .addReg(MSP430::SP).addImm(NumBytes);
200 BuildMI(MBB, MI, DL, TII.get(MSP430::PUSH16r))
221 BuildMI(MBB, MI, DL, TII.get(MSP430::POP16r), CSI[i].getReg());
249 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP)
250 .addReg(MSP430::SP)
258 New = BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::ADD16ri),
259 MSP430::SP)
260 .addReg(MSP430::SP)
278 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP)
279 .addReg(MSP430::SP)