Home | History | Annotate | Download | only in MSP430

Lines Matching full:msp430

1 //===-- MSP430FrameLowering.cpp - MSP430 Frame Information ----------------===//
10 // This file contains the MSP430 implementation of TargetFrameLowering class.
68 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r))
69 .addReg(MSP430::FP, RegState::Kill);
72 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FP)
73 .addReg(MSP430::SP);
78 I->addLiveIn(MSP430::FP);
84 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r))
100 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP)
101 .addReg(MSP430::SP).addImm(NumBytes);
120 case MSP430::RET:
121 case MSP430::RETI: break; // These are ok
137 BuildMI(MBB, MBBI, DL, TII.get(MSP430::POP16r), MSP430::FP);
145 if (Opc != MSP430::POP16r && !PI->isTerminator())
159 TII.get(MSP430::MOV16rr), MSP430::SP).addReg(MSP430::FP);
163 TII.get(MSP430::SUB16ri), MSP430::SP)
164 .addReg(MSP430::SP).addImm(CSSize);
172 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SP)
173 .addReg(MSP430::SP).addImm(NumBytes);
201 BuildMI(MBB, MI, DL, TII.get(MSP430::PUSH16r))
222 BuildMI(MBB, MI, DL, TII.get(MSP430::POP16r), CSI[i].getReg());
250 TII.get(MSP430::SUB16ri), MSP430::SP)
251 .addReg(MSP430::SP).addImm(Amount);
259 TII.get(MSP430::ADD16ri), MSP430::SP)
260 .addReg(MSP430::SP).addImm(Amount);
277 BuildMI(MF, Old->getDebugLoc(), TII.get(MSP430::SUB16ri),
278 MSP430::SP).addReg(MSP430::SP).addImm(CalleeAmt);