Lines Matching refs:OrigBB
889 MachineBasicBlock *OrigBB = MI->getParent(); in splitBlockBeforeInstr() local
893 LRs.addLiveOuts(*OrigBB); in splitBlockBeforeInstr()
895 for (MachineInstr &LiveMI : make_range(OrigBB->rbegin(), LivenessEnd)) in splitBlockBeforeInstr()
900 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock()); in splitBlockBeforeInstr()
901 MachineFunction::iterator MBBI = ++OrigBB->getIterator(); in splitBlockBeforeInstr()
905 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end()); in splitBlockBeforeInstr()
913 BuildMI(OrigBB, DebugLoc(), TII->get(Opc)).addMBB(NewBB); in splitBlockBeforeInstr()
915 BuildMI(OrigBB, DebugLoc(), TII->get(Opc)) in splitBlockBeforeInstr()
921 NewBB->transferSuccessors(OrigBB); in splitBlockBeforeInstr()
924 OrigBB->addSuccessor(NewBB); in splitBlockBeforeInstr()
945 water_iterator IP = llvm::lower_bound(WaterList, OrigBB, CompareMBBNumbers); in splitBlockBeforeInstr()
947 if (WaterBB == OrigBB) in splitBlockBeforeInstr()
950 WaterList.insert(IP, OrigBB); in splitBlockBeforeInstr()
951 NewWaterList.insert(OrigBB); in splitBlockBeforeInstr()
958 BBUtils->computeBlockSize(OrigBB); in splitBlockBeforeInstr()
965 BBUtils->adjustBBOffsetsAfter(OrigBB); in splitBlockBeforeInstr()