Home
last modified time | relevance | path

Searched refs:RunPass (Results 1 – 25 of 49) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/
Dpass_manager.cpp118 pipeline.RunPass<LoopOptimizationPass>(); in Compile()
120 pipeline.RunPass<TypeInferPass>(); in Compile()
125 pipeline.RunPass<PGOTypeInferPass>(); in Compile()
126 pipeline.RunPass<TSClassAnalysisPass>(); in Compile()
127 pipeline.RunPass<TSInlineLoweringPass>(); in Compile()
128 pipeline.RunPass<AsyncFunctionLoweringPass>(); in Compile()
129 pipeline.RunPass<TSHCRLoweringPass>(); in Compile()
130 pipeline.RunPass<NTypeHCRLoweringPass>(); in Compile()
135 pipeline.RunPass<EarlyEliminationPass>(); in Compile()
136 pipeline.RunPass<NumberSpeculativePass>(); in Compile()
[all …]
Dstub_compiler.cpp112 pipeline.RunPass<StubBuildCircuitPass>(); in RunPipeline()
113 pipeline.RunPass<VerifierPass>(); in RunPipeline()
114 pipeline.RunPass<SchedulingPass>(); in RunPipeline()
115 pipeline.RunPass<StubLLVMIRGenPass>(i); in RunPipeline()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc.cpp25 graph->RunPass<Cleanup>(); in RegAlloc()
28 return graph->RunPass<RegAllocGraphColoring>(VIRTUAL_FRAME_SIZE); in RegAlloc()
Dreg_alloc_base.cpp91 GetGraph()->RunPass<DominatorsTree>(); in Prepare()
96 bool res = GetGraph()->RunPass<LivenessAnalyzer>(); in Prepare()
138 GetGraph()->RunPass<LoopAnalyzer>(); in Finish()
/arkcompiler/runtime_core/compiler/tests/
Dcompiler_optimizations_test.cpp171 EXPECT_FALSE(graph->RunPass<ValNum>()); in __anon2e732b7b0202()
207 EXPECT_TRUE(graph->RunPass<MoveConstants>()); in __anon2e732b7b0302()
229 EXPECT_TRUE(graph->RunPass<Lowering>()); in __anon2e732b7b0402()
230 EXPECT_TRUE(graph->RunPass<Cleanup>()); in __anon2e732b7b0402()
252 EXPECT_TRUE(graph->RunPass<Lowering>()); in __anon2e732b7b0502()
253 EXPECT_TRUE(graph->RunPass<Cleanup>()); in __anon2e732b7b0502()
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 …]
Dvn_test.cpp88 GetGraph()->RunPass<ValNum>(); in TEST_F()
186 GetGraph()->RunPass<ValNum>(); in TEST_F()
249 GetGraph()->RunPass<ValNum>(); in TEST_F()
352 GetGraph()->RunPass<ValNum>(); in TEST_F()
404 GetGraph()->RunPass<ValNum>(); in TEST_F()
492 GetGraph()->RunPass<ValNum>(); in TEST_F()
555 GetGraph()->RunPass<ValNum>(); in TEST_F()
609 GetGraph()->RunPass<ValNum>(); in TEST_F()
610 GetGraph()->RunPass<Cleanup>(); in TEST_F()
680 graph_osr->RunPass<ValNum>(); in TEST_F()
[all …]
Dbranch_elimination_test.cpp226 GetGraph()->RunPass<BranchElimination>(); in TEST_F()
236 graph->RunPass<BranchElimination>(); in TEST_F()
270 GetGraph()->RunPass<BranchElimination>(); in TEST_F()
285 graph->RunPass<BranchElimination>(); in TEST_F()
315 GetGraph()->RunPass<BranchElimination>(); in TEST_F()
349 GetGraph()->RunPass<BranchElimination>(); in TEST_F()
383 GetGraph()->RunPass<BranchElimination>(); in TEST_F()
418 GetGraph()->RunPass<BranchElimination>(); in TEST_F()
466 GetGraph()->RunPass<BranchElimination>(); in TEST_F()
540 GetGraph()->RunPass<BranchElimination>(); in TEST_F()
[all …]
Dmove_constants_test.cpp88 bool result = GetGraph()->RunPass<MoveConstants>(); in TEST_F()
163 bool result = GetGraph()->RunPass<MoveConstants>(); in TEST_F()
260 bool result = GetGraph()->RunPass<MoveConstants>(); in TEST_F()
333 bool result = GetGraph()->RunPass<MoveConstants>(); in TEST_F()
408 bool result = GetGraph()->RunPass<MoveConstants>(); in TEST_F()
469 bool result = GetGraph()->RunPass<MoveConstants>(); in TEST_F()
572 bool result = GetGraph()->RunPass<MoveConstants>(); in TEST_F()
629 bool result = GetGraph()->RunPass<MoveConstants>(); in TEST_F()
694 bool result = GetGraph()->RunPass<MoveConstants>(); in TEST_F()
723 bool result = GetGraph()->RunPass<MoveConstants>(); in TEST_F()
[all …]
Dlinear_order_new_test.cpp56 EXPECT_TRUE(graph->RunPass<LinearOrder>()); in __anon08df7aa60102()
85 EXPECT_TRUE(graph->RunPass<LinearOrder>()); in __anon08df7aa60202()
Dcompiler_regalloc_test.cpp224 EXPECT_TRUE(graph->RunPass<compiler::Cleanup>()); in __anon5d7559aa0702()
225 EXPECT_TRUE(graph->RunPass<bytecodeopt::RegAccAlloc>()); in __anon5d7559aa0702()
765 EXPECT_TRUE(graph->RunPass<LivenessAnalyzer>()); in __anon5d7559aa1102()
789 EXPECT_TRUE(graph->RunPass<Cleanup>()); in __anon5d7559aa1202()
790 EXPECT_TRUE(graph->RunPass<bytecodeopt::RegAccAlloc>()); in __anon5d7559aa1202()
791 EXPECT_FALSE(graph->RunPass<Cleanup>()); in __anon5d7559aa1202()
793 EXPECT_FALSE(graph->RunPass<Cleanup>()); in __anon5d7559aa1202()
794 EXPECT_TRUE(graph->RunPass<bytecodeopt::RegEncoder>()); in __anon5d7559aa1202()
860 EXPECT_TRUE(graph->RunPass<LivenessAnalyzer>()); in __anon5d7559aa1302()
916 EXPECT_TRUE(graph->RunPass<LivenessAnalyzer>()); in __anon5d7559aa1402()
[all …]
Dgraph_checker_test.cpp66 EXPECT_TRUE(graph->RunPass<LoopAnalyzer>()); in __anon6c66d38d0102()
Ddom_tree_test.cpp62 GetGraph()->RunPass<DominatorsTree>(); in TEST_F()
144 GetGraph()->RunPass<DominatorsTree>(); in TEST_F()
171 GetGraph()->RunPass<DominatorsTree>(); in TEST_F()
300 GetGraph()->RunPass<DominatorsTree>(); in TEST_F()
Dunit_test.cpp129 if (!graph->RunPass<IrBuilder>()) { in BuildGraph()
138 graph->RunPass<Cleanup>(); in CleanUp()
Dreg_alloc_graph_coloring_test.cpp70 auto result = GetGraph()->RunPass<RegAllocGraphColoring>(); in TEST_F()
140 auto result = GetGraph()->RunPass<RegAllocGraphColoring>(); in TEST_F()
Dgraph_test.h66 graph->RunPass<panda::compiler::IrBuilder>(); in TestBuildGraphFromFile()
/arkcompiler/runtime_core/bytecode_optimizer/
Doptimize_bytecode.cpp50 graph->RunPass<compiler::Cleanup>(); in RunOpts()
51 graph->RunPass<T>(); in RunOpts()
69 graph->RunPass<compiler::Cleanup>(); in RunOptimizations()
74 graph->RunPass<compiler::Cleanup>(); in RunOptimizations()
75 graph->RunPass<RegAccAlloc>(); in RunOptimizations()
77 graph->RunPass<compiler::Cleanup>(); in RunOptimizations()
83 graph->RunPass<compiler::Cleanup>(); in RunOptimizations()
84 if (!graph->RunPass<RegEncoder>()) { in RunOptimizations()
322 if ((graph == nullptr) || !graph->RunPass<panda::compiler::IrBuilder>()) { in OptimizeFunction()
337 if (!graph->RunPass<BytecodeGen>(&function, &ir_interface, prog)) { in OptimizeFunction()
/arkcompiler/runtime_core/compiler/optimizer/
Dpass_manager.h83 bool RunPass(Pass *pass, size_t local_mem_size_before_pass);
86 bool RunPass(Args... args) in RunPass() function
93 res = RunPass(ANALYSES[details::PredefinedAnalyses::ID<T>], local_mem_size_before); in RunPass()
97 res = RunPass(&pass, local_mem_size_before); in RunPass()
/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()
550 EXPECT_FALSE(graph->RunPass<panda::compiler::ValNum>()); in __anon0774c0120802()
551 EXPECT_TRUE(graph->RunPass<panda::compiler::Lowering>()); in __anon0774c0120802()
552 EXPECT_TRUE(graph->RunPass<panda::compiler::MoveConstants>()); in __anon0774c0120802()
553 EXPECT_FALSE(graph->RunPass<compiler::Cleanup>()); in __anon0774c0120802()
554 EXPECT_TRUE(graph->RunPass<RegAccAlloc>()); in __anon0774c0120802()
555 EXPECT_FALSE(graph->RunPass<compiler::Cleanup>()); in __anon0774c0120802()
557 EXPECT_FALSE(graph->RunPass<compiler::Cleanup>()); in __anon0774c0120802()
558 EXPECT_TRUE(graph->RunPass<RegEncoder>()); in __anon0774c0120802()
[all …]
Dconst_array_resolver_test.cpp45 EXPECT_TRUE(graph->RunPass<ConstArrayResolver>(&interface)); in TEST_F()
88 EXPECT_TRUE(graph->RunPass<ConstArrayResolver>(&interface)); in TEST_F()
126 EXPECT_TRUE(graph->RunPass<ConstArrayResolver>(&interface)); in TEST_F()
156 EXPECT_TRUE(graph->RunPass<ConstArrayResolver>(&interface)); in TEST_F()
187 EXPECT_TRUE(graph->RunPass<ConstArrayResolver>(&interface)); in TEST_F()
247 EXPECT_TRUE(graph->RunPass<ConstArrayResolver>(&interface)); in TEST_F()
299 EXPECT_FALSE(graph->RunPass<ConstArrayResolver>(&interface)); in TEST_F()
334 EXPECT_FALSE(graph->RunPass<ConstArrayResolver>(&interface)); in TEST_F()
361 EXPECT_FALSE(graph->RunPass<ConstArrayResolver>(&interface)); in TEST_F()
Dreg_encoder_test.cpp59 EXPECT_TRUE(graph->RunPass<RegEncoder>()); in __anon452dc6da0102()
82 EXPECT_TRUE(graph->RunPass<RegAccAlloc>()); in __anon452dc6da0202()
Dcommon.h236 ASSERT_TRUE(temp_graph->RunPass<compiler::IrBuilder>()); in ParseToGraph()
718 GetGraph()->RunPass<compiler::Cleanup>(); in CheckOtherPasses()
719 GetGraph()->RunPass<Canonicalization>(); in CheckOtherPasses()
723 GetGraph()->RunPass<compiler::Cleanup>(); in CheckOtherPasses()
724 GetGraph()->RunPass<compiler::Lowering>(); in CheckOtherPasses()
725 GetGraph()->RunPass<compiler::Cleanup>(); in CheckOtherPasses()
726 EXPECT_TRUE(GetGraph()->RunPass<compiler::RegAllocLinearScan>(compiler::EmptyRegMask())); in CheckOtherPasses()
727 GetGraph()->RunPass<compiler::Cleanup>(); in CheckOtherPasses()
728 EXPECT_TRUE(GetGraph()->RunPass<RegEncoder>()); in CheckOtherPasses()
731 GetGraph()->RunPass<compiler::Cleanup>(); in CheckOtherPasses()
[all …]
Dgraph_test.h66 graph->RunPass<panda::compiler::IrBuilder>(); in TestBuildGraphFromFile()
99 graph->RunPass<panda::compiler::IrBuilder>(); in TestBuildGraphFromFunc()
Dcanonicalization_test.cpp37 graph->RunPass<Canonicalization>(); in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.h711 bool RunPass(Args... args) in RunPass() function
714 return pass_manager_.RunPass<T>(std::forward<Args>(args)...); in RunPass()
717 bool RunPass(Args... args) const in RunPass() function
720 return pass_manager_.RunPass<T>(std::forward<Args>(args)...); in RunPass()
724 bool RunPass(T *pass) in RunPass() function
727 return pass_manager_.RunPass(pass, GetLocalAllocator()->GetAllocatedSize()); in RunPass()
757 RunPass<T>(); in GetValidAnalysis()
764 RunPass<T>(); in GetValidAnalysis()

12