Lines Matching defs:OrigBB
642 MachineBasicBlock *OrigBB = MI.getParent();
644 // Create a new MBB for the code after the OrigBB.
646 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock());
647 MachineFunction::iterator MBBI = ++OrigBB->getIterator();
651 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end());
653 // Add an unconditional branch from OrigBB to NewBB.
659 BuildMI(OrigBB, DebugLoc(), TII->get(CSKY::BR32)).addMBB(NewBB);
662 // Update the CFG. All succs of OrigBB are now succs of NewBB.
663 NewBB->transferSuccessors(OrigBB);
665 // OrigBB branches to NewBB.
666 OrigBB->addSuccessor(NewBB);
670 // the Water goes after OrigBB, not NewBB.
681 water_iterator IP = llvm::lower_bound(WaterList, OrigBB, compareMbbNumbers);
683 if (WaterBB == OrigBB)
686 WaterList.insert(IP, OrigBB);
687 NewWaterList.insert(OrigBB);
689 // Figure out how large the OrigBB is. As the first half of the original
694 computeBlockSize(OrigBB);
701 adjustBBOffsetsAfter(OrigBB);