Home | History | Annotate | Download | only in AArch64

Lines Matching refs:MBBI

51   MachineBasicBlock::iterator MBBI = MBB.begin();
54 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
89 emitSPUpdate(MBB, MBBI, DL, TII, AArch64::X16, -NumInitialBytes,
96 BuildMI(MBB, MBBI, DL, TII.get(TargetOpcode::PROLOG_LABEL))
109 for (; MBBI != MBB.end(); ++MBBI) {
114 if (FPNeedsSetting && MBBI->getOpcode() == AArch64::LSPair64_STR
115 && MBBI->getOperand(0).getReg() == AArch64::X29) {
116 int64_t X29FrameIdx = MBBI->getOperand(2).getIndex();
119 ++MBBI;
120 emitRegUpdate(MBB, MBBI, DL, TII, AArch64::X29, AArch64::XSP,
133 BuildMI(MBB, MBBI, DL, TII.get(TargetOpcode::PROLOG_LABEL))
143 if (!MBBI->getFlag(MachineInstr::FrameSetup))
149 emitSPUpdate(MBB, MBBI, DL, TII, AArch64::X16, -NumResidualBytes,
164 BuildMI(MBB, MBBI, DL, TII.get(TargetOpcode::PROLOG_LABEL))
179 BuildMI(MBB, MBBI, DL, TII.get(TargetOpcode::PROLOG_LABEL))
198 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr();
199 DebugLoc DL = MBBI->getDebugLoc();
202 unsigned RetOpcode = MBBI->getOpcode();
211 MachineOperand &JumpTarget = MBBI->getOperand(0);
212 MachineOperand &StackAdjust = MBBI->getOperand(1);
216 MIB = BuildMI(MBB, MBBI, DL, TII.get(AArch64::TAIL_Bimm));
229 MIB = BuildMI(MBB, MBBI, DL, TII.get(AArch64::TAIL_BRx));
235 for (unsigned i = 2, e = MBBI->getNumOperands(); i != e; ++i)
236 MIB->addOperand(MBBI->getOperand(i));
240 MachineInstr *NewMI = prior(MBBI);
241 MBB.erase(MBBI);
242 MBBI = NewMI;
274 emitSPUpdate(MBB, MBBI, DL, TII, AArch64::X16,
276 --MBBI;
280 // MBBI now points to the instruction just past the last callee-saved
285 MachineBasicBlock::iterator FirstEpilogue = MBBI;
286 while (MBBI != MBB.begin()) {
287 --MBBI;
290 for (FrameOp = 0; FrameOp < MBBI->getNumOperands(); ++FrameOp) {
291 if (MBBI->getOperand(FrameOp).isFI())
297 if (FrameOp == MBBI->getNumOperands())
301 int FrameIdx = MBBI->getOperand(FrameOp).getIndex();
305 FirstEpilogue = MBBI;
425 MachineBasicBlock::iterator MBBI,
430 DebugLoc DL = MBB.findDebugLoc(MBBI);
476 NewMI = BuildMI(MBB, MBBI, DL, TII.get(PossClasses[ClassIdx].PairOpcode))
490 NewMI = BuildMI(MBB, MBBI, DL,
519 --MBBI;
525 MachineBasicBlock::iterator MBBI,
537 emitFrameMemOps(/* isPrologue = */ true, MBB, MBBI, CSI, TRI,
545 MachineBasicBlock::iterator MBBI,
558 emitFrameMemOps(/* isPrologue = */ false, MBB, MBBI, CSI, TRI,