Lines Matching refs:Updates
170 SmallVector<DominatorTree::UpdateType, 8> Updates; in runOnFunction() local
172 Updates.reserve(IndirectBrSuccs.size()); in runOnFunction()
176 Updates.push_back({DominatorTree::Delete, IBr->getParent(), SuccBB}); in runOnFunction()
182 assert(Updates.size() == IndirectBrSuccs.size() && in runOnFunction()
184 DTU->applyUpdates(Updates); in runOnFunction()
207 SmallVector<DominatorTree::UpdateType, 8> Updates; in runOnFunction() local
216 Updates.reserve(IndirectBrSuccs.size()); in runOnFunction()
218 Updates.push_back({DominatorTree::Delete, IBr->getParent(), SuccBB}); in runOnFunction()
219 assert(Updates.size() == IndirectBrSuccs.size() && in runOnFunction()
235 Updates.reserve(IndirectBrs.size() + 2 * IndirectBrSuccs.size()); in runOnFunction()
240 Updates.push_back({DominatorTree::Insert, IBr->getParent(), SwitchBB}); in runOnFunction()
242 Updates.push_back({DominatorTree::Delete, IBr->getParent(), SuccBB}); in runOnFunction()
260 Updates.reserve(Updates.size() + BBs.size()); in runOnFunction()
263 Updates.push_back({DominatorTree::Insert, SwitchBB, BB}); in runOnFunction()
265 DTU->applyUpdates(Updates); in runOnFunction()