Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp617 BasicBlock *NonConstBB = 0; in FoldOpIntoPhi() local
624 if (NonConstBB) return 0; // More than one non-const value. in FoldOpIntoPhi()
626 NonConstBB = PN->getIncomingBlock(i); in FoldOpIntoPhi()
631 if (II->getParent() == NonConstBB) in FoldOpIntoPhi()
637 if (NonConstBB == I.getParent()) in FoldOpIntoPhi()
645 if (NonConstBB != 0) { in FoldOpIntoPhi()
646 BranchInst *BI = dyn_cast<BranchInst>(NonConstBB->getTerminator()); in FoldOpIntoPhi()
657 if (NonConstBB) in FoldOpIntoPhi()
658 Builder->SetInsertPoint(NonConstBB->getTerminator()); in FoldOpIntoPhi()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp811 BasicBlock *NonConstBB = nullptr; in FoldOpIntoPhi() local
818 if (NonConstBB) return nullptr; // More than one non-const value. in FoldOpIntoPhi()
820 NonConstBB = PN->getIncomingBlock(i); in FoldOpIntoPhi()
825 if (II->getParent() == NonConstBB) in FoldOpIntoPhi()
831 if (isPotentiallyReachable(I.getParent(), NonConstBB, DT, LI)) in FoldOpIntoPhi()
839 if (NonConstBB != nullptr) { in FoldOpIntoPhi()
840 BranchInst *BI = dyn_cast<BranchInst>(NonConstBB->getTerminator()); in FoldOpIntoPhi()
851 if (NonConstBB) in FoldOpIntoPhi()
852 Builder->SetInsertPoint(NonConstBB->getTerminator()); in FoldOpIntoPhi()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp904 BasicBlock *NonConstBB = nullptr; in foldOpIntoPhi() local
911 if (NonConstBB) return nullptr; // More than one non-const value. in foldOpIntoPhi()
913 NonConstBB = PN->getIncomingBlock(i); in foldOpIntoPhi()
918 if (II->getParent() == NonConstBB) in foldOpIntoPhi()
924 if (isPotentiallyReachable(I.getParent(), NonConstBB, &DT, LI)) in foldOpIntoPhi()
932 if (NonConstBB != nullptr) { in foldOpIntoPhi()
933 BranchInst *BI = dyn_cast<BranchInst>(NonConstBB->getTerminator()); in foldOpIntoPhi()
944 if (NonConstBB) in foldOpIntoPhi()
945 Builder.SetInsertPoint(NonConstBB->getTerminator()); in foldOpIntoPhi()