Lines Matching refs:SP
73 .addReg(MSP430::SP);
90 if (NumBytes) { // adjust stack pointer: SP -= numbytes
91 // If there is an SUB16ri of SP immediately before this instruction, merge
94 // If there is an ADD16ri or SUB16ri of SP immediately after this
100 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP)
101 .addReg(MSP430::SP).addImm(NumBytes);
152 // If there is an ADD16ri or SUB16ri of SP immediately before this
159 TII.get(MSP430::MOV16rr), MSP430::SP).addReg(MSP430::FP);
163 TII.get(MSP430::SUB16ri), MSP430::SP)
164 .addReg(MSP430::SP).addImm(CSSize);
169 // adjust stack pointer back: SP += numbytes
172 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SP)
173 .addReg(MSP430::SP).addImm(NumBytes);
236 // adjcallstackup instruction into a 'sub SP, <amt>' and the
237 // adjcallstackdown instruction into 'add SP, <amt>'
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);
278 MSP430::SP).addReg(MSP430::SP).addImm(CalleeAmt);