Lines Matching defs:Pred2
682 BasicBlock *Pred2 = NULL;
688 Pred2 = SomePHI->getIncomingBlock(1);
696 Pred2 = *PI++;
704 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator());
718 std::swap(Pred1, Pred2);
723 // The only thing we have to watch out for here is to make sure that Pred2
726 if (Pred2->getSinglePredecessor() == 0)
732 Pred1Br->getSuccessor(1) == Pred2) {
734 IfFalse = Pred2;
735 } else if (Pred1Br->getSuccessor(0) == Pred2 &&
737 IfTrue = Pred2;
752 if (CommonPred == 0 || CommonPred != Pred2->getSinglePredecessor())
762 IfFalse = Pred2;
764 IfTrue = Pred2;