Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DCFGUpdate.h27 enum class UpdateKind : unsigned char { Insert, Delete }; enum
30 using NodeKindPair = PointerIntPair<NodePtr, 1, UpdateKind>;
35 Update(UpdateKind Kind, NodePtr From, NodePtr To) in Update()
38 UpdateKind getKind() const { return ToAndKind.getInt(); } in getKind()
46 OS << (getKind() == UpdateKind::Insert ? "Insert " : "Delete "); in print()
81 Operations[{From, To}] += (U.getKind() == UpdateKind::Insert ? 1 : -1); in LegalizeUpdates()
91 const UpdateKind UK = in LegalizeUpdates()
92 NumInsertions > 0 ? UpdateKind::Insert : UpdateKind::Delete; in LegalizeUpdates()
H A DGenericDomTree.h233 using UpdateKind = cfg::UpdateKind;
234 static constexpr UpdateKind Insert = UpdateKind::Insert;
235 static constexpr UpdateKind Delete = UpdateKind::Delete;
H A DGenericDomTreeConstruction.h74 using UpdateKind = typename DomTreeT::UpdateKind; member
77 using NodePtrAndKind = PointerIntPair<NodePtr, 1, UpdateKind>;
141 const UpdateKind UK = ChildAndKind.getInt(); in Get()
144 if (UK == UpdateKind::Insert) { in Get()
1161 if (Update.getKind() == UpdateKind::Insert) in ApplyUpdates()
1236 if (CurrentUpdate.getKind() == UpdateKind::Insert) in ApplyNextUpdate()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp525 DTUpdates.emplace_back(DominatorTree::UpdateKind::Delete, ForeBlocksLast[0], in UnrollAndJamLoop()
527 DTUpdates.emplace_back(DominatorTree::UpdateKind::Delete, in UnrollAndJamLoop()
530 DTUpdates.emplace_back(DominatorTree::UpdateKind::Insert, in UnrollAndJamLoop()
532 DTUpdates.emplace_back(DominatorTree::UpdateKind::Insert, in UnrollAndJamLoop()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDomTreeUpdater.h226 bool applyLazyUpdate(DominatorTree::UpdateKind Kind, BasicBlock *From,
H A DCFGDiff.h109 if (U.getKind() == cfg::UpdateKind::Insert) { in GraphDiff()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDomTreeUpdater.cpp57 bool DomTreeUpdater::applyLazyUpdate(DominatorTree::UpdateKind Kind, in applyLazyUpdate()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp1307 {DominatorTree::UpdateKind::Insert, BI->getParent(), NewBB}); in updateSuccessor()
1309 {DominatorTree::UpdateKind::Delete, BI->getParent(), OldBB}); in updateSuccessor()
H A DSimpleLoopUnswitch.cpp498 Updates.push_back({cfg::UpdateKind::Insert, OldPH, UnswitchedBB}); in unswitchTrivialBranch()
2126 {cfg::UpdateKind::Insert, SplitBB, ClonedPHs.begin()->second}); in unswitchNontrivialInvariants()