Lines Matching refs:Pred2
791 BasicBlock *Pred2 = nullptr; in GetIfCondition() local
797 Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
805 Pred2 = *PI++; in GetIfCondition()
813 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator()); in GetIfCondition()
827 std::swap(Pred1, Pred2); in GetIfCondition()
835 if (!Pred2->getSinglePredecessor()) in GetIfCondition()
841 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
843 IfFalse = Pred2; in GetIfCondition()
844 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
846 IfTrue = Pred2; in GetIfCondition()
861 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
871 IfFalse = Pred2; in GetIfCondition()
873 IfTrue = Pred2; in GetIfCondition()