Lines Matching defs:OrigBB
648 MachineBasicBlock *OrigBB = MI.getParent();
650 // Create a new MBB for the code after the OrigBB.
652 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock());
653 MachineFunction::iterator MBBI = ++OrigBB->getIterator();
657 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end());
659 // Add an unconditional branch from OrigBB to NewBB.
665 BuildMI(OrigBB, DebugLoc(), TII->get(CSKY::BR32)).addMBB(NewBB);
668 // Update the CFG. All succs of OrigBB are now succs of NewBB.
669 NewBB->transferSuccessors(OrigBB);
671 // OrigBB branches to NewBB.
672 OrigBB->addSuccessor(NewBB);
676 // the Water goes after OrigBB, not NewBB.
687 water_iterator IP = llvm::lower_bound(WaterList, OrigBB, compareMbbNumbers);
689 if (WaterBB == OrigBB)
692 WaterList.insert(IP, OrigBB);
693 NewWaterList.insert(OrigBB);
695 // Figure out how large the OrigBB is. As the first half of the original
700 computeBlockSize(OrigBB);
707 adjustBBOffsetsAfter(OrigBB);