Lines Matching refs:Updates
260 std::vector <DominatorTree::UpdateType> Updates; in ConstantFoldTerminator() local
262 Updates.reserve(SI->getNumSuccessors() - 1); in ConstantFoldTerminator()
272 Updates.push_back({DominatorTree::Delete, BB, Succ}); in ConstantFoldTerminator()
282 DTU->applyUpdatesPermissive(Updates); in ConstantFoldTerminator()
328 std::vector <DominatorTree::UpdateType> Updates; in ConstantFoldTerminator() local
330 Updates.reserve(IBI->getNumDestinations() - 1); in ConstantFoldTerminator()
343 Updates.push_back({DominatorTree::Delete, ParentBB, DestBB}); in ConstantFoldTerminator()
366 DTU->applyUpdatesPermissive(Updates); in ConstantFoldTerminator()
756 SmallVector<DominatorTree::UpdateType, 32> Updates; in MergeBasicBlockIntoOnlyPred() local
759 Updates.push_back({DominatorTree::Delete, PredBB, DestBB}); in MergeBasicBlockIntoOnlyPred()
761 Updates.push_back({DominatorTree::Delete, *I, PredBB}); in MergeBasicBlockIntoOnlyPred()
764 Updates.push_back({DominatorTree::Insert, *I, DestBB}); in MergeBasicBlockIntoOnlyPred()
797 DTU->applyUpdatesPermissive(Updates); in MergeBasicBlockIntoOnlyPred()
1068 SmallVector<DominatorTree::UpdateType, 32> Updates; in TryToSimplifyUncondBranchFromEmptyBlock() local
1070 Updates.push_back({DominatorTree::Delete, BB, Succ}); in TryToSimplifyUncondBranchFromEmptyBlock()
1073 Updates.push_back({DominatorTree::Delete, *I, BB}); in TryToSimplifyUncondBranchFromEmptyBlock()
1076 Updates.push_back({DominatorTree::Insert, *I, Succ}); in TryToSimplifyUncondBranchFromEmptyBlock()
1133 DTU->applyUpdatesPermissive(Updates); in TryToSimplifyUncondBranchFromEmptyBlock()
2041 std::vector <DominatorTree::UpdateType> Updates; in changeToUnreachable() local
2049 Updates.reserve(BB->getTerminator()->getNumSuccessors()); in changeToUnreachable()
2053 Updates.push_back({DominatorTree::Delete, BB, Successor}); in changeToUnreachable()
2076 DTU->applyUpdatesPermissive(Updates); in changeToUnreachable()
2390 std::vector<DominatorTree::UpdateType> Updates; in removeUnreachableBlocks() local
2396 Updates.push_back({DominatorTree::Delete, BB, Successor}); in removeUnreachableBlocks()
2414 DTU->applyUpdatesPermissive(Updates); in removeUnreachableBlocks()