Lines Matching defs:SP
178 // Adjust SP by FrameSize bytes. Save RA, S0, S1
179 void Mips16InstrInfo::makeFrame(unsigned SP, int64_t FrameSize,
194 adjustStackPtrBig(SP, -Remainder, MBB, I, Mips::V0, Mips::V1);
206 MIB1.addReg(Mips::SP);
210 MIB2.addReg(Mips::SP);
214 MIB3.addReg(Mips::SP);
216 adjustStackPtrBig(SP, -FrameSize, MBB, I, Mips::V0, Mips::V1);
220 // Adjust SP by FrameSize bytes. Restore RA, S0, S1
221 void Mips16InstrInfo::restoreFrame(unsigned SP, int64_t FrameSize,
235 adjustStackPtrBig(SP, Remainder, MBB, I, Mips::A0, Mips::A1);
240 adjustStackPtrBig(SP, FrameSize, MBB, I, Mips::A0, Mips::A1);
246 MIB1.addReg(Mips::SP);
253 MIB2.addReg(Mips::SP);
257 MIB3.addReg(Mips::SP);
263 // Adjust SP by Amount bytes where bytes can be up to 32bit number.
268 void Mips16InstrInfo::adjustStackPtrBig(unsigned SP, int64_t Amount,
286 MIB2.addReg(Mips::SP, RegState::Kill);
291 Mips::SP);
295 void Mips16InstrInfo::adjustStackPtrBigUnrestricted(unsigned SP, int64_t Amount,
301 /// Adjust SP by Amount bytes.
302 void Mips16InstrInfo::adjustStackPtr(unsigned SP, int64_t Amount,
308 adjustStackPtrBigUnrestricted(SP, Amount, MBB, I);
398 if (FrameReg == Mips::SP) {
412 copyPhysReg(MBB, II, DL, SpReg, Mips::SP, false);
499 if ((Reg == Mips::PC) || (Reg == Mips::SP))