Home
last modified time | relevance | path

Searched refs:Cleanup (Results 1 – 25 of 26) sorted by relevance

12

/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dcleanup.cpp36 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 …]
Dcleanup.h23 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/
Dcleanup_test.cpp35 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 …]
Dcompiler_optimizations_test.cpp230 EXPECT_TRUE(graph->RunPass<Cleanup>()); in __anon2e732b7b0402()
253 EXPECT_TRUE(graph->RunPass<Cleanup>()); in __anon2e732b7b0502()
Dvn_test.cpp610 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 …]
Dunit_test.cpp138 graph->RunPass<Cleanup>(); in CleanUp()
Dcompiler_regalloc_test.cpp224 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()
Dcompiler_inst_test.cpp374 EXPECT_TRUE(graph->RunPass<Cleanup>()); in __anon7b7a1abf0802()
376 EXPECT_FALSE(graph->RunPass<Cleanup>()); in __anon7b7a1abf0802()
378 EXPECT_FALSE(graph->RunPass<Cleanup>()); in __anon7b7a1abf0802()
Ddump_test.cpp437 graph->RunPass<Cleanup>(); in __anonb8e9e89d0702()
439 graph->RunPass<Cleanup>(); in __anonb8e9e89d0702()
441 graph->RunPass<Cleanup>(); in __anonb8e9e89d0702()
Dbranch_elimination_test.cpp760 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()
Dliveness_analyzer_new_test.cpp597 liveness_analyzer->Cleanup(); in __anon8a63221e0e02()
Dir_builder_test.cpp5738 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()
Dsplit_resolver_test.cpp1222 initial_graph->RunPass<Cleanup>(); in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc.cpp25 graph->RunPass<Cleanup>(); in RegAlloc()
Dreg_alloc_graph_coloring.cpp304 gr->GetAnalysis<LivenessAnalyzer>().Cleanup(); in Allocate()
318 gr->GetAnalysis<LivenessAnalyzer>().Cleanup(); in Allocate()
/arkcompiler/runtime_core/bytecode_optimizer/
Doptimize_bytecode.cpp50 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/
Dcodegen_test.cpp544 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()
Dcommon.h718 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/
Dcleanup_doc.md1 # 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)
Dlowering_doc.md23 Lowering doesn't remove instructions. Instructions without users will be removed by [Cleanup](clean…
Dvn_doc.md28 Value numbering doesn't remove instructions. Instructions without users will be removed by [Cleanup
/arkcompiler/runtime_core/docs/diagrams/
Dg1-concurrent-marking-activity.puactivity27 :Cleanup (accounting, prepare data for candidates for mixed GC);
/arkcompiler/runtime_core/tests/checked/
Dremove_redundant_checks.pa15 # Part of optimization: LSE -> GVN -> Peepholes -> BranchElimination -> Cleanup -> ChecksEliminat…
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dliveness_analyzer.h485 void Cleanup() in Cleanup() function
/arkcompiler/runtime_core/docs/
Dir_format.md22 * [Cleanup](../compiler/docs/cleanup_doc.md)

12