Lines Matching full:updates

64     SmallVectorImpl<DominatorTree::UpdateType> *Updates,  in detachDeadBlocks()  argument
72 if (Updates && UniqueSuccessors.insert(Succ).second) in detachDeadBlocks()
73 Updates->push_back({DominatorTree::Delete, BB, Succ}); in detachDeadBlocks()
92 "applying corresponding DTU updates."); in detachDeadBlocks()
112 SmallVector<DominatorTree::UpdateType, 4> Updates; in DeleteDeadBlocks() local
113 detachDeadBlocks(BBs, DTU ? &Updates : nullptr, KeepOneInputPHIs); in DeleteDeadBlocks()
116 DTU->applyUpdates(Updates); in DeleteDeadBlocks()
157 MemDep->removeInstruction(PN); // Memdep updates AA itself. in FoldSingleEntryPHINodes()
238 assert(!DTU && "cannot use both DT and DTU for updates"); in MergeBlockIntoPredecessor()
249 std::vector<DominatorTree::UpdateType> Updates; in MergeBlockIntoPredecessor() local
251 assert(!DT && "cannot use both DT and DTU for updates"); in MergeBlockIntoPredecessor()
256 Updates.reserve(Updates.size() + 2 * succ_size(BB) + 1); in MergeBlockIntoPredecessor()
259 // respectively, it is beneficial to have all insert updates first. Deleting in MergeBlockIntoPredecessor()
261 // making the blocks reachable again. Such DT updates lead to high compile in MergeBlockIntoPredecessor()
267 Updates.push_back({DominatorTree::Insert, PredBB, SuccOfBB}); in MergeBlockIntoPredecessor()
271 Updates.push_back({DominatorTree::Delete, BB, SuccOfBB}); in MergeBlockIntoPredecessor()
272 Updates.push_back({DominatorTree::Delete, PredBB, BB}); in MergeBlockIntoPredecessor()
325 DTU->applyUpdates(Updates); in MergeBlockIntoPredecessor()
914 SmallVector<DominatorTree::UpdateType, 3> Updates; in ehAwareSplitEdge() local
916 Updates.push_back({DominatorTree::Insert, BB, NewBB}); in ehAwareSplitEdge()
917 Updates.push_back({DominatorTree::Insert, NewBB, Succ}); in ehAwareSplitEdge()
918 Updates.push_back({DominatorTree::Delete, BB, Succ}); in ehAwareSplitEdge()
920 DTU.applyUpdates(Updates); in ehAwareSplitEdge()
924 MSSAU->applyUpdates(Updates, *DT); in ehAwareSplitEdge()
1053 SmallVector<DominatorTree::UpdateType, 8> Updates; in SplitBlockImpl() local
1056 Updates.push_back({DominatorTree::Insert, Old, New}); in SplitBlockImpl()
1057 Updates.reserve(Updates.size() + 2 * succ_size(New)); in SplitBlockImpl()
1060 Updates.push_back({DominatorTree::Insert, New, SuccessorOfOld}); in SplitBlockImpl()
1061 Updates.push_back({DominatorTree::Delete, Old, SuccessorOfOld}); in SplitBlockImpl()
1064 DTU->applyUpdates(Updates); in SplitBlockImpl()
1161 SmallVector<DominatorTree::UpdateType, 8> Updates; in UpdateAnalysisInformation() local
1163 Updates.push_back({DominatorTree::Insert, NewBB, OldBB}); in UpdateAnalysisInformation()
1164 Updates.reserve(Updates.size() + 2 * Preds.size()); in UpdateAnalysisInformation()
1167 Updates.push_back({DominatorTree::Insert, Pred, NewBB}); in UpdateAnalysisInformation()
1168 Updates.push_back({DominatorTree::Delete, Pred, OldBB}); in UpdateAnalysisInformation()
1170 DTU->applyUpdates(Updates); in UpdateAnalysisInformation()
1258 /// This also updates AliasAnalysis, if available.
1658 SmallVector<DominatorTree::UpdateType, 8> Updates; in SplitBlockAndInsertIfThenElse() local
1663 Updates.reserve(4 + 2 * UniqueOrigSuccessors.size()); in SplitBlockAndInsertIfThenElse()
1706 Updates.emplace_back(DominatorTree::Insert, Head, TrueBlock); in SplitBlockAndInsertIfThenElse()
1707 Updates.emplace_back(DominatorTree::Insert, Head, FalseBlock); in SplitBlockAndInsertIfThenElse()
1709 Updates.emplace_back(DominatorTree::Insert, TrueBlock, Tail); in SplitBlockAndInsertIfThenElse()
1711 Updates.emplace_back(DominatorTree::Insert, FalseBlock, Tail); in SplitBlockAndInsertIfThenElse()
1713 Updates.emplace_back(DominatorTree::Insert, Tail, UniqueOrigSuccessor); in SplitBlockAndInsertIfThenElse()
1715 Updates.emplace_back(DominatorTree::Delete, Head, UniqueOrigSuccessor); in SplitBlockAndInsertIfThenElse()
1716 DTU->applyUpdates(Updates); in SplitBlockAndInsertIfThenElse()
2153 SmallVector<DominatorTree::UpdateType, 16> Updates; in CreateControlFlowHub() local
2158 Updates.push_back({DominatorTree::Delete, In, Succ}); in CreateControlFlowHub()
2178 Updates.push_back({DominatorTree::Insert, In, FirstGuardBlock}); in CreateControlFlowHub()
2181 Updates.push_back({DominatorTree::Insert, GuardBlocks[i], Outgoing[i]}); in CreateControlFlowHub()
2182 Updates.push_back( in CreateControlFlowHub()
2185 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()
2187 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()
2189 DTU->applyUpdates(Updates); in CreateControlFlowHub()