Lines Matching defs:OrigBB
843 MachineBasicBlock *OrigBB = MI.getParent();
845 // Create a new MBB for the code after the OrigBB.
847 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock());
848 MachineFunction::iterator MBBI = ++OrigBB->getIterator();
852 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end());
854 // Add an unconditional branch from OrigBB to NewBB.
858 BuildMI(OrigBB, DebugLoc(), TII->get(Mips::Bimm16)).addMBB(NewBB);
861 // Update the CFG. All succs of OrigBB are now succs of NewBB.
862 NewBB->transferSuccessors(OrigBB);
864 // OrigBB branches to NewBB.
865 OrigBB->addSuccessor(NewBB);
869 // the Water goes after OrigBB, not NewBB.
880 water_iterator IP = llvm::lower_bound(WaterList, OrigBB, CompareMBBNumbers);
882 if (WaterBB == OrigBB)
885 WaterList.insert(IP, OrigBB);
886 NewWaterList.insert(OrigBB);
888 // Figure out how large the OrigBB is. As the first half of the original
893 computeBlockSize(OrigBB);
900 adjustBBOffsetsAfter(OrigBB);