Lines Matching refs:Updates
234 std::vector <DominatorTree::UpdateType> Updates; in ConstantFoldTerminator() local
236 Updates.reserve(SI->getNumSuccessors() - 1); in ConstantFoldTerminator()
246 Updates.push_back({DominatorTree::Delete, BB, Succ}); in ConstantFoldTerminator()
256 DTU->applyUpdates(Updates, /*ForceRemoveDuplicates*/ true); in ConstantFoldTerminator()
302 std::vector <DominatorTree::UpdateType> Updates; in ConstantFoldTerminator() local
304 Updates.reserve(IBI->getNumDestinations() - 1); in ConstantFoldTerminator()
317 Updates.push_back({DominatorTree::Delete, ParentBB, DestBB}); in ConstantFoldTerminator()
334 DTU->applyUpdates(Updates, /*ForceRemoveDuplicates*/ true); in ConstantFoldTerminator()
696 SmallVector<DominatorTree::UpdateType, 32> Updates; in MergeBasicBlockIntoOnlyPred() local
699 Updates.push_back({DominatorTree::Delete, PredBB, DestBB}); in MergeBasicBlockIntoOnlyPred()
701 Updates.push_back({DominatorTree::Delete, *I, PredBB}); in MergeBasicBlockIntoOnlyPred()
704 Updates.push_back({DominatorTree::Insert, *I, DestBB}); in MergeBasicBlockIntoOnlyPred()
737 DTU->applyUpdates(Updates, /*ForceRemoveDuplicates*/ true); in MergeBasicBlockIntoOnlyPred()
1002 SmallVector<DominatorTree::UpdateType, 32> Updates; in TryToSimplifyUncondBranchFromEmptyBlock() local
1004 Updates.push_back({DominatorTree::Delete, BB, Succ}); in TryToSimplifyUncondBranchFromEmptyBlock()
1007 Updates.push_back({DominatorTree::Delete, *I, BB}); in TryToSimplifyUncondBranchFromEmptyBlock()
1010 Updates.push_back({DominatorTree::Insert, *I, Succ}); in TryToSimplifyUncondBranchFromEmptyBlock()
1067 DTU->applyUpdates(Updates, /*ForceRemoveDuplicates*/ true); in TryToSimplifyUncondBranchFromEmptyBlock()
1899 std::vector <DominatorTree::UpdateType> Updates; in changeToUnreachable() local
1904 Updates.reserve(BB->getTerminator()->getNumSuccessors()); in changeToUnreachable()
1908 Updates.push_back({DominatorTree::Delete, BB, Successor}); in changeToUnreachable()
1931 DTU->applyUpdates(Updates, /*ForceRemoveDuplicates*/ true); in changeToUnreachable()
2227 std::vector<DominatorTree::UpdateType> Updates; in removeUnreachableBlocks() local
2233 Updates.push_back({DominatorTree::Delete, BB, Successor}); in removeUnreachableBlocks()
2259 DTU->applyUpdates(Updates, /*ForceRemoveDuplicates*/ true); in removeUnreachableBlocks()