Lines Matching refs:NewBB
1375 // copy of the block 'NewBB'. If there are PHI nodes in BB, evaluate them to
1379 BasicBlock *NewBB = BasicBlock::Create(BB->getContext(),
1382 NewBB->moveAfter(PredBB);
1388 // Clone the non-phi instructions of BB into NewBB, keeping track of the
1393 NewBB->getInstList().push_back(New);
1405 // We didn't copy the terminator from BB over to NewBB, because there is now
1407 BranchInst *NewBI =BranchInst::Create(SuccBB, NewBB);
1411 // PHI nodes for NewBB now.
1412 AddPHINodeEntriesForMappedBlock(SuccBB, BB, NewBB, ValueMapping);
1446 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[I]);
1454 // Ok, NewBB is good to go. Update the terminator of PredBB to jump to
1455 // NewBB instead of BB. This eliminates predecessors from BB, which requires
1461 PredTerm->setSuccessor(i, NewBB);
1467 SimplifyInstructionsInBlock(NewBB, TD, TLI);