Home
last modified time | relevance | path

Searched refs:UpdateStrategy (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDomTreeUpdater.h29 enum class UpdateStrategy : unsigned char { Eager = 0, Lazy = 1 }; enum
31 explicit DomTreeUpdater(UpdateStrategy Strategy_) : Strategy(Strategy_) {} in DomTreeUpdater()
32 DomTreeUpdater(DominatorTree &DT_, UpdateStrategy Strategy_) in DomTreeUpdater()
34 DomTreeUpdater(DominatorTree *DT_, UpdateStrategy Strategy_) in DomTreeUpdater()
36 DomTreeUpdater(PostDominatorTree &PDT_, UpdateStrategy Strategy_) in DomTreeUpdater()
38 DomTreeUpdater(PostDominatorTree *PDT_, UpdateStrategy Strategy_) in DomTreeUpdater()
41 UpdateStrategy Strategy_) in DomTreeUpdater()
44 UpdateStrategy Strategy_) in DomTreeUpdater()
50 bool isLazy() const { return Strategy == UpdateStrategy::Lazy; }; in isLazy()
53 bool isEager() const { return Strategy == UpdateStrategy::Eager; }; in isEager()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDomTreeUpdater.cpp61 assert(Strategy == DomTreeUpdater::UpdateStrategy::Lazy && in applyLazyUpdate()
94 if (Strategy != UpdateStrategy::Lazy || !DT) in applyDomTreeUpdates()
115 if (Strategy != UpdateStrategy::Lazy || !PDT) in applyPostDomTreeUpdates()
159 if (Strategy == UpdateStrategy::Eager) { in recalculate()
207 if (Strategy == UpdateStrategy::Eager || DeletedBBs.empty()) in isBBPendingDeletion()
219 if (Strategy == UpdateStrategy::Lazy) { in deleteBB()
232 if (Strategy == UpdateStrategy::Lazy) { in callbackDeleteBB()
275 if (Strategy == UpdateStrategy::Lazy || ForceRemoveDuplicates) { in applyUpdates()
285 if (Strategy == UpdateStrategy::Lazy) in applyUpdates()
288 if (Strategy == UpdateStrategy::Lazy) in applyUpdates()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DDomTreeUpdaterTest.cpp57 DomTreeUpdater DTU(DT, PDT, DomTreeUpdater::UpdateStrategy::Eager); in TEST()
167 DomTreeUpdater DTU(DT, PDT, DomTreeUpdater::UpdateStrategy::Eager); in TEST()
241 DomTreeUpdater DTU(&DT, PDT, DomTreeUpdater::UpdateStrategy::Lazy); in TEST()
330 DomTreeUpdater DTU(&DT, PDT, DomTreeUpdater::UpdateStrategy::Lazy); in TEST()
457 DomTreeUpdater DTU(&DT, &PDT, DomTreeUpdater::UpdateStrategy::Lazy); in TEST()
540 DomTreeUpdater DTU(DT, PDT, DomTreeUpdater::UpdateStrategy::Lazy); in TEST()
629 DomTreeUpdater DTU(DT, PDT, DomTreeUpdater::UpdateStrategy::Lazy); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp352 DomTreeUpdater DTU(DT, DomTreeUpdater::UpdateStrategy::Eager); in perform()