Home | History | Annotate | Download | only in Hexagon

Lines Matching defs:SP

47 //        SP during function's                 FP during function's     |
62 // ble using the SP, and the incoming arguments are accessible using the FP.
66 // accessed using the SP, regardless whether they are aligned or not. (The
68 // and so the offset with respect to the SP will be known at the compile-
75 // will be between the SP and the local objects, thus introducing an unknown
76 // distance from the SP to the locals.
449 unsigned SP = HRI.getStackRegister();
458 expandAlloca(MI, HII, SP, MaxCF);
486 BuildMI(MBB, InsertPt, dl, HII.get(Hexagon::A2_sub), SP)
487 .addReg(SP)
496 BuildMI(MBB, InsertPt, dl, HII.get(Hexagon::A2_andir), SP)
497 .addReg(SP)
510 unsigned SP = HRI.getStackRegister();
531 BuildMI(MBB, InsertPt, DL, HII.get(Hexagon::A2_add), SP)
532 .addReg(SP)
634 // -8 -4 0 (SP)
638 // | +-- Old SP (before allocframe)
729 // By default we want to use SP (since it's always there). FP requires
732 // the SP is unknown (as is with alloca or aligna).
839 unsigned SP = HRI.getStackRegister(), FP = HRI.getFrameRegister();
845 bool UseFP = false, UseAP = false; // Default: use SP (except at -O0).
883 // SP/AP point --+ +-- FP points here (**)
901 FrameReg = SP;
904 // (in other words, no allocframe), then SP will not be adjusted (i.e.
905 // there will be no SP -= FrameSize), so the frame size should not be
1306 dbgs() << ' ' << PrintReg(CSI[i].getReg(), TRI) << ":fi#" << FI << ":sp";
1331 const HexagonInstrInfo &HII, unsigned SP, unsigned CF) const {
1357 .addReg(SP)
1361 BuildMI(MB, AI, DL, HII.get(Hexagon::A2_sub), SP)
1362 .addReg(SP)
1371 BuildMI(MB, AI, DL, HII.get(Hexagon::A2_andir), SP)
1372 .addReg(SP)
1377 BuildMI(MB, AI, DL, HII.get(TargetOpcode::COPY), SP)