Lines Matching refs:OrigBB
874 MachineBasicBlock *OrigBB = MI->getParent();
876 // Create a new MBB for the code after the OrigBB.
878 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock());
879 MachineFunction::iterator MBBI = OrigBB; ++MBBI;
883 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end());
885 // Add an unconditional branch from OrigBB to NewBB.
891 BuildMI(OrigBB, DebugLoc(), TII->get(Opc)).addMBB(NewBB);
893 BuildMI(OrigBB, DebugLoc(), TII->get(Opc)).addMBB(NewBB)
897 // Update the CFG. All succs of OrigBB are now succs of NewBB.
898 NewBB->transferSuccessors(OrigBB);
900 // OrigBB branches to NewBB.
901 OrigBB->addSuccessor(NewBB);
905 // the Water goes after OrigBB, not NewBB.
917 std::lower_bound(WaterList.begin(), WaterList.end(), OrigBB,
920 if (WaterBB == OrigBB)
923 WaterList.insert(IP, OrigBB);
924 NewWaterList.insert(OrigBB);
926 // Figure out how large the OrigBB is. As the first half of the original
931 computeBlockSize(OrigBB);
938 adjustBBOffsetsAfter(OrigBB);