Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp808 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() local
810 if (!Pred1Br || !Pred2Br) in GetIfCondition()
820 if (Pred1Br->isConditional()) in GetIfCondition()
824 std::swap(Pred1Br, Pred2Br); in GetIfCondition()
827 if (Pred1Br->isConditional()) { in GetIfCondition()
836 if (Pred1Br->getSuccessor(0) == BB && in GetIfCondition()
837 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
840 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
841 Pred1Br->getSuccessor(1) == BB) { in GetIfCondition()
850 return Pred1Br->getCondition(); in GetIfCondition()