Lines Matching defs:OrigBB
908 MachineBasicBlock *OrigBB = MI->getParent();
910 // Create a new MBB for the code after the OrigBB.
912 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock());
913 MachineFunction::iterator MBBI = ++OrigBB->getIterator();
917 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end());
919 // Add an unconditional branch from OrigBB to NewBB.
925 BuildMI(OrigBB, DebugLoc(), TII->get(Opc)).addMBB(NewBB);
927 BuildMI(OrigBB, DebugLoc(), TII->get(Opc))
932 // Update the CFG. All succs of OrigBB are now succs of NewBB.
933 NewBB->transferSuccessors(OrigBB);
935 // OrigBB branches to NewBB.
936 OrigBB->addSuccessor(NewBB);
940 // the Water goes after OrigBB, not NewBB.
952 std::lower_bound(WaterList.begin(), WaterList.end(), OrigBB,
955 if (WaterBB == OrigBB)
958 WaterList.insert(IP, OrigBB);
959 NewWaterList.insert(OrigBB);
961 // Figure out how large the OrigBB is. As the first half of the original
966 computeBlockSize(MF, OrigBB, BBInfo[OrigBB->getNumber()]);
973 adjustBBOffsetsAfter(OrigBB);