Home
last modified time | relevance | path

Searched refs:DominatorsTree (Results 1 – 20 of 20) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/analysis/
Ddominators_tree.cpp22 DominatorsTree::DominatorsTree(Graph *graph) : Analysis(graph) {} in DominatorsTree() function in panda::compiler::DominatorsTree
24 bool DominatorsTree::RunImpl() in RunImpl()
50 void DominatorsTree::AdjustImmediateDominators(BasicBlock *block) in AdjustImmediateDominators()
65 void DominatorsTree::ComputeImmediateDominators(BasicBlock *block) in ComputeImmediateDominators()
97 void DominatorsTree::Compress(BasicBlock *block) in Compress()
114 void DominatorsTree::DfsNumbering(BasicBlock *block) in DfsNumbering()
138 BasicBlock *DominatorsTree::Eval(BasicBlock *block) in Eval()
151 void DominatorsTree::Init(size_t blocks_count) in Init()
181 void DominatorsTree::SetDomPair(BasicBlock *dominator, BasicBlock *block) in SetDomPair()
197 void DominatorsTree::UpdateAfterResolverInsertion(BasicBlock *predecessor, BasicBlock *successor, B… in UpdateAfterResolverInsertion()
[all …]
Ddominators_tree.h29 class DominatorsTree : public Analysis {
33 explicit DominatorsTree(Graph *graph);
35 NO_MOVE_SEMANTIC(DominatorsTree);
36 NO_COPY_SEMANTIC(DominatorsTree);
37 ~DominatorsTree() override = default;
Dliveness_analyzer.cpp41 GetGraph()->RunPass<DominatorsTree>(); in RunImpl()
81 …ASSERT_PRINT(GetGraph()->IsAnalysisValid<DominatorsTree>(), "Liveness Analyzer needs valid Dom Tre… in BuildBlocksLinearOrder()
Dloop_analyzer.cpp25 GetGraph()->RunPass<DominatorsTree>(); in RunImpl()
/arkcompiler/runtime_core/compiler/tests/
Ddom_tree_test.cpp62 GetGraph()->RunPass<DominatorsTree>(); in TEST_F()
64 EXPECT_TRUE(GetGraph()->IsAnalysisValid<DominatorsTree>()); in TEST_F()
144 GetGraph()->RunPass<DominatorsTree>(); in TEST_F()
145 EXPECT_TRUE(GetGraph()->IsAnalysisValid<DominatorsTree>()); in TEST_F()
167 EXPECT_FALSE(GetGraph()->IsAnalysisValid<DominatorsTree>()); in TEST_F()
171 GetGraph()->RunPass<DominatorsTree>(); in TEST_F()
299 GetGraph()->GetAnalysis<DominatorsTree>().SetValid(false); in TEST_F()
300 GetGraph()->RunPass<DominatorsTree>(); in TEST_F()
301 EXPECT_TRUE(GetGraph()->IsAnalysisValid<DominatorsTree>()); in TEST_F()
Ddominators_tree_new_test.cpp60 DominatorsTree dominators_tree(graph); in __anona6f8c39f0102()
95 DominatorsTree dominators_tree(graph); in __anona6f8c39f0202()
124 EXPECT_TRUE(graph->RunPass<DominatorsTree>()); in __anona6f8c39f0302()
/arkcompiler/runtime_core/compiler/optimizer/
Dpass_manager.h32 class DominatorsTree; variable
73 PassTypeList<LivenessAnalyzer, LoopAnalyzer, DominatorsTree, Rpo, LinearOrder>;
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.cpp105 graph->InvalidateAnalysis<DominatorsTree>(); in InvalidateBlocksOrderAnalyzes()
256 graph->GetAnalysis<DominatorsTree>().SetValid(true); in FinishBlockRemoval()
279 ASSERT(IsAnalysisValid<DominatorsTree>() || !fix_dom_tree); in DisconnectBlock()
346 ASSERT(IsAnalysisValid<DominatorsTree>()); in RemoveEmptyBlock()
361 ASSERT(IsAnalysisValid<DominatorsTree>()); in RemoveEmptyBlockWithPhis()
Dbasicblock.cpp610 ASSERT(GetGraph()->IsAnalysisValid<DominatorsTree>()); in IsDominate()
625 ASSERT(GetGraph()->IsAnalysisValid<DominatorsTree>()); in CreateImmediateDominator()
627 GetGraph()->GetAnalysis<DominatorsTree>().SetValid(true); in CreateImmediateDominator()
640 ASSERT(GetGraph()->IsAnalysisValid<DominatorsTree>()); in GetDominator()
646 ASSERT(GetGraph()->IsAnalysisValid<DominatorsTree>()); in GetDominatedBlocks()
Dgraph_checker.cpp89 if (GetGraph()->IsAnalysisValid<DominatorsTree>()) { in Check()
92 GetGraph()->RunPass<DominatorsTree>(); in Check()
448 ASSERT(GetGraph()->GetAnalysis<DominatorsTree>().IsValid()); in CheckDomTree()
454 GetGraph()->InvalidateAnalysis<DominatorsTree>(); in CheckDomTree()
455 GetGraph()->RunPass<DominatorsTree>(); in CheckDomTree()
Dgraph_cloner.cpp59 ASSERT(!new_graph->IsAnalysisValid<DominatorsTree>()); in CloneAnalyses()
60 if (GetGraph()->IsAnalysisValid<DominatorsTree>()) { in CloneAnalyses()
61 new_graph->GetAnalysis<DominatorsTree>().SetValid(true); in CloneAnalyses()
586 ASSERT(GetGraph()->IsAnalysisValid<DominatorsTree>()); in CloneLoopHeader()
608 auto &dom_tree = GetGraph()->GetAnalysis<DominatorsTree>(); in CloneLoopHeader()
732 GetGraph()->RunPass<DominatorsTree>(); in CloneLoop()
Dgraph.h38 class DominatorsTree; variable
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dvn.cpp153 GetGraph()->RunPass<DominatorsTree>(); in RunImpl()
Dcleanup.cpp38 GetGraph()->RunPass<DominatorsTree>(); in RunImpl()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dsplit_resolver.cpp134 auto &dom_tree = graph_->GetAnalysis<DominatorsTree>(); in ConnectSpiltFromPredBlock()
Dreg_alloc_base.cpp91 GetGraph()->RunPass<DominatorsTree>(); in Prepare()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dir_builder.cpp48 GetGraph()->RunPass<DominatorsTree>(); in RunImpl()
60 GetGraph()->RunPass<DominatorsTree>(); in RunImpl()
/arkcompiler/runtime_core/compiler/docs/
Dvn_doc.md14 RPO analysis, DominatorsTree.
Dir_builder.md30 * DominatorsTree
Dreg_alloc_graph_coloring_doc.md11 * DominatorsTree