Home
last modified time | relevance | path

Searched refs:UpdateKind (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCFGUpdate.h26 enum class UpdateKind : unsigned char { Insert, Delete }; enum
29 using NodeKindPair = PointerIntPair<NodePtr, 1, UpdateKind>;
34 Update(UpdateKind Kind, NodePtr From, NodePtr To) in Update()
37 UpdateKind getKind() const { return ToAndKind.getInt(); } in getKind()
45 OS << (getKind() == UpdateKind::Insert ? "Insert " : "Delete "); in print()
80 Operations[{From, To}] += (U.getKind() == UpdateKind::Insert ? 1 : -1);
90 const UpdateKind UK =
91 NumInsertions > 0 ? UpdateKind::Insert : UpdateKind::Delete;
H A DCFGDiff.h100 (U.getKind() == cfg::UpdateKind::Insert) == !ReverseApplyUpdates;
117 (U.getKind() == cfg::UpdateKind::Insert) == !UpdatedAreReverseApplied; in popUpdateForIncrementalUpdates()
H A DGenericDomTree.h241 using UpdateKind = cfg::UpdateKind;
242 static constexpr UpdateKind Insert = UpdateKind::Insert;
243 static constexpr UpdateKind Delete = UpdateKind::Delete;
H A DGenericDomTreeConstruction.h79 using UpdateKind = typename DomTreeT::UpdateKind; member
1162 if (Update.getKind() == UpdateKind::Insert) in ApplyUpdates()
1168 if (Update.getKind() == UpdateKind::Insert) in ApplyUpdates()
1209 if (CurrentUpdate.getKind() == UpdateKind::Insert) in ApplyNextUpdate()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp572 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()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp1442 {DominatorTree::UpdateKind::Insert, BI->getParent(), NewBB}); in updateSuccessor()
1444 {DominatorTree::UpdateKind::Delete, BI->getParent(), OldBB}); in updateSuccessor()
H A DSimpleLoopUnswitch.cpp602 Updates.push_back({cfg::UpdateKind::Insert, OldPH, UnswitchedBB}); in unswitchTrivialBranch()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemorySSATest.cpp1467 Updates.push_back({cfg::UpdateKind::Insert, Entry, Exit}); in TEST_F()
1529 Updates.push_back({cfg::UpdateKind::Insert, Entry, Exit}); in TEST_F()
1598 Updates.push_back({cfg::UpdateKind::Insert, FBlock, CBlock}); in TEST_F()