Home
last modified time | relevance | path

Searched refs:DTUpdates (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/examples/IRTransforms/
H A DSimplifyCFG.cpp105 SmallVector<DominatorTree::UpdateType, 8> DTUpdates; in removeDeadBlocks_v2() local
122 DTUpdates.push_back({DominatorTree::Delete, &BB, Succ}); in removeDeadBlocks_v2()
132 DTU.applyUpdatesPermissive(DTUpdates); in removeDeadBlocks_v2()
177 SmallVector<DominatorTree::UpdateType, 8> DTUpdates; in eliminateCondBranches_v2() local
212 DTU.applyUpdatesPermissive(DTUpdates); in eliminateCondBranches_v2()
222 SmallVector<DominatorTree::UpdateType, 8> DTUpdates; in eliminateCondBranches_v3() local
259 DTU.applyUpdatesPermissive(DTUpdates); in eliminateCondBranches_v3()
309 SmallVector<DominatorTree::UpdateType, 8> DTUpdates; in mergeIntoSinglePredecessor_v2() local
326 DTUpdates.push_back({DominatorTree::Delete, &BB, Succ}); in mergeIntoSinglePredecessor_v2()
330 DTUpdates.push_back({DominatorTree::Delete, Pred, &BB}); in mergeIntoSinglePredecessor_v2()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp120 SmallVector<DominatorTree::UpdateType, 16> DTUpdates; member in __anon5fa539ba0111::ConstantTerminatorFoldingImpl
380 DTUpdates.push_back({DominatorTree::Insert, Preheader, BB}); in handleDeadExits()
414 MSSAU->applyUpdates(DTUpdates, DT, /*UpdateDT=*/true); in handleDeadExits()
416 DTU.applyUpdates(DTUpdates); in handleDeadExits()
417 DTUpdates.clear(); in handleDeadExits()
424 MSSAU->applyUpdates(DTUpdates, DT, /*UpdateDT=*/true); in handleDeadExits()
425 DTUpdates.clear(); in handleDeadExits()
469 DTU.applyUpdates(DTUpdates); in deleteDeadLoopBlocks()
470 DTUpdates.clear(); in deleteDeadLoopBlocks()
608 DTU.applyUpdates(DTUpdates); in run()
[all …]
H A DSimpleLoopUnswitch.cpp930 SmallVector<DominatorTree::UpdateType, 4> DTUpdates; in unswitchTrivialSwitch() local
945 DT.applyUpdates(DTUpdates); in unswitchTrivialSwitch()
2186 SmallVector<DominatorTree::UpdateType, 4> DTUpdates; in unswitchNontrivialInvariants() local
2263 DTUpdates.push_back( in unswitchNontrivialInvariants()
2268 DT.applyUpdates(DTUpdates); in unswitchNontrivialInvariants()
2269 DTUpdates.clear(); in unswitchNontrivialInvariants()
2345 DT.applyUpdates(DTUpdates); in unswitchNontrivialInvariants()
2346 DTUpdates.clear(); in unswitchNontrivialInvariants()
2357 DT.applyUpdates(DTUpdates); in unswitchNontrivialInvariants()
2580 SmallVector<DominatorTree::UpdateType, 4> DTUpdates; in turnGuardIntoBranch() local
[all …]
H A DLoopInterchange.cpp1441 DTUpdates.push_back( in updateSuccessor()
1443 DTUpdates.push_back( in updateSuccessor()
1548 std::vector<DominatorTree::UpdateType> DTUpdates; in adjustLoopBranches() local
1609 InnerLoopPreHeader, DTUpdates, /*MustUpdateOnce=*/false); in adjustLoopBranches()
1615 DTUpdates, in adjustLoopBranches()
1619 InnerLoopHeaderSuccessor, DTUpdates, in adjustLoopBranches()
1627 OuterLoopPreHeader, DTUpdates); in adjustLoopBranches()
1636 InnerLoopLatchSuccessor, DTUpdates); in adjustLoopBranches()
1644 OuterLoopLatchSuccessor, DTUpdates); in adjustLoopBranches()
1646 DTUpdates); in adjustLoopBranches()
[all …]
H A DLowerMatrixIntrinsics.cpp1298 SmallVector<DominatorTree::UpdateType, 4> DTUpdates; in getNonAliasingPointer() local
1300 DTUpdates.push_back({DT->Delete, Check0, Succ}); in getNonAliasingPointer()
1359 DTUpdates.push_back({DT->Insert, Check0, Check1}); in getNonAliasingPointer()
1360 DTUpdates.push_back({DT->Insert, Check0, Fusion}); in getNonAliasingPointer()
1361 DTUpdates.push_back({DT->Insert, Check1, Copy}); in getNonAliasingPointer()
1362 DTUpdates.push_back({DT->Insert, Check1, Fusion}); in getNonAliasingPointer()
1363 DT->applyUpdates(DTUpdates); in getNonAliasingPointer()
H A DDFAJumpThreading.cpp1192 std::vector<DominatorTree::UpdateType> DTUpdates; in updateLastSuccessor() local
1196 DTUpdates.push_back({DominatorTree::Delete, LastBlock, Succ}); in updateLastSuccessor()
1202 DTU->applyUpdates(DTUpdates); in updateLastSuccessor()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSILateBranchLowering.cpp110 SmallVector<DomTreeT::UpdateType, 16> DTUpdates; in splitBlock() local
112 DTUpdates.push_back({DomTreeT::Insert, SplitBB, Succ}); in splitBlock()
113 DTUpdates.push_back({DomTreeT::Delete, &MBB, Succ}); in splitBlock()
115 DTUpdates.push_back({DomTreeT::Insert, &MBB, SplitBB}); in splitBlock()
116 MDT->getBase().applyUpdates(DTUpdates); in splitBlock()
H A DSIWholeQuadMode.cpp794 SmallVector<DomTreeT::UpdateType, 16> DTUpdates; in splitBlock() local
796 DTUpdates.push_back({DomTreeT::Insert, SplitBB, Succ}); in splitBlock()
797 DTUpdates.push_back({DomTreeT::Delete, BB, Succ}); in splitBlock()
799 DTUpdates.push_back({DomTreeT::Insert, BB, SplitBB}); in splitBlock()
801 MDT->getBase().applyUpdates(DTUpdates); in splitBlock()
803 PDT->getBase().applyUpdates(DTUpdates); in splitBlock()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp571 SmallVector<DominatorTree::UpdateType, 4> DTUpdates; in UnrollAndJamLoop() local
572 DTUpdates.emplace_back(DominatorTree::UpdateKind::Delete, ForeBlocksLast[0], in UnrollAndJamLoop()
574 DTUpdates.emplace_back(DominatorTree::UpdateKind::Delete, in UnrollAndJamLoop()
577 DTUpdates.emplace_back(DominatorTree::UpdateKind::Insert, in UnrollAndJamLoop()
579 DTUpdates.emplace_back(DominatorTree::UpdateKind::Insert, in UnrollAndJamLoop()
581 DTU.applyUpdatesPermissive(DTUpdates); in UnrollAndJamLoop()
H A DBasicBlockUtils.cpp872 SmallVector<DominatorTree::UpdateType, 8> DTUpdates; in splitBlockBefore() local
876 DTUpdates.push_back({DominatorTree::Insert, New, Old}); in splitBlockBefore()
877 DTUpdates.reserve(DTUpdates.size() + 2 * pred_size(New)); in splitBlockBefore()
880 DTUpdates.push_back({DominatorTree::Insert, PredecessorOfOld, New}); in splitBlockBefore()
881 DTUpdates.push_back({DominatorTree::Delete, PredecessorOfOld, Old}); in splitBlockBefore()
884 DTU->applyUpdates(DTUpdates); in splitBlockBefore()
889 MSSAU->applyUpdates(DTUpdates, DTU->getDomTree()); in splitBlockBefore()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemorySSATest.cpp1844 SmallVector<DominatorTree::UpdateType, 4> DTUpdates; in TEST_F() local
1845 DTUpdates.push_back(DominatorTree::UpdateType( in TEST_F()
1847 Updater.applyUpdates(DTUpdates, Analyses->DT, true); in TEST_F()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp11381 auto DTUpdates = std::move(PendingDeducedTypeUpdates); in FinishedDeserializing() local
11383 for (auto Update : DTUpdates) { in FinishedDeserializing()