Home
last modified time | relevance | path

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

12

/src/contrib/llvm-project/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 &);
78 PostDominatorTree DT;
82 PostDominatorTree &getPostDomTree() { return DT; } in getPostDomTree()
83 const PostDominatorTree &getPostDomTree() const { return DT; } in getPostDomTree()
100 template <> struct GraphTraits<PostDominatorTree*>
102 static NodeRef getEntryNode(PostDominatorTree *DT) {
[all …]
H A DDomTreeUpdater.h28 class PostDominatorTree; variable
32 PostDominatorTree> {
34 PostDominatorTree>;
38 GenericDomTreeUpdater<DomTreeUpdater, DominatorTree, PostDominatorTree>;
120 PostDominatorTree>;
124 PostDominatorTree>::recalculate(Function &F);
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) {
209 PostDominatorTree *PDT);
404 PostDominatorTree *PDT, uint32_t BBWeight,
413 PostDominatorTree *PDT);
H A DMustExecute.h43 class PostDominatorTree; variable
407 GetterTy<const PostDominatorTree> PDTGetter =
527 GetterTy<const PostDominatorTree> PDTGetter;
H A DRegionInfo.h63 class PostDominatorTree; variable
94 using PostDomTreeT = PostDominatorTree;
925 void recalculate(Function &F, DominatorTree *DT, PostDominatorTree *PDT,
/src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeMoverUtils.h26 class PostDominatorTree; variable
33 const PostDominatorTree &PDT);
40 const PostDominatorTree &PDT);
45 const PostDominatorTree *PDT = nullptr,
53 const PostDominatorTree *PDT = nullptr,
60 const PostDominatorTree &PDT,
66 DominatorTree &DT, const PostDominatorTree &PDT,
76 const PostDominatorTree *PDT);
80 const DominatorTree *DT, const PostDominatorTree *PDT);
H A DMemoryTaggingSupport.h27 class PostDominatorTree; variable
38 bool forAllReachableExits(const DominatorTree &DT, const PostDominatorTree &PDT,
H A DBasicBlockUtils.h40 class PostDominatorTree; variable
147 PostDominatorTree *PDT;
162 PostDominatorTree *PDT = nullptr)
/src/contrib/llvm-project/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 DDomTreeUpdater.cpp28 PostDominatorTree>;
32 PostDominatorTree>::recalculate(Function &F);
H A DBranchProbabilityInfo.cpp733 const LoopBlock &LoopBB, DominatorTree *DT, PostDominatorTree *PDT, in propagateEstimatedBlockWeight()
807 const Function &F, DominatorTree *DT, PostDominatorTree *PDT) { in computeEestimateBlockWeight()
1226 PostDominatorTree *PDT) { in calculate()
1238 std::unique_ptr<PostDominatorTree> PDTPtr; in calculate()
1246 PDTPtr = std::make_unique<PostDominatorTree>(const_cast<Function &>(F)); in calculate()
1300 PostDominatorTree &PDT = in runOnFunction()
H A DRegionInfo.cpp97 PostDominatorTree *PDT_, DominanceFrontier *DF_) { in recalculate()
H A DMustExecute.cpp407 const PostDominatorTree *PDT = PDTGetter(*InitBB->getParent()); in findForwardJoinPoint()
761 GetterTy<const PostDominatorTree> PDTGetter = [&](const Function &F) { in run()
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp65 const PostDominatorTree &PDT,
111 const PostDominatorTree &PDT, in collectControlConditions()
233 const PostDominatorTree &PDT) { in isControlFlowEquivalent()
239 const PostDominatorTree &PDT) { in isControlFlowEquivalent()
313 DominatorTree &DT, const PostDominatorTree *PDT, in isSafeToMoveBefore()
413 DominatorTree &DT, const PostDominatorTree *PDT, in isSafeToMoveBefore()
426 const PostDominatorTree &PDT, in moveInstructionsToTheBeginning()
439 const PostDominatorTree &PDT, in moveInstructionsToTheEnd()
452 const PostDominatorTree *PDT) { in nonStrictlyPostDominate()
484 const PostDominatorTree *PDT) { in isReachedBefore()
/src/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DMemCpyOptimizer.h37 class PostDominatorTree; variable
48 PostDominatorTree *PDT = nullptr;
59 AssumptionCache *AC, DominatorTree *DT, PostDominatorTree *PDT,
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp71 bool run(Function &F, DominatorTree *DT, const PostDominatorTree &PDT,
189 const PostDominatorTree &PDT, in run()
/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp498 const PostDominatorTree &PDT) { in create()
661 std::unique_ptr<PostDominatorTree> PDT; in outlineColdRegions()
700 PDT = std::make_unique<PostDominatorTree>(F); in outlineColdRegions()
/src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp209 function_ref<const PostDominatorTree &(Function &F)>;
296 auto PDTCallback = [&FAM](Function &F) -> const PostDominatorTree & { in run()
536 const PostDominatorTree &PDT) { in isFullPostDominator()
547 const PostDominatorTree &PDT, in shouldInstrumentBlock()
650 const PostDominatorTree &PDT = PDTCallback(F); in instrumentFunction()
/src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp553 std::unique_ptr<PostDominatorTree> DeletePDT; in runOnFunction()
554 PostDominatorTree *PDT = nullptr; in runOnFunction()
559 DeletePDT = std::make_unique<PostDominatorTree>(*F); in runOnFunction()
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp126 PostDominatorTree &PDT;
201 PostDominatorTree &PDT) in AggressiveDeadCodeElimination()
H A DJumpTableToSwitch.cpp150 PostDominatorTree *PDT = AM.getCachedResult<PostDominatorTreeAnalysis>(F); in run()
H A DGVNHoist.cpp246 GVNHoist(DominatorTree *DT, PostDominatorTree *PDT, AliasAnalysis *AA, in GVNHoist()
266 PostDominatorTree *PDT;
1206 PostDominatorTree &PDT = AM.getResult<PostDominatorTreeAnalysis>(F); in run()
H A DLoopFuse.cpp182 const PostDominatorTree *PDT;
186 FusionCandidate(Loop *L, DominatorTree &DT, const PostDominatorTree *PDT, in FusionCandidate()
574 PostDominatorTree &PDT;
581 ScalarEvolution &SE, PostDominatorTree &PDT, in LoopFuser()

12