Lines Matching defs:NewBB
415 BasicBlock *NewBB = BasicBlock::Create(PrevBB->getContext(), getName(),
417 LLVM_DEBUG(dbgs() << "LV: created " << NewBB->getName() << '\n');
435 auto *Br = BranchInst::Create(NewBB, PredBB);
438 TermBr->setSuccessor(0, NewBB);
445 TermBr->setSuccessor(idx, NewBB);
447 CFG.DTU.applyUpdates({{DominatorTree::Insert, PredBB, NewBB}});
449 return NewBB;
487 BasicBlock *NewBB = State->CFG.PrevBB; // Reuse it if possible.
511 NewBB = createEmptyBasicBlock(State->CFG);
512 State->Builder.SetInsertPoint(NewBB);
515 // Register NewBB in its loop. In innermost loops its the same for all
518 State->CurrentVectorLoop->addBasicBlockToLoop(NewBB, *State->LI);
520 State->CFG.PrevBB = NewBB;
524 executeRecipes(State, NewBB);
669 VPBlockBase *NewBB = BB->clone();
670 Old2NewVPBlocks[BB] = NewBB;
680 VPBlockBase *NewBB = Old2NewVPBlocks[BB];
685 NewBB->setPredecessors(NewPreds);
690 NewBB->setSuccessors(NewSuccs);
696 for (const auto &[OldBB, NewBB] :
700 zip(OldBB->getPredecessors(), NewBB->getPredecessors()))
704 zip(OldBB->successors(), NewBB->successors()))
1198 for (const auto &[OldBB, NewBB] :
1201 assert(OldBB->getRecipeList().size() == NewBB->getRecipeList().size() &&
1203 for (const auto &[OldR, NewR] : zip(*OldBB, *NewBB)) {
1215 for (VPBasicBlock *NewBB :
1217 for (VPRecipeBase &NewR : *NewBB)