Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp806 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() local
808 if (!Pred1Br || !Pred2Br) in GetIfCondition()
818 if (Pred1Br->isConditional()) in GetIfCondition()
822 std::swap(Pred1Br, Pred2Br); in GetIfCondition()
825 if (Pred1Br->isConditional()) { in GetIfCondition()
834 if (Pred1Br->getSuccessor(0) == BB && in GetIfCondition()
835 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
838 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
839 Pred1Br->getSuccessor(1) == BB) { in GetIfCondition()
848 return Pred1Br->getCondition(); in GetIfCondition()