Lines Matching full:mbb
59 void TargetInstrInfo::insertNoop(MachineBasicBlock &MBB,
100 MachineBasicBlock *MBB = Tail->getParent();
102 // Remove all the old successors of MBB from the CFG.
103 while (!MBB->succ_empty())
104 MBB->removeSuccessor(MBB->succ_begin());
106 // Remove all the dead instructions from the end of MBB.
107 MBB->erase(Tail, MBB->end());
109 // If MBB isn't immediately before MBB, insert a branch to it.
110 if (++MachineFunction::iterator(MBB) != MachineFunction::iterator(NewDest))
111 InsertBranch(*MBB, NewDest, 0, SmallVector<MachineOperand, 0>(),
113 MBB->addSuccessor(NewDest);
279 void TargetInstrInfo::reMaterialize(MachineBasicBlock &MBB,
285 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(Orig);
287 MBB.insert(I, MI);
361 MachineBasicBlock *MBB = MI->getParent();
362 assert(MBB && "foldMemoryOperand needs an inserted instruction");
363 MachineFunction &MF = *MBB->getParent();
383 return MBB->insert(MI, NewMI);
399 storeRegToStackSlot(*MBB, Pos, MO.getReg(), MO.isKill(), FI, RC, TRI);
401 loadRegFromStackSlot(*MBB, Pos, MO.getReg(), FI, RC, TRI);
417 MachineBasicBlock &MBB = *MI->getParent();
418 MachineFunction &MF = *MBB.getParent();
424 NewMI = MBB.insert(MI, NewMI);
520 const MachineBasicBlock *MBB,