Lines Matching defs:NewBB
408 BasicBlock *NewBB = BasicBlock::Create(PrevBB->getContext(), getName(),
410 LLVM_DEBUG(dbgs() << "LV: created " << NewBB->getName() << '\n');
412 return NewBB;
416 BasicBlock *NewBB = CFG.VPBB2IRBB[this];
433 auto *Br = BranchInst::Create(NewBB, PredBB);
436 TermBr->setSuccessor(0, NewBB);
443 TermBr->getSuccessor(idx) == NewBB))) &&
445 TermBr->setSuccessor(idx, NewBB);
447 CFG.DTU.applyUpdates({{DominatorTree::Insert, PredBB, NewBB}});
482 BasicBlock *NewBB = State->CFG.PrevBB; // Reuse it if possible.
495 State->CFG.VPBB2IRBB[this] = NewBB;
497 NewBB = createEmptyBasicBlock(State->CFG);
499 State->Builder.SetInsertPoint(NewBB);
502 // Register NewBB in its loop. In innermost loops its the same for all
505 State->CurrentParentLoop->addBasicBlockToLoop(NewBB, *State->LI);
508 State->CFG.PrevBB = NewBB;
509 State->CFG.VPBB2IRBB[this] = NewBB;
514 executeRecipes(State, NewBB);
658 VPBlockBase *NewBB = BB->clone();
659 Old2NewVPBlocks[BB] = NewBB;
669 VPBlockBase *NewBB = Old2NewVPBlocks[BB];
674 NewBB->setPredecessors(NewPreds);
679 NewBB->setSuccessors(NewSuccs);
685 for (const auto &[OldBB, NewBB] :
689 zip(OldBB->getPredecessors(), NewBB->getPredecessors()))
693 zip(OldBB->successors(), NewBB->successors()))
1165 for (const auto &[OldBB, NewBB] :
1168 assert(OldBB->getRecipeList().size() == NewBB->getRecipeList().size() &&
1170 for (const auto &[OldR, NewR] : zip(*OldBB, *NewBB)) {
1182 for (VPBasicBlock *NewBB :
1184 for (VPRecipeBase &NewR : *NewBB)