Lines Matching refs:SP
71 .addReg(MSP430::SP);
88 if (NumBytes) { // adjust stack pointer: SP -= numbytes
89 // If there is an SUB16ri of SP immediately before this instruction, merge
92 // If there is an ADD16ri or SUB16ri of SP immediately after this
98 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP)
99 .addReg(MSP430::SP).addImm(NumBytes);
150 // If there is an ADD16ri or SUB16ri of SP immediately before this
157 TII.get(MSP430::MOV16rr), MSP430::SP).addReg(MSP430::R4);
161 TII.get(MSP430::SUB16ri), MSP430::SP)
162 .addReg(MSP430::SP).addImm(CSSize);
167 // adjust stack pointer back: SP += numbytes
170 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SP)
171 .addReg(MSP430::SP).addImm(NumBytes);
228 // adjcallstackup instruction into a 'sub SP, <amt>' and the
229 // adjcallstackdown instruction into 'add SP, <amt>'
242 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP)
243 .addReg(MSP430::SP)
251 MSP430::SP)
252 .addReg(MSP430::SP)
270 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP)
271 .addReg(MSP430::SP)