Lines Matching refs:DestBB
346 BasicBlock *DestBB = IBI->getDestination(i); in ConstantFoldTerminator() local
347 if (DTU && DestBB != TheOnlyDest) in ConstantFoldTerminator()
348 RemovedSuccessors.insert(DestBB); in ConstantFoldTerminator()
352 DestBB->removePredecessor(BB); in ConstantFoldTerminator()
748 void llvm::MergeBasicBlockIntoOnlyPred(BasicBlock *DestBB, in MergeBasicBlockIntoOnlyPred() argument
752 while (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) { in MergeBasicBlockIntoOnlyPred()
760 BasicBlock *PredBB = DestBB->getSinglePredecessor(); in MergeBasicBlockIntoOnlyPred()
777 Updates.push_back({DominatorTree::Insert, PredOfPredBB, DestBB}); in MergeBasicBlockIntoOnlyPred()
782 Updates.push_back({DominatorTree::Delete, PredBB, DestBB}); in MergeBasicBlockIntoOnlyPred()
787 if (DestBB->hasAddressTaken()) { in MergeBasicBlockIntoOnlyPred()
788 BlockAddress *BA = BlockAddress::get(DestBB); in MergeBasicBlockIntoOnlyPred()
797 PredBB->replaceAllUsesWith(DestBB); in MergeBasicBlockIntoOnlyPred()
801 DestBB->getInstList().splice(DestBB->begin(), PredBB->getInstList()); in MergeBasicBlockIntoOnlyPred()
807 DestBB->moveAfter(PredBB); in MergeBasicBlockIntoOnlyPred()
822 DTU->recalculate(*(DestBB->getParent())); in MergeBasicBlockIntoOnlyPred()