Lines Matching defs:PredBB
436 BasicBlock *PredBB = DestBB->getSinglePredecessor();
437 assert(PredBB && "Block doesn't have a single predecessor!");
450 // Anything that branched to PredBB
451 PredBB->replaceAllUsesWith(DestBB);
453 // Splice all the instructions from PredBB to DestBB.
454 PredBB->getTerminator()->eraseFromParent();
455 DestBB->getInstList().splice(DestBB->begin(), PredBB->getInstList());
460 BasicBlock *PredBBIDom = DT->getNode(PredBB)->getIDom()->getBlock();
462 DT->eraseNode(PredBB);
466 PI->replaceAllUses(PredBB, DestBB);
467 PI->removeEdge(ProfileInfo::getEdge(PredBB, DestBB));
471 PredBB->eraseFromParent();