Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:MBB

55     assert(getNumber() >= 0 && "cannot get label for unreachable MBB");
65 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) {
66 MBB.print(OS);
70 /// When an MBB is added to an MF, we need to update the parent pointer of the
71 /// MBB, the MBB numbering, and any instructions in the MBB to be on the right
74 /// MBBs start out as #-1. When a MBB is added to a MachineFunction, it
75 /// gets the next available unique MBB number. If it is removed from a
117 /// When moving a range of instructions from one MBB list to another, we need to
126 // Splice within the same MBB -> no change.
366 assert(getParent() && "MBB must be inserted in function");
663 bool MachineBasicBlock::isPredecessor(const MachineBasicBlock *MBB) const {
664 return std::find(pred_begin(), pred_end(), MBB) != pred_end();
667 bool MachineBasicBlock::isSuccessor(const MachineBasicBlock *MBB) const {
668 return std::find(succ_begin(), succ_end(), MBB) != succ_end();
671 bool MachineBasicBlock::isLayoutSuccessor(const MachineBasicBlock *MBB) const {
673 return std::next(I) == MachineFunction::const_iterator(MBB);
981 // jumps to the same MBB is either case. We have duplicate CFG edges in that
1068 /// we have proven that MBB can only branch to DestA and DestB, remove any other
1069 /// MBB successors from the CFG. DestA and DestB can be null.
1113 const MachineBasicBlock *MBB = *SI;
1114 if (!SeenMBBs.insert(MBB).second ||
1115 (MBB != DestA && MBB != DestB && !MBB->isEHPad())) {
1146 /// Return probability of the edge from this block to MBB.