Lines Matching defs:Pred
156 // Make all PHI nodes that referred to BB now refer to Pred as their
335 BasicBlock *Pred = *i;
340 if (Loop *PL = LI->getLoopFor(Pred))
347 if (L->contains(Pred))
369 BasicBlock *Pred = *i;
370 if (Loop *PredLoop = LI->getLoopFor(Pred)) {
545 BasicBlock *Pred = *i++;
546 if (Pred == NewBB1) continue;
547 assert(!isa<IndirectBrInst>(Pred->getTerminator()) &&
549 NewBB2Preds.push_back(Pred);
653 BasicBlock *Pred) {
654 Instruction *UncondBranch = Pred->getTerminator();
657 Pred->getInstList().push_back(NewRet);
670 Pred->getInstList().insert(NewRet, NewBC);
676 NewBC->setOperand(0, PN->getIncomingValueForBlock(Pred));
678 *i = PN->getIncomingValueForBlock(Pred);
685 BB->removePredecessor(Pred);