Lines Matching refs:DestBB
351 BasicBlock *DestBB = IBI->getDestination(i); in ConstantFoldTerminator() local
352 if (DTU && DestBB != TheOnlyDest) in ConstantFoldTerminator()
353 RemovedSuccessors.insert(DestBB); in ConstantFoldTerminator()
357 DestBB->removePredecessor(BB); in ConstantFoldTerminator()
771 void llvm::MergeBasicBlockIntoOnlyPred(BasicBlock *DestBB, in MergeBasicBlockIntoOnlyPred() argument
775 while (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) { in MergeBasicBlockIntoOnlyPred()
783 BasicBlock *PredBB = DestBB->getSinglePredecessor(); in MergeBasicBlockIntoOnlyPred()
800 Updates.push_back({DominatorTree::Insert, PredOfPredBB, DestBB}); in MergeBasicBlockIntoOnlyPred()
805 Updates.push_back({DominatorTree::Delete, PredBB, DestBB}); in MergeBasicBlockIntoOnlyPred()
810 if (DestBB->hasAddressTaken()) { in MergeBasicBlockIntoOnlyPred()
811 BlockAddress *BA = BlockAddress::get(DestBB); in MergeBasicBlockIntoOnlyPred()
820 PredBB->replaceAllUsesWith(DestBB); in MergeBasicBlockIntoOnlyPred()
824 DestBB->splice(DestBB->begin(), PredBB); in MergeBasicBlockIntoOnlyPred()
830 DestBB->moveAfter(PredBB); in MergeBasicBlockIntoOnlyPred()
845 DTU->recalculate(*(DestBB->getParent())); in MergeBasicBlockIntoOnlyPred()