Lines Matching refs:SP

52     BuildMI(MBB, MBBI, dl, TII.get(ADDri), SP::O6)  in emitSPAdjustment()
53 .addReg(SP::O6).addImm(NumBytes); in emitSPAdjustment()
64 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1) in emitSPAdjustment()
66 BuildMI(MBB, MBBI, dl, TII.get(SP::ORri), SP::G1) in emitSPAdjustment()
67 .addReg(SP::G1).addImm(LO10(NumBytes)); in emitSPAdjustment()
68 BuildMI(MBB, MBBI, dl, TII.get(ADDrr), SP::O6) in emitSPAdjustment()
69 .addReg(SP::O6).addReg(SP::G1); in emitSPAdjustment()
77 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1) in emitSPAdjustment()
79 BuildMI(MBB, MBBI, dl, TII.get(SP::XORri), SP::G1) in emitSPAdjustment()
80 .addReg(SP::G1).addImm(LOX10(NumBytes)); in emitSPAdjustment()
81 BuildMI(MBB, MBBI, dl, TII.get(ADDrr), SP::O6) in emitSPAdjustment()
82 .addReg(SP::O6).addReg(SP::G1); in emitSPAdjustment()
110 unsigned SAVEri = SP::SAVEri; in emitPrologue()
111 unsigned SAVErr = SP::SAVErr; in emitPrologue()
115 SAVEri = SP::ADDri; in emitPrologue()
116 SAVErr = SP::ADDrr; in emitPrologue()
151 unsigned regFP = RegInfo.getDwarfRegNum(SP::I6, true); in emitPrologue()
164 unsigned regInRA = RegInfo.getDwarfRegNum(SP::I7, true); in emitPrologue()
165 unsigned regOutRA = RegInfo.getDwarfRegNum(SP::O7, true); in emitPrologue()
177 regUnbiased = SP::G1; in emitPrologue()
179 BuildMI(MBB, MBBI, dl, TII.get(SP::ADDri), regUnbiased) in emitPrologue()
180 .addReg(SP::O6).addImm(Bias); in emitPrologue()
182 regUnbiased = SP::O6; in emitPrologue()
186 BuildMI(MBB, MBBI, dl, TII.get(SP::ANDNri), regUnbiased) in emitPrologue()
192 BuildMI(MBB, MBBI, dl, TII.get(SP::ADDri), SP::O6) in emitPrologue()
204 if (MI.getOpcode() == SP::ADJCALLSTACKDOWN) in eliminateCallFramePseudoInstr()
208 emitSPAdjustment(MF, MBB, I, Size, SP::ADDrr, SP::ADDri); in eliminateCallFramePseudoInstr()
221 assert((MBBI->getOpcode() == SP::RETL || MBBI->getOpcode() == SP::TAIL_CALL || in emitEpilogue()
222 MBBI->getOpcode() == SP::TAIL_CALLri) && in emitEpilogue()
225 BuildMI(MBB, MBBI, dl, TII.get(SP::RESTORErr), SP::G0).addReg(SP::G0) in emitEpilogue()
226 .addReg(SP::G0); in emitEpilogue()
233 emitSPAdjustment(MF, MBB, MBBI, NumBytes, SP::ADDrr, SP::ADDri); in emitEpilogue()
236 if (MBBI->getOpcode() == SP::TAIL_CALL) { in emitEpilogue()
237 MBB.addLiveIn(SP::O7); in emitEpilogue()
238 BuildMI(MBB, MBBI, dl, TII.get(SP::ORrr), SP::G1) in emitEpilogue()
239 .addReg(SP::G0) in emitEpilogue()
240 .addReg(SP::O7); in emitEpilogue()
241 BuildMI(MBB, MBBI, dl, TII.get(SP::ORrr), SP::O7) in emitEpilogue()
242 .addReg(SP::G0) in emitEpilogue()
243 .addReg(SP::G1); in emitEpilogue()
304 FrameReg = SP::O6; // %sp in getFrameIndexReference()
312 for (unsigned reg = SP::I0; reg <= SP::I7; ++reg) in verifyLeafProcRegUse()
316 for (unsigned reg = SP::L0; reg <= SP::L7; ++reg) in verifyLeafProcRegUse()
330 || MRI.isPhysRegUsed(SP::L0) // Too many registers needed in isLeafProc()
331 || MRI.isPhysRegUsed(SP::O6) // %sp is used in isLeafProc()
339 for (unsigned reg = SP::I0; reg <= SP::I7; ++reg) { in remapRegsForLeafProc()
343 unsigned mapped_reg = reg - SP::I0 + SP::O0; in remapRegsForLeafProc()
349 if ((reg - SP::I0) % 2 == 0) { in remapRegsForLeafProc()
350 unsigned preg = (reg - SP::I0) / 2 + SP::I0_I1; in remapRegsForLeafProc()
351 unsigned mapped_preg = preg - SP::I0_I1 + SP::O0_O1; in remapRegsForLeafProc()
358 for (unsigned reg = SP::I0_I1; reg <= SP::I6_I7; ++reg) { in remapRegsForLeafProc()
362 MBB.addLiveIn(reg - SP::I0_I1 + SP::O0_O1); in remapRegsForLeafProc()
364 for (unsigned reg = SP::I0; reg <= SP::I7; ++reg) { in remapRegsForLeafProc()
368 MBB.addLiveIn(reg - SP::I0 + SP::O0); in remapRegsForLeafProc()