Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp812 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() local
814 if (!Pred1Br || !Pred2Br) in GetIfCondition()
824 if (Pred1Br->isConditional()) in GetIfCondition()
828 std::swap(Pred1Br, Pred2Br); in GetIfCondition()
831 if (Pred1Br->isConditional()) { in GetIfCondition()
840 if (Pred1Br->getSuccessor(0) == BB && in GetIfCondition()
841 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
844 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
845 Pred1Br->getSuccessor(1) == BB) { in GetIfCondition()
854 return Pred1Br->getCondition(); in GetIfCondition()