Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp984 BasicBlock *NonConstBB = nullptr; in foldOpIntoPhi() local
991 if (NonConstBB) return nullptr; // More than one non-const value. in foldOpIntoPhi()
993 NonConstBB = PN->getIncomingBlock(i); in foldOpIntoPhi()
998 if (cast<Instruction>(InVal)->getParent() == NonConstBB) in foldOpIntoPhi()
1004 if (isPotentiallyReachable(I.getParent(), NonConstBB, &DT, LI)) in foldOpIntoPhi()
1012 if (NonConstBB != nullptr) { in foldOpIntoPhi()
1013 BranchInst *BI = dyn_cast<BranchInst>(NonConstBB->getTerminator()); in foldOpIntoPhi()
1024 if (NonConstBB) in foldOpIntoPhi()
1025 Builder.SetInsertPoint(NonConstBB->getTerminator()); in foldOpIntoPhi()