Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:MBB

67 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) {
68 MBB.print(OS);
72 /// addNodeToList (MBB) - When an MBB is added to an MF, we need to update the
73 /// parent pointer of the MBB, the MBB numbering, and any instructions in the
74 /// MBB to be on the right operand list for registers.
76 /// MBBs start out as #-1. When a MBB is added to a MachineFunction, it
77 /// gets the next available unique MBB number. If it is removed from a
130 /// MBB list to another, we need to update the parent pointers and the use/def
139 // Splice within the same MBB -> no change.
353 assert(getParent() && "MBB must be inserted in function");
621 bool MachineBasicBlock::isPredecessor(const MachineBasicBlock *MBB) const {
622 return std::find(pred_begin(), pred_end(), MBB) != pred_end();
625 bool MachineBasicBlock::isSuccessor(const MachineBasicBlock *MBB) const {
626 return std::find(succ_begin(), succ_end(), MBB) != succ_end();
629 bool MachineBasicBlock::isLayoutSuccessor(const MachineBasicBlock *MBB) const {
631 return std::next(I) == MachineFunction::const_iterator(MBB);
700 // jumps to the same MBB is either case. We have duplicate CFG edges in that
1041 /// CFG to be inserted. If we have proven that MBB can only branch to DestA and
1042 /// DestB, remove any other MBB successors from the CFG. DestA and DestB can be
1088 const MachineBasicBlock *MBB = *SI;
1089 if (!SeenMBBs.insert(MBB) ||
1090 (MBB != DestA && MBB != DestB && !MBB->isLandingPad())) {
1119 /// getSuccWeight - Return weight of the edge from this block to MBB.
1166 MachineBasicBlock *MBB = MI->getParent();
1172 if (I != MBB->begin()) {
1192 } while (I != MBB->begin() && --N > 0);
1196 if (I == MBB->begin()) {
1200 if (MBB->isLiveIn(*RAI))
1212 if (I != MBB->end()) {
1213 for (++I; I != MBB->end() && N > 0; ++I, --N) {