Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp751 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() local
752 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
756 BranchInst *BI = dyn_cast<BranchInst>(CommonPred->getTerminator()); in GetIfCondition()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp189 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() local
190 if (CommonPred == 0 || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
194 BranchInst *BI = dyn_cast<BranchInst>(CommonPred->getTerminator()); in GetIfCondition()