Lines Matching refs:DestBB
350 BasicBlock *DestBB = IBI->getDestination(i); in ConstantFoldTerminator() local
351 if (DTU && DestBB != TheOnlyDest) in ConstantFoldTerminator()
352 RemovedSuccessors.insert(DestBB); in ConstantFoldTerminator()
356 DestBB->removePredecessor(BB); in ConstantFoldTerminator()
764 void llvm::MergeBasicBlockIntoOnlyPred(BasicBlock *DestBB, in MergeBasicBlockIntoOnlyPred() argument
768 while (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) { in MergeBasicBlockIntoOnlyPred()
776 BasicBlock *PredBB = DestBB->getSinglePredecessor(); in MergeBasicBlockIntoOnlyPred()
793 Updates.push_back({DominatorTree::Insert, PredOfPredBB, DestBB}); in MergeBasicBlockIntoOnlyPred()
798 Updates.push_back({DominatorTree::Delete, PredBB, DestBB}); in MergeBasicBlockIntoOnlyPred()
803 if (DestBB->hasAddressTaken()) { in MergeBasicBlockIntoOnlyPred()
804 BlockAddress *BA = BlockAddress::get(DestBB); in MergeBasicBlockIntoOnlyPred()
813 PredBB->replaceAllUsesWith(DestBB); in MergeBasicBlockIntoOnlyPred()
817 DestBB->splice(DestBB->begin(), PredBB); in MergeBasicBlockIntoOnlyPred()
823 DestBB->moveAfter(PredBB); in MergeBasicBlockIntoOnlyPred()
838 DTU->recalculate(*(DestBB->getParent())); in MergeBasicBlockIntoOnlyPred()