Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp912 BasicBlock *NonConstBB = nullptr; in foldOpIntoPhi() local
919 if (NonConstBB) return nullptr; // More than one non-const value. in foldOpIntoPhi()
921 NonConstBB = PN->getIncomingBlock(i); in foldOpIntoPhi()
926 if (II->getParent() == NonConstBB) in foldOpIntoPhi()
932 if (isPotentiallyReachable(I.getParent(), NonConstBB, &DT, LI)) in foldOpIntoPhi()
940 if (NonConstBB != nullptr) { in foldOpIntoPhi()
941 BranchInst *BI = dyn_cast<BranchInst>(NonConstBB->getTerminator()); in foldOpIntoPhi()
952 if (NonConstBB) in foldOpIntoPhi()
953 Builder.SetInsertPoint(NonConstBB->getTerminator()); in foldOpIntoPhi()