Lines Matching refs:OrigBB
873 MachineBasicBlock *OrigBB = MI->getParent();
875 // Create a new MBB for the code after the OrigBB.
877 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock());
878 MachineFunction::iterator MBBI = OrigBB; ++MBBI;
882 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end());
884 // Add an unconditional branch from OrigBB to NewBB.
890 BuildMI(OrigBB, DebugLoc(), TII->get(Opc)).addMBB(NewBB);
892 BuildMI(OrigBB, DebugLoc(), TII->get(Opc)).addMBB(NewBB)
896 // Update the CFG. All succs of OrigBB are now succs of NewBB.
897 NewBB->transferSuccessors(OrigBB);
899 // OrigBB branches to NewBB.
900 OrigBB->addSuccessor(NewBB);
904 // the Water goes after OrigBB, not NewBB.
916 std::lower_bound(WaterList.begin(), WaterList.end(), OrigBB,
919 if (WaterBB == OrigBB)
922 WaterList.insert(IP, OrigBB);
923 NewWaterList.insert(OrigBB);
925 // Figure out how large the OrigBB is. As the first half of the original
930 computeBlockSize(OrigBB);
937 adjustBBOffsetsAfter(OrigBB);