Lines Matching refs:PredBB
490 BasicBlock *PredBB = DestBB->getSinglePredecessor();
491 assert(PredBB && "Block doesn't have a single predecessor!");
504 // Anything that branched to PredBB now branches to DestBB.
505 PredBB->replaceAllUsesWith(DestBB);
507 // Splice all the instructions from PredBB to DestBB.
508 PredBB->getTerminator()->eraseFromParent();
509 DestBB->getInstList().splice(DestBB->begin(), PredBB->getInstList());
514 BasicBlock *PredBBIDom = DT->getNode(PredBB)->getIDom()->getBlock();
516 DT->eraseNode(PredBB);
520 PI->replaceAllUses(PredBB, DestBB);
521 PI->removeEdge(ProfileInfo::getEdge(PredBB, DestBB));
525 PredBB->eraseFromParent();