Lines Matching defs:Pred2
791 BasicBlock *Pred2 = nullptr;
797 Pred2 = SomePHI->getIncomingBlock(1);
805 Pred2 = *PI++;
813 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator());
827 std::swap(Pred1, Pred2);
832 // The only thing we have to watch out for here is to make sure that Pred2
835 if (!Pred2->getSinglePredecessor())
841 Pred1Br->getSuccessor(1) == Pred2) {
843 IfFalse = Pred2;
844 } else if (Pred1Br->getSuccessor(0) == Pred2 &&
846 IfTrue = Pred2;
861 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor())
871 IfFalse = Pred2;
873 IfTrue = Pred2;