Home
last modified time | relevance | path

Searched refs:PostDominatorTree (Results 1 – 25 of 44) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DPostDominators.h28 class PostDominatorTree : public PostDomTreeBase<BasicBlock> {
32 PostDominatorTree() = default;
33 explicit PostDominatorTree(Function &F) { recalculate(F); } in PostDominatorTree() function
55 using Result = PostDominatorTree;
59 PostDominatorTree run(Function &F, FunctionAnalysisManager &);
76 PostDominatorTree DT;
80 PostDominatorTree &getPostDomTree() { return DT; } in getPostDomTree()
98 template <> struct GraphTraits<PostDominatorTree*>
100 static NodeRef getEntryNode(PostDominatorTree *DT) {
104 static nodes_iterator nodes_begin(PostDominatorTree *N) {
[all …]
H A DDomTreeUpdater.h26 class PostDominatorTree; variable
37 DomTreeUpdater(PostDominatorTree &PDT_, UpdateStrategy Strategy_) in DomTreeUpdater()
39 DomTreeUpdater(PostDominatorTree *PDT_, UpdateStrategy Strategy_) in DomTreeUpdater()
41 DomTreeUpdater(DominatorTree &DT_, PostDominatorTree &PDT_, in DomTreeUpdater()
44 DomTreeUpdater(DominatorTree *DT_, PostDominatorTree *PDT_, in DomTreeUpdater()
190 PostDominatorTree &getPostDomTree();
223 PostDominatorTree *PDT = nullptr;
H A DSyncDependenceAnalysis.h31 class PostDominatorTree; variable
63 SyncDependenceAnalysis(const DominatorTree &DT, const PostDominatorTree &PDT,
83 const PostDominatorTree &PDT;
H A DDomPrinter.h61 struct DOTGraphTraits<PostDominatorTree *>
67 static std::string getGraphName(PostDominatorTree *DT) {
72 PostDominatorTree *G) {
H A DBranchProbabilityInfo.h38 class PostDominatorTree; variable
120 PostDominatorTree *PDT = nullptr) {
199 PostDominatorTree *PDT);
391 PostDominatorTree *PDT, uint32_t BBWeight,
400 PostDominatorTree *PDT);
H A DMustExecute.h43 class PostDominatorTree; variable
407 GetterTy<const PostDominatorTree> PDTGetter =
527 GetterTy<const PostDominatorTree> PDTGetter;
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DCodeMoverUtils.h23 class PostDominatorTree; variable
30 const PostDominatorTree &PDT);
37 const PostDominatorTree &PDT);
42 const PostDominatorTree *PDT = nullptr,
50 const PostDominatorTree *PDT = nullptr,
57 const PostDominatorTree &PDT,
63 DominatorTree &DT, const PostDominatorTree &PDT,
73 const PostDominatorTree *PDT);
77 const DominatorTree *DT, const PostDominatorTree *PDT);
H A DMemoryTaggingSupport.h25 class PostDominatorTree; variable
36 bool forAllReachableExits(const DominatorTree &DT, const PostDominatorTree &PDT,
H A DSCCPSolver.h33 class PostDominatorTree; variable
43 PostDominatorTree *PDT;
H A DBasicBlockUtils.h39 class PostDominatorTree; variable
144 PostDominatorTree *PDT;
159 PostDominatorTree *PDT = nullptr)
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DDomPrinter.cpp78 static PostDominatorTree *getGraph(PostDominatorTreeWrapperPass *PDTWP) { in getGraph()
85 PostDominatorTreeWrapperPass, false, PostDominatorTree *,
90 PostDominatorTreeWrapperPass, false, PostDominatorTree *, in PostDomViewerWrapperPass()
99 PostDominatorTreeWrapperPass, true, PostDominatorTree *,
104 PostDominatorTreeWrapperPass, true, PostDominatorTree *, in PostDomOnlyViewerWrapperPass()
161 PostDominatorTreeWrapperPass, false, PostDominatorTree *,
166 PostDominatorTreeWrapperPass, false, PostDominatorTree *, in PostDomPrinterWrapperPass()
175 PostDominatorTreeWrapperPass, true, PostDominatorTree *,
180 PostDominatorTreeWrapperPass, true, PostDominatorTree *, in PostDomOnlyPrinterWrapperPass()
H A DPostDominators.cpp45 bool PostDominatorTree::invalidate(Function &F, const PreservedAnalyses &PA, in invalidate()
54 bool PostDominatorTree::dominates(const Instruction *I1, in dominates()
83 assert(DT.verify(PostDominatorTree::VerificationLevel::Full)); in verifyAnalysis()
85 assert(DT.verify(PostDominatorTree::VerificationLevel::Basic)); in verifyAnalysis()
98 PostDominatorTree PostDominatorTreeAnalysis::run(Function &F, in run()
100 PostDominatorTree PDT(F); in run()
H A DSyncDependenceAnalysis.cpp251 const PostDominatorTree &PDT, in SyncDependenceAnalysis()
264 const PostDominatorTree &PDT;
279 const PostDominatorTree &PDT, const LoopInfo &LI, in DivergencePropagator()
H A DMustExecute.cpp362 SmallVector<std::unique_ptr<PostDominatorTree>, 8> PDTs; in runOnModule()
375 GetterTy<PostDominatorTree> PDTGetter = [&](const Function &F) { in runOnModule()
377 std::make_unique<PostDominatorTree>(const_cast<Function &>(F))); in runOnModule()
502 const PostDominatorTree *PDT = PDTGetter(*InitBB->getParent()); in findForwardJoinPoint()
856 GetterTy<const PostDominatorTree> PDTGetter = [&](const Function &F) { in run()
H A DBranchProbabilityInfo.cpp743 const LoopBlock &LoopBB, DominatorTree *DT, PostDominatorTree *PDT, in propagateEstimatedBlockWeight()
820 const Function &F, DominatorTree *DT, PostDominatorTree *PDT) { in computeEestimateBlockWeight()
1225 PostDominatorTree *PDT) { in calculate()
1237 std::unique_ptr<PostDominatorTree> PDTPtr; in calculate()
1245 PDTPtr = std::make_unique<PostDominatorTree>(const_cast<Function &>(F)); in calculate()
1300 PostDominatorTree &PDT = in runOnFunction()
H A DLegacyDivergenceAnalysis.cpp99 PostDominatorTree &PDT, DenseSet<const Value *> &DV, in DivergencePropagator()
122 PostDominatorTree &PDT;
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DLocalTest.cpp238 PostDominatorTree PDT = PostDominatorTree(F); in TEST()
255 PostDominatorTree PDT = PostDominatorTree(F); in TEST()
264 PostDominatorTree PDT = PostDominatorTree(F); in TEST()
273 PostDominatorTree PDT = PostDominatorTree(F); in TEST()
289 PostDominatorTree PDT = PostDominatorTree(F); in TEST()
306 PostDominatorTree PDT = PostDominatorTree(F); in TEST()
315 PostDominatorTree PDT = PostDominatorTree(F); in TEST()
324 PostDominatorTree PDT = PostDominatorTree(F); in TEST()
439 PostDominatorTree PDT = PostDominatorTree(F); in TEST()
451 PostDominatorTree PDT = PostDominatorTree(F); in TEST()
[all …]
H A DCodeMoverUtilsTest.cpp39 PostDominatorTree PDT(*F); in run()
97 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
188 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
248 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
318 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
372 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
422 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
486 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
578 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
612 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
[all …]
/llvm-project-15.0.7/llvm/unittests/IR/
H A DDominatorTreeBatchUpdatesTest.cpp26 std::is_same<DomUpdate, PostDominatorTree::UpdateType>::value,
98 PostDominatorTree PDT(*Holder.F); in TEST()
120 PostDominatorTree PDT(*Holder.F); in TEST()
146 PostDominatorTree PDT(*Holder.F); in TEST()
179 PostDominatorTree PDT(*Holder.F); in TEST()
210 PostDominatorTree PDT(*Holder.F); in TEST()
243 PostDominatorTree PDT(*Holder.F); in TEST()
276 PostDominatorTree PDT(*Holder.F); in TEST()
309 PostDominatorTree PDT(*Holder.F); in TEST()
339 PostDominatorTree PDT(*Holder.F); in TEST()
H A DDominatorTreeTest.cpp34 PostDominatorTree PDT(*F); in runWithDomTree()
438 PostDominatorTree NPDT(F); in TEST()
530 PostDominatorTree NPDT(F); in TEST()
625 PostDominatorTree NPDT(F); in TEST()
722 PostDominatorTree PDT(*Holder.F); in TEST()
748 PostDominatorTree PDT(*Holder.F); in TEST()
776 PostDominatorTree PDT(*Holder.F); in TEST()
797 PostDominatorTree PDT(*Holder.F); in TEST()
827 PostDominatorTree PDT(*Holder.F); in TEST()
884 PostDominatorTree PDT(*Holder.F); in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp66 const PostDominatorTree &PDT,
110 const PostDominatorTree &PDT, unsigned MaxLookup) { in collectControlConditions()
231 const PostDominatorTree &PDT) { in isControlFlowEquivalent()
237 const PostDominatorTree &PDT) { in isControlFlowEquivalent()
311 DominatorTree &DT, const PostDominatorTree *PDT, in isSafeToMoveBefore()
398 DominatorTree &DT, const PostDominatorTree *PDT, in isSafeToMoveBefore()
411 const PostDominatorTree &PDT, in moveInstructionsToTheBeginning()
424 const PostDominatorTree &PDT, in moveInstructionsToTheEnd()
437 const PostDominatorTree *PDT) { in nonStrictlyPostDominate()
469 const PostDominatorTree *PDT) { in isReachedBefore()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DDomTreeUpdaterTest.cpp55 PostDominatorTree PDT(*F); in TEST()
166 PostDominatorTree PDT(*F); in TEST()
240 PostDominatorTree *PDT = nullptr; in TEST()
329 PostDominatorTree *PDT = nullptr; in TEST()
458 PostDominatorTree PDT(*F); in TEST()
541 PostDominatorTree PDT(*F); in TEST()
630 PostDominatorTree PDT(*F); in TEST()
H A DDivergenceAnalysisTest.cpp51 std::unique_ptr<PostDominatorTree> PDT;
59 PDT.reset(new PostDominatorTree(F)); in buildDA()
/llvm-project-15.0.7/llvm/test/Transforms/StructurizeCFG/
H A Dno-branch-to-entry.ll5 ; PostDominatorTree.
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp439 const PostDominatorTree &PDT) { in create()
597 std::unique_ptr<PostDominatorTree> PDT; in outlineColdRegions()
629 PDT = std::make_unique<PostDominatorTree>(F); in outlineColdRegions()

12