/arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
D | cleanup.cpp | 36 bool Cleanup::RunImpl() in RunImpl() 98 bool Cleanup::RunOnce(ArenaSet<BasicBlock *> *empty_blocks, ArenaSet<BasicBlock *> *new_empty_block… in RunOnce() 144 bool Cleanup::CheckSpecialTriangle(BasicBlock *bb) in CheckSpecialTriangle() 176 void Cleanup::RemoveDeadPhi(BasicBlock *bb, ArenaSet<BasicBlock *> *new_empty_blocks) in RemoveDeadPhi() 195 bool Cleanup::ProcessBB(BasicBlock *bb, Marker dead_mrk, ArenaSet<BasicBlock *> *new_empty_blocks) in ProcessBB() 246 void Cleanup::MarkLiveRec(Marker live_mrk, Inst *inst) in MarkLiveRec() 264 bool Cleanup::Dce(Marker dead_mrk, ArenaSet<BasicBlock *> *new_empty_blocks) in Dce() 306 void Cleanup::SetLiveRec(Inst *inst, Marker mrk, Marker live_mrk) in SetLiveRec() 318 void Cleanup::LiveUserSearchRec(Inst *inst, Marker mrk, Marker live_mrk, Marker dead_mrk) in LiveUserSearchRec() 363 void Cleanup::Marking(Marker dead_mrk, Marker mrk, Marker live_mrk) in Marking() [all …]
|
D | cleanup.h | 23 class Cleanup final : public Optimization { 25 explicit Cleanup(Graph *graph) in Cleanup() function 43 NO_MOVE_SEMANTIC(Cleanup); 44 NO_COPY_SEMANTIC(Cleanup); 45 ~Cleanup() override = default;
|
/arkcompiler/runtime_core/compiler/tests/ |
D | cleanup_test.cpp | 35 ASSERT_TRUE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 77 ASSERT_TRUE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 129 ASSERT_TRUE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 178 ASSERT_TRUE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 210 ASSERT_FALSE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 256 ASSERT_TRUE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 321 ASSERT_TRUE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 376 ASSERT_TRUE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 409 ASSERT_TRUE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 447 ASSERT_TRUE(GetGraph()->RunPass<Cleanup>()); in TEST_F() [all …]
|
D | compiler_optimizations_test.cpp | 230 EXPECT_TRUE(graph->RunPass<Cleanup>()); in __anon2e732b7b0402() 253 EXPECT_TRUE(graph->RunPass<Cleanup>()); in __anon2e732b7b0502()
|
D | vn_test.cpp | 610 GetGraph()->RunPass<Cleanup>(); in TEST_F() 681 graph_osr->RunPass<Cleanup>(); in TEST_F() 737 GetGraph()->RunPass<Cleanup>(); in TEST_F() 796 GetGraph()->RunPass<Cleanup>(); in TEST_F() 843 GetGraph()->RunPass<Cleanup>(); in TEST_F() 865 GetGraph()->RunPass<Cleanup>(); in TEST_F() 895 GetGraph()->RunPass<Cleanup>(); in TEST_F() 937 GetGraph()->RunPass<Cleanup>(); in TEST_F() 976 GetGraph()->RunPass<Cleanup>(); in TEST_F() 1017 GetGraph()->RunPass<Cleanup>(); in TEST_F() [all …]
|
D | unit_test.cpp | 138 graph->RunPass<Cleanup>(); in CleanUp()
|
D | compiler_regalloc_test.cpp | 224 EXPECT_TRUE(graph->RunPass<compiler::Cleanup>()); in __anon5d7559aa0702() 789 EXPECT_TRUE(graph->RunPass<Cleanup>()); in __anon5d7559aa1202() 791 EXPECT_FALSE(graph->RunPass<Cleanup>()); in __anon5d7559aa1202() 793 EXPECT_FALSE(graph->RunPass<Cleanup>()); in __anon5d7559aa1202()
|
D | compiler_inst_test.cpp | 374 EXPECT_TRUE(graph->RunPass<Cleanup>()); in __anon7b7a1abf0802() 376 EXPECT_FALSE(graph->RunPass<Cleanup>()); in __anon7b7a1abf0802() 378 EXPECT_FALSE(graph->RunPass<Cleanup>()); in __anon7b7a1abf0802()
|
D | dump_test.cpp | 437 graph->RunPass<Cleanup>(); in __anonb8e9e89d0702() 439 graph->RunPass<Cleanup>(); in __anonb8e9e89d0702() 441 graph->RunPass<Cleanup>(); in __anonb8e9e89d0702()
|
D | branch_elimination_test.cpp | 760 GetGraph()->RunPass<Cleanup>(); in TEST_F() 1191 graph->RunPass<Cleanup>(); in TEST_F() 1298 graph_case2->RunPass<Cleanup>(); in TEST_F() 1610 graph->RunPass<Cleanup>(); in TEST_F() 1699 graph->RunPass<Cleanup>(); in TEST_F()
|
D | liveness_analyzer_new_test.cpp | 597 liveness_analyzer->Cleanup(); in __anon8a63221e0e02()
|
D | ir_builder_test.cpp | 5738 EXPECT_TRUE(graph->RunPass<Cleanup>()); in TEST_F() 5783 EXPECT_TRUE(graph->RunPass<Cleanup>()); in TEST_F() 5865 EXPECT_TRUE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 5918 EXPECT_TRUE(GetGraph()->RunPass<Cleanup>()); in TEST_F() 6384 ASSERT_TRUE(graph->RunPass<Cleanup>()); in TEST_F()
|
D | split_resolver_test.cpp | 1222 initial_graph->RunPass<Cleanup>(); in TEST_F()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | reg_alloc.cpp | 25 graph->RunPass<Cleanup>(); in RegAlloc()
|
D | reg_alloc_graph_coloring.cpp | 304 gr->GetAnalysis<LivenessAnalyzer>().Cleanup(); in Allocate() 318 gr->GetAnalysis<LivenessAnalyzer>().Cleanup(); in Allocate()
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | optimize_bytecode.cpp | 50 graph->RunPass<compiler::Cleanup>(); in RunOpts() 69 graph->RunPass<compiler::Cleanup>(); in RunOptimizations() 74 graph->RunPass<compiler::Cleanup>(); in RunOptimizations() 77 graph->RunPass<compiler::Cleanup>(); in RunOptimizations() 83 graph->RunPass<compiler::Cleanup>(); in RunOptimizations()
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | codegen_test.cpp | 544 EXPECT_TRUE(graph->RunPass<compiler::Cleanup>()); in __anon0774c0120802() 549 EXPECT_FALSE(graph->RunPass<compiler::Cleanup>()); in __anon0774c0120802() 553 EXPECT_FALSE(graph->RunPass<compiler::Cleanup>()); in __anon0774c0120802() 555 EXPECT_FALSE(graph->RunPass<compiler::Cleanup>()); in __anon0774c0120802() 557 EXPECT_FALSE(graph->RunPass<compiler::Cleanup>()); in __anon0774c0120802()
|
D | common.h | 718 GetGraph()->RunPass<compiler::Cleanup>(); in CheckOtherPasses() 723 GetGraph()->RunPass<compiler::Cleanup>(); in CheckOtherPasses() 725 GetGraph()->RunPass<compiler::Cleanup>(); in CheckOtherPasses() 727 GetGraph()->RunPass<compiler::Cleanup>(); in CheckOtherPasses() 731 GetGraph()->RunPass<compiler::Cleanup>(); in CheckOtherPasses()
|
/arkcompiler/runtime_core/compiler/docs/ |
D | cleanup_doc.md | 1 # Cleanup optimization pass 4 `Cleanup` pass works like dead code elimination (DCE) and removes code which does not affect the pr… 87 bool Cleanup::RunImpl() { 119 bool Cleanup::RunOnce(empty_blocks, new_empty_blocks) 129 bool Cleanup::ProcessBB(bb, dead_mrk, new_empty_blocks) 144 void Cleanup::MarkLiveRec(Marker live_mrk, Inst *inst) 146 bool Cleanup::Dce(Marker dead_mrk, new_empty_blocks)
|
D | lowering_doc.md | 23 Lowering doesn't remove instructions. Instructions without users will be removed by [Cleanup](clean…
|
D | vn_doc.md | 28 Value numbering doesn't remove instructions. Instructions without users will be removed by [Cleanup…
|
/arkcompiler/runtime_core/docs/diagrams/ |
D | g1-concurrent-marking-activity.puactivity | 27 :Cleanup (accounting, prepare data for candidates for mixed GC);
|
/arkcompiler/runtime_core/tests/checked/ |
D | remove_redundant_checks.pa | 15 # Part of optimization: LSE -> GVN -> Peepholes -> BranchElimination -> Cleanup -> ChecksEliminat…
|
/arkcompiler/runtime_core/compiler/optimizer/analysis/ |
D | liveness_analyzer.h | 485 void Cleanup() in Cleanup() function
|
/arkcompiler/runtime_core/docs/ |
D | ir_format.md | 22 * [Cleanup](../compiler/docs/cleanup_doc.md)
|