Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPostDominators.h29 class PostDominatorTree : public PostDomTreeBase<BasicBlock> {
33 PostDominatorTree() = default;
34 explicit PostDominatorTree(Function &F) { recalculate(F); } in PostDominatorTree() function
56 using Result = PostDominatorTree;
60 LLVM_ABI PostDominatorTree run(Function &F, FunctionAnalysisManager &);
79 PostDominatorTree DT;
83 PostDominatorTree &getPostDomTree() { return DT; } in getPostDomTree()
84 const PostDominatorTree &getPostDomTree() const { return DT; } in getPostDomTree()
101 template <> struct GraphTraits<PostDominatorTree*>
103 static NodeRef getEntryNode(PostDominatorTree *DT) {
[all …]
H A DDomTreeUpdater.h27 class PostDominatorTree; variable
30 GenericDomTreeUpdater<DomTreeUpdater, DominatorTree, PostDominatorTree>;
34 PostDominatorTree> {
36 PostDominatorTree>;
40 GenericDomTreeUpdater<DomTreeUpdater, DominatorTree, PostDominatorTree>;
123 PostDominatorTree>::recalculate(Function &F);
126 GenericDomTreeUpdater<DomTreeUpdater, DominatorTree, PostDominatorTree>::
129 GenericDomTreeUpdater<DomTreeUpdater, DominatorTree, PostDominatorTree>::
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) {
211 PostDominatorTree *PDT);
406 PostDominatorTree *PDT, uint32_t BBWeight,
415 PostDominatorTree *PDT);
H A DMustExecute.h43 class PostDominatorTree; variable
409 GetterTy<const PostDominatorTree> PDTGetter =
529 GetterTy<const PostDominatorTree> PDTGetter;
H A DRegionInfo.h61 class PostDominatorTree; variable
92 using PostDomTreeT = PostDominatorTree;
923 void recalculate(Function &F, DominatorTree *DT, PostDominatorTree *PDT,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeMoverUtils.h28 class PostDominatorTree; variable
36 const PostDominatorTree &PDT);
44 const PostDominatorTree &PDT);
49 const PostDominatorTree *PDT = nullptr,
57 const PostDominatorTree *PDT = nullptr,
65 const PostDominatorTree &PDT,
72 const PostDominatorTree &PDT,
82 const PostDominatorTree *PDT);
87 const PostDominatorTree *PDT);
H A DMemoryTaggingSupport.h28 class PostDominatorTree; variable
39 bool forAllReachableExits(const DominatorTree &DT, const PostDominatorTree &PDT,
H A DBasicBlockUtils.h41 class PostDominatorTree; variable
151 PostDominatorTree *PDT;
166 PostDominatorTree *PDT = nullptr)
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDomPrinter.cpp74 static PostDominatorTree *getGraph(PostDominatorTreeWrapperPass *PDTWP) { in getGraph()
81 PostDominatorTreeWrapperPass, false, PostDominatorTree *,
86 PostDominatorTreeWrapperPass, false, PostDominatorTree *, in PostDomViewerWrapperPass()
93 PostDominatorTreeWrapperPass, true, PostDominatorTree *,
98 PostDominatorTreeWrapperPass, true, PostDominatorTree *, in PostDomOnlyViewerWrapperPass()
148 PostDominatorTreeWrapperPass, false, PostDominatorTree *,
153 PostDominatorTreeWrapperPass, false, PostDominatorTree *, in PostDomPrinterWrapperPass()
160 PostDominatorTreeWrapperPass, true, PostDominatorTree *,
165 PostDominatorTreeWrapperPass, true, PostDominatorTree *, in PostDomOnlyPrinterWrapperPass()
H A DPostDominators.cpp43 bool PostDominatorTree::invalidate(Function &F, const PreservedAnalyses &PA, in invalidate()
52 bool PostDominatorTree::dominates(const Instruction *I1, in dominates()
81 assert(DT.verify(PostDominatorTree::VerificationLevel::Full)); in verifyAnalysis()
83 assert(DT.verify(PostDominatorTree::VerificationLevel::Basic)); in verifyAnalysis()
96 PostDominatorTree PostDominatorTreeAnalysis::run(Function &F, in run()
98 PostDominatorTree PDT(F); in run()
H A DDomTreeUpdater.cpp26 GenericDomTreeUpdater<DomTreeUpdater, DominatorTree, PostDominatorTree>;
30 PostDominatorTree>::recalculate(Function &F);
33 GenericDomTreeUpdater<DomTreeUpdater, DominatorTree, PostDominatorTree>::
36 GenericDomTreeUpdater<DomTreeUpdater, DominatorTree, PostDominatorTree>::
H A DBranchProbabilityInfo.cpp728 const LoopBlock &LoopBB, DominatorTree *DT, PostDominatorTree *PDT, in propagateEstimatedBlockWeight()
803 PostDominatorTree *PDT) { in estimateBlockWeights()
1224 PostDominatorTree *PDT) { in calculate()
1236 std::unique_ptr<PostDominatorTree> PDTPtr; in calculate()
1244 PDTPtr = std::make_unique<PostDominatorTree>(const_cast<Function &>(F)); in calculate()
1298 PostDominatorTree &PDT = in runOnFunction()
H A DRegionInfo.cpp98 PostDominatorTree *PDT_, DominanceFrontier *DF_) { in recalculate()
H A DMustExecute.cpp415 const PostDominatorTree *PDT = PDTGetter(*InitBB->getParent()); in findForwardJoinPoint()
769 GetterTy<const PostDominatorTree> PDTGetter = [&](const Function &F) { in run()
/freebsd/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()
483 const PostDominatorTree *PDT) { in isReachedBefore()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DMemCpyOptimizer.h38 class PostDominatorTree; variable
49 PostDominatorTree *PDT = nullptr;
61 AssumptionCache *AC, DominatorTree *DT, PostDominatorTree *PDT,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp70 bool run(Function &F, DominatorTree *DT, const PostDominatorTree &PDT,
185 const PostDominatorTree &PDT, in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp497 const PostDominatorTree &PDT) { in create()
660 std::unique_ptr<PostDominatorTree> PDT; in outlineColdRegions()
699 PDT = std::make_unique<PostDominatorTree>(F); in outlineColdRegions()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp530 std::unique_ptr<PostDominatorTree> DeletePDT; in runOnFunction()
531 PostDominatorTree *PDT = nullptr; in runOnFunction()
536 DeletePDT = std::make_unique<PostDominatorTree>(*F); in runOnFunction()
/freebsd/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.cpp245 GVNHoist(DominatorTree *DT, PostDominatorTree *PDT, AliasAnalysis *AA, in GVNHoist()
265 PostDominatorTree *PDT;
1203 PostDominatorTree &PDT = AM.getResult<PostDominatorTreeAnalysis>(F); in run()
H A DLoopFuse.cpp181 const PostDominatorTree *PDT;
185 FusionCandidate(Loop *L, DominatorTree &DT, const PostDominatorTree *PDT, in FusionCandidate()
573 PostDominatorTree &PDT;
580 ScalarEvolution &SE, PostDominatorTree &PDT, in LoopFuser()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp234 function_ref<const PostDominatorTree &(Function &F)>;
327 auto PDTCallback = [&FAM](Function &F) -> const PostDominatorTree & { in run()
575 const PostDominatorTree &PDT) { in isFullPostDominator()
586 const PostDominatorTree &PDT, in shouldInstrumentBlock()
692 const PostDominatorTree &PDT = PDTCallback(F); in instrumentFunction()

12