Lines Matching refs:Pred2
787 BasicBlock *Pred2 = nullptr; in GetIfCondition() local
793 Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
801 Pred2 = *PI++; in GetIfCondition()
809 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator()); in GetIfCondition()
823 std::swap(Pred1, Pred2); in GetIfCondition()
831 if (!Pred2->getSinglePredecessor()) in GetIfCondition()
837 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
839 IfFalse = Pred2; in GetIfCondition()
840 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
842 IfTrue = Pred2; in GetIfCondition()
857 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
867 IfFalse = Pred2; in GetIfCondition()
869 IfTrue = Pred2; in GetIfCondition()