Home | History | Annotate | Download | only in Utils

Lines Matching defs:Pred2

137   BasicBlock *Pred2 = SomePHI->getIncomingBlock(1);
142 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator());
156 std::swap(Pred1, Pred2);
161 // The only thing we have to watch out for here is to make sure that Pred2
164 if (Pred2->getSinglePredecessor() == 0)
170 Pred1Br->getSuccessor(1) == Pred2) {
172 IfFalse = Pred2;
173 } else if (Pred1Br->getSuccessor(0) == Pred2 &&
175 IfTrue = Pred2;
190 if (CommonPred == 0 || CommonPred != Pred2->getSinglePredecessor())
200 IfFalse = Pred2;
202 IfTrue = Pred2;