Lines Matching refs:NewBB
245 void updateForInsertedWaterBlock(MachineBasicBlock *NewBB);
621 MachineBasicBlock *NewBB) { in updateForInsertedWaterBlock() argument
623 NewBB->getParent()->RenumberBlocks(NewBB); in updateForInsertedWaterBlock()
627 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in updateForInsertedWaterBlock()
631 water_iterator IP = llvm::lower_bound(WaterList, NewBB, compareMbbNumbers); in updateForInsertedWaterBlock()
632 WaterList.insert(IP, NewBB); in updateForInsertedWaterBlock()
651 MachineBasicBlock *NewBB = in splitBlockBeforeInstr() local
654 MF->insert(MBBI, NewBB); in splitBlockBeforeInstr()
657 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end()); in splitBlockBeforeInstr()
665 BuildMI(OrigBB, DebugLoc(), TII->get(CSKY::BR32)).addMBB(NewBB); in splitBlockBeforeInstr()
669 NewBB->transferSuccessors(OrigBB); in splitBlockBeforeInstr()
672 OrigBB->addSuccessor(NewBB); in splitBlockBeforeInstr()
677 MF->RenumberBlocks(NewBB); in splitBlockBeforeInstr()
681 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in splitBlockBeforeInstr()
690 WaterList.insert(std::next(IP), NewBB); in splitBlockBeforeInstr()
704 computeBlockSize(NewBB); in splitBlockBeforeInstr()
709 return NewBB; in splitBlockBeforeInstr()