/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | pass_manager.cpp | 118 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 …]
|
D | stub_compiler.cpp | 112 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/ |
D | reg_alloc.cpp | 25 graph->RunPass<Cleanup>(); in RegAlloc() 28 return graph->RunPass<RegAllocGraphColoring>(VIRTUAL_FRAME_SIZE); in RegAlloc()
|
D | reg_alloc_base.cpp | 91 GetGraph()->RunPass<DominatorsTree>(); in Prepare() 96 bool res = GetGraph()->RunPass<LivenessAnalyzer>(); in Prepare() 138 GetGraph()->RunPass<LoopAnalyzer>(); in Finish()
|
/arkcompiler/runtime_core/compiler/tests/ |
D | compiler_optimizations_test.cpp | 171 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()
|
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 | vn_test.cpp | 88 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 …]
|
D | branch_elimination_test.cpp | 226 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 …]
|
D | move_constants_test.cpp | 88 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 …]
|
D | linear_order_new_test.cpp | 56 EXPECT_TRUE(graph->RunPass<LinearOrder>()); in __anon08df7aa60102() 85 EXPECT_TRUE(graph->RunPass<LinearOrder>()); in __anon08df7aa60202()
|
D | compiler_regalloc_test.cpp | 224 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 …]
|
D | graph_checker_test.cpp | 66 EXPECT_TRUE(graph->RunPass<LoopAnalyzer>()); in __anon6c66d38d0102()
|
D | dom_tree_test.cpp | 62 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()
|
D | unit_test.cpp | 129 if (!graph->RunPass<IrBuilder>()) { in BuildGraph() 138 graph->RunPass<Cleanup>(); in CleanUp()
|
D | reg_alloc_graph_coloring_test.cpp | 70 auto result = GetGraph()->RunPass<RegAllocGraphColoring>(); in TEST_F() 140 auto result = GetGraph()->RunPass<RegAllocGraphColoring>(); in TEST_F()
|
D | graph_test.h | 66 graph->RunPass<panda::compiler::IrBuilder>(); in TestBuildGraphFromFile()
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | optimize_bytecode.cpp | 50 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/ |
D | pass_manager.h | 83 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/ |
D | codegen_test.cpp | 544 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 …]
|
D | const_array_resolver_test.cpp | 45 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()
|
D | reg_encoder_test.cpp | 59 EXPECT_TRUE(graph->RunPass<RegEncoder>()); in __anon452dc6da0102() 82 EXPECT_TRUE(graph->RunPass<RegAccAlloc>()); in __anon452dc6da0202()
|
D | common.h | 236 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 …]
|
D | graph_test.h | 66 graph->RunPass<panda::compiler::IrBuilder>(); in TestBuildGraphFromFile() 99 graph->RunPass<panda::compiler::IrBuilder>(); in TestBuildGraphFromFunc()
|
D | canonicalization_test.cpp | 37 graph->RunPass<Canonicalization>(); in TEST_F()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | graph.h | 711 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()
|