Searched refs:OldBr (Results 1 – 2 of 2) sorted by relevance
220 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedLoad() local221 BranchInst::Create(CondBlock, NewIfBlock, Predicate, OldBr); in scalarizeMaskedLoad()222 OldBr->eraseFromParent(); in scalarizeMaskedLoad()351 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedStore() local352 BranchInst::Create(CondBlock, NewIfBlock, Predicate, OldBr); in scalarizeMaskedStore()353 OldBr->eraseFromParent(); in scalarizeMaskedStore()470 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedGather() local471 BranchInst::Create(CondBlock, NewIfBlock, Predicate, OldBr); in scalarizeMaskedGather()472 OldBr->eraseFromParent(); in scalarizeMaskedGather()589 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedScatter() local[all …]
529 auto *OldBr = dyn_cast<BranchInst>(Preheader->getTerminator()); in deleteDeadLoop() local530 assert(OldBr && "Preheader must end with a branch"); in deleteDeadLoop()531 assert(OldBr->isUnconditional() && "Preheader must have a single successor"); in deleteDeadLoop()557 IRBuilder<> Builder(OldBr); in deleteDeadLoop()560 OldBr->eraseFromParent(); in deleteDeadLoop()