Lines Matching defs:NewBB

254     void updateForInsertedWaterBlock(MachineBasicBlock *NewBB);
972 void ARMConstantIslands::updateForInsertedWaterBlock(MachineBasicBlock *NewBB) {
974 NewBB->getParent()->RenumberBlocks(NewBB);
978 BBUtils->insert(NewBB->getNumber(), BasicBlockInfo());
982 water_iterator IP = llvm::lower_bound(WaterList, NewBB, CompareMBBNumbers);
983 WaterList.insert(IP, NewBB);
1000 MachineBasicBlock *NewBB =
1003 MF->insert(MBBI, NewBB);
1005 // Splice the instructions starting with MI over to NewBB.
1006 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end());
1008 // Add an unconditional branch from OrigBB to NewBB.
1014 BuildMI(OrigBB, DebugLoc(), TII->get(Opc)).addMBB(NewBB);
1017 .addMBB(NewBB)
1021 // Update the CFG. All succs of OrigBB are now succs of NewBB.
1022 NewBB->transferSuccessors(OrigBB);
1024 // OrigBB branches to NewBB.
1025 OrigBB->addSuccessor(NewBB);
1031 NewBB->addLiveIn(L);
1035 // the Water goes after OrigBB, not NewBB.
1036 MF->RenumberBlocks(NewBB);
1040 BBUtils->insert(NewBB->getNumber(), BasicBlockInfo());
1045 // unconditional branch - in that case we want to insert NewBB).
1049 WaterList.insert(std::next(IP), NewBB);
1063 BBUtils->computeBlockSize(NewBB);
1068 return NewBB;
2450 MachineBasicBlock *NewBB =
2452 if (NewBB)
2453 MJTI->ReplaceMBBInJumpTable(JTI, MBB, NewBB);
2493 MachineBasicBlock *NewBB =
2496 MF->insert(MBBI, NewBB);
2500 NewBB->addLiveIn(RegMaskPair);
2502 // Add an unconditional branch from NewBB to BB.
2506 BuildMI(NewBB, DebugLoc(), TII->get(ARM::t2B))
2510 BuildMI(NewBB, DebugLoc(), TII->get(ARM::tB))
2515 MF->RenumberBlocks(NewBB);
2518 NewBB->addSuccessor(BB);
2519 JTBB->replaceSuccessor(BB, NewBB);
2522 return NewBB;