Home
last modified time | relevance | path

Searched refs:NonConstBB (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp815 BasicBlock *NonConstBB = nullptr; in FoldOpIntoPhi() local
822 if (NonConstBB) return nullptr; // More than one non-const value. in FoldOpIntoPhi()
824 NonConstBB = PN->getIncomingBlock(i); in FoldOpIntoPhi()
829 if (II->getParent() == NonConstBB) in FoldOpIntoPhi()
835 if (isPotentiallyReachable(I.getParent(), NonConstBB, DT, LI)) in FoldOpIntoPhi()
843 if (NonConstBB != nullptr) { in FoldOpIntoPhi()
844 BranchInst *BI = dyn_cast<BranchInst>(NonConstBB->getTerminator()); in FoldOpIntoPhi()
855 if (NonConstBB) in FoldOpIntoPhi()
856 Builder->SetInsertPoint(NonConstBB->getTerminator()); in FoldOpIntoPhi()