| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/inlining_test/ |
| D | inlining_order_3.ets | 17 //! CHECKER Check inlining sequence without profiling 18 …threshold=30 --log-level=debug --log-components=compiler --compiler-log=inlining --no-async-jit", … 22 …L::test_loops,inlining_order_3.ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining in catch blocks i… 24 //! CHECKER Check inlining sequence with profiling 25 …threshold=30 --log-level=debug --log-components=compiler --compiler-log=inlining --no-async-jit", … 29 …L::test_loops,inlining_order_3.ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining in catch blocks i… 31 //! CHECKER Check inlining sequence with profiling (AOT) 35 …L::test_loops,inlining_order_3.ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining in catch blocks i… 37 //! RUN options: "--log-level=debug --log-components=compiler --compiler-log=inlining", en…
|
| D | inlining_order_1.ets | 16 //! CHECKER Check inlining sequence without profiling 17 …threshold=22 --log-level=debug --log-components=compiler --compiler-log=inlining --no-async-jit", … 21 //! CHECKER Check inlining sequence with profiling 22 …threshold=30 --log-level=debug --log-components=compiler --compiler-log=inlining --no-async-jit", … 26 //! CHECKER Check inlining sequence in AOT 30 //! RUN options: "--log-level=debug --log-components=compiler --compiler-log=inlining", en…
|
| D | inlining_order_2.ets | 16 //! CHECKER Check inlining sequence without profiling 17 …threshold=30 --log-level=debug --log-components=compiler --compiler-log=inlining --no-async-jit", … 22 …L::test_loops,inlining_order_2.ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining in catch blocks i… 25 //! CHECKER Check inlining sequence with profiling 26 …threshold=30 --log-level=debug --log-components=compiler --compiler-log=inlining --no-async-jit", … 32 …L::test_loops,inlining_order_2.ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining in catch blocks i… 34 //! CHECKER Check inlining sequence with profiling (AOT) 41 …L::test_loops,inlining_order_2.ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining in catch blocks i…
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | inlining.md | 2 # Inlining optimization 6 Inlining optimization replaces a method call site with the body of the called method. 8 Inlining optimizations supports two types of call instructions. 13 Inlining of these instructions has two main difference: method resolving and guards. 102 ## Inlining algorithm 104 After target method is determined, Inlining optimization call IrBuilderInliningAnalysis that check … 105 instruction of the inlining method is suiteble for inline. 112 # Check bytecode is suitable for inlining 157 [Inlining optimization source code](../optimizer/optimizations/inlining.cpp)
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | inlining.h | 27 #define LOG_INLINING(level) COMPILER_LOG(level, INLINING) << GetLogIndent() 42 class Inlining : public Optimization { 50 explicit Inlining(Graph *graph) : Inlining(graph, 0, 0, nullptr) {} in Inlining() function 51 Inlining(Graph *graph, bool resolveWoInline) : Inlining(graph) in Inlining() function 56 Inlining(Graph *graph, uint32_t instructionsCount, uint32_t methodsInlined, 59 NO_MOVE_SEMANTIC(Inlining); 60 NO_COPY_SEMANTIC(Inlining); 61 ~Inlining() override = default;
|
| D | inlining.cpp | 16 #include "inlining.h" 42 template bool Inlining::CheckMethodCanBeInlined<false, true>(const CallInst *, InlineContext *); 43 template bool Inlining::CheckMethodCanBeInlined<true, true>(const CallInst *, InlineContext *); 44 template bool Inlining::CheckMethodCanBeInlined<false, false>(const CallInst *, InlineContext *); 45 template bool Inlining::CheckMethodCanBeInlined<true, false>(const CallInst *, InlineContext *); 58 size_t Inlining::CalculateInstructionsCount(Graph *graph) in CalculateInstructionsCount() 82 Inlining::Inlining(Graph *graph, uint32_t instructionsCount, uint32_t methodsInlined, in Inlining() function in ark::compiler::Inlining 103 bool Inlining::IsInlineCachesEnabled() const in IsInlineCachesEnabled() 128 bool Inlining::RunImpl() in RunImpl() 141 void Inlining::RunOptimizations() const in RunOptimizations() [all …]
|
| /arkcompiler/runtime_core/static_core/tests/checked/ |
| D | inline_small.pa | 15 # Checked tests for small methods inlining. 19 …ompiler-regex=A::main --compiler-inlining-max-depth=0 --compiler-inlining-recursive-calls-limit=1… 30 …compiler-regex=A::main --compiler-inlining-max-depth=0 --compiler-inlining-recursive-calls-limit=1… 44 …compiler-regex=A::main --compiler-inlining-max-depth=0 --compiler-inlining-recursive-calls-limit=1…
|
| D | aot_cha.pa | 26 …ns: "--panda-files=../../basics_aot.checked/test.abc --paoc-use-cha=true --compiler-inlining=false" 34 …ns: "--panda-files=../../basics_aot.checked/test.abc --paoc-use-cha=true --compiler-inlining=false" 43 …s: "--panda-files=../../basics_aot.checked/test.abc --paoc-use-cha=false --compiler-inlining=false" 53 #! RUN_PAOC options: "--paoc-use-cha=true --compiler-inlining=false" 62 #! RUN_LLVM options: "--paoc-use-cha=true --compiler-inlining=false" 72 …ns: "--panda-files=../../basics_aot.checked/test.abc --paoc-use-cha=true --compiler-inlining=false" 80 …ns: "--panda-files=../../basics_aot.checked/test.abc --paoc-use-cha=true --compiler-inlining=false"
|
| D | disable_intrinsics.pa | 15 #! RUN force_jit: true, options: "--compiler-encode-intrinsics=true --compiler-inlining=fa… 25 #! RUN_PAOC options: "--compiler-encode-intrinsics=true --compiler-inlining=false" 35 #! RUN_LLVM options: "--compiler-encode-intrinsics=true --compiler-inlining=false --llvm-dump-b… 46 #! RUN force_jit: true, options: "--compiler-encode-intrinsics=false --compiler-inlining=f… 61 #! RUN_PAOC options: "--compiler-encode-intrinsics=false --compiler-inlining=false" 76 #! RUN_LLVM options: "--compiler-encode-intrinsics=false --compiler-inlining=false --llvm-dump-…
|
| D | inline.pa | 15 # Checked tests for basic inlining. 19 …true, options: "--compiler-regex=Test1::main --compiler-inlining-max-insts=8 --compiler-inlining-a… 24 …C options: "--compiler-regex=Test1::main --compiler-inlining-max-insts=8 --compiler-inlining-a… 30 …true, options: "--compiler-regex=Test1::main --compiler-inlining-max-insts=8 --compiler-inlining-a… 35 …C options: "--compiler-regex=Test1::main --compiler-inlining-max-insts=8 --compiler-inlining-a… 70 …options: "--compiler-regex=Test1::main_depth --compiler-inlining-max-depth=2 --compiler-inlining-r… 75 …options: "--compiler-regex=Test1::main_depth --compiler-inlining-max-depth=2 --compiler-inlining-r… 187 …true, options: "--compiler-regex=Test2::main --compiler-inlining-max-insts=12 --compiler-inlining-… 193 …C options: "--compiler-regex=Test2::main --compiler-inlining-max-insts=12 --compiler-inlining-… 200 …_LLVM options: "--compiler-regex=Test2.* --compiler-inlining-max-insts=12 --compiler-inlining-… [all …]
|
| D | isinstance_elimination.pa | 18 #! RUN force_jit: true, options: "--compiler-inlining=false", entry: "_GLOBAL::main1" 53 #! RUN force_jit: true, options: "--compiler-inlining=false", entry: "_GLOBAL::main2" 91 #! RUN force_jit: true, options: "--compiler-inlining=false", entry: "_GLOBAL::main3"
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/ |
| D | llvmbackend.yaml | 28 - name: llvm-inlining 32 Enable inlining optimization. Default value is overridden by explicit 33 --compiler-inlining which in turn can be overridden by passing this 41 1 means same as 0 but allows Ark Inliner to perform inlining 43 - name: llvm-recursive-inlining 46 description: Enable inlining for recursive calls
|
| /arkcompiler/runtime_core/compiler/ |
| D | compiler.yaml | 133 - inlining 339 - name: compiler-inlining 342 description: Enable inlining optimization 348 description: Enable inlining external methods in JIT mode 351 - name: compiler-inlining-blacklist 358 - name: compiler-inlining-max-insts 365 - name: compiler-inlining-max-depth 368 description: Maximum depth of the inlining. 372 - name: compiler-inlining-max-size 385 - name: compiler-inlining-skip-throw-blocks [all …]
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | aot_cha.pa | 26 …ns: "--panda-files=../../basics_aot.checked/test.abc --paoc-use-cha=true --compiler-inlining=false" 34 …s: "--panda-files=../../basics_aot.checked/test.abc --paoc-use-cha=false --compiler-inlining=false" 42 #! RUN_PAOC options: "--paoc-use-cha=true --compiler-inlining=false" 50 …ns: "--panda-files=../../basics_aot.checked/test.abc --paoc-use-cha=true --compiler-inlining=false"
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | ets_isNaN.ets | 16 //! CHECKER IR Builder inlining double 23 //! CHECKER AOT IR Builder inlining double 32 //! CHECKER IR Builder inlining float 39 //! CHECKER AOT IR Builder inlining float
|
| D | ets_min.ets | 16 //! CHECKER IR Builder inlining min int 23 //! CHECKER AOT IR Builder inlining min int 32 //! CHECKER IR Builder inlining min long 39 //! CHECKER AOT IR Builder inlining min long 48 //! CHECKER IR Builder inlining min float 55 //! CHECKER AOT IR Builder inlining min float 64 //! CHECKER IR Builder inlining min double 71 //! CHECKER AOT IR Builder inlining min double
|
| D | ets_max.ets | 16 //! CHECKER IR Builder inlining max int 23 //! CHECKER AOT IR Builder inlining max int 32 //! CHECKER IR Builder inlining max long 39 //! CHECKER AOT IR Builder inlining max long 48 //! CHECKER IR Builder inlining max float 55 //! CHECKER AOT IR Builder inlining max float 64 //! CHECKER IR Builder inlining max double 71 //! CHECKER AOT IR Builder inlining max double
|
| D | ets_isFinite.ets | 16 //! CHECKER IR Builder inlining double 26 //! CHECKER AOT IR Builder inlining double 38 //! CHECKER IR Builder inlining float 48 //! CHECKER AOT IR Builder inlining float
|
| D | ets_string_builder_deopt3.ets | 16 //! CHECKER JIT leave string builder instance for proper inlining deoptimization 27 //! CHECKER AOT leave string builder instance for proper inlining deoptimization, but don't in… 40 //! CHECKER AOT PGO leave string builder instance for proper inlining deoptimization 69 // - and deoptimization on non-matching object instance for inlining is inserted;
|
| D | ets_string_builder_reserve_uber.ets | 18 //! RUN_PAOC options: "--compiler-regex='.*reserve[0-9]*' --compiler-inlining=true" 28 //! RUN force_jit: true, options: "--compiler-regex='.*reserve[0-9]*' --compiler-inlining… 38 …ue, options: "--compiler-reserve-string-builder-buffer=false --compiler-inlining=true", entry: "et… 44 …rue, options: "--compiler-reserve-string-builder-buffer=true --compiler-inlining=true", entry: "et… 49 …sync-jit=false --compiler-reserve-string-builder-buffer=true --compiler-inlining=true", entry: "et…
|
| D | ets_string_builder_deopt2.ets | 16 //! CHECKER JIT leave string builder instance for safe inlining 26 //! CHECKER AOT leave string builder instance for safe inlining, no deoptimize without PGO 38 //! CHECKER AOT PGO leave string builder instance for safe inlining
|
| D | ets_string_builder_merge_uber_part6.ets | 18 …t.checked/test.abc --compiler-regex='.*chain_concat[0-9]+.*' --compiler-inlining=false", entry: "e… 22 …=../../ets_string_builder_merge_uber_export.checked/test.abc --compiler-inlining=false --compiler-…
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/cmake/ |
| D | LLVMInlineModules.cmake | 23 …message(STATUS "LLVM IR inlining disabled manually, PANDA_LLVM_INTERPRETER_INLINING = '${PANDA_LLV… 28 …HostTools build, compiler does not matter. Parent project built bitcode files for inlining, and set 32 …message(STATUS "LLVM IR inlining disabled because compiler is not 'Clang' but = '${CMAKE_CXX_COMPI… 38 message(STATUS "LLVM IR inlining enabled") 53 # Pre-define the path for a file with a list of bitcode files for inlining.
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | inlining_test.cpp | 16 #include "optimizer/optimizations/inlining.h" 119 ASSERT_TRUE(GetGraph()->RunPass<Inlining>()); in TEST_F() 160 ASSERT_TRUE(GetGraph()->RunPass<Inlining>()); in TEST_F() 184 ASSERT_TRUE(GetGraph()->RunPass<Inlining>()); in TEST_F() 217 ASSERT_TRUE(GetGraph()->RunPass<Inlining>()); in TEST_F() 253 ASSERT_TRUE(GetGraph()->RunPass<Inlining>()); in TEST_F() 281 ASSERT_TRUE(GetGraph()->RunPass<Inlining>()); in TEST_F() 319 ASSERT_TRUE(GetGraph()->RunPass<Inlining>()); in TEST_F() 370 ASSERT_TRUE(GetGraph()->RunPass<Inlining>()); in TEST_F() 402 ASSERT_TRUE(GetGraph()->RunPass<Inlining>()); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/ |
| D | compiler.yaml | 152 - inlining 453 - name: compiler-inlining 456 description: Enable inlining optimization 462 description: Enable inlining external methods in JIT mode 465 - name: compiler-inlining-blacklist 472 - name: compiler-inlining-max-insts 479 - name: compiler-inlining-max-depth 482 description: Maximum depth of the inlining. 486 - name: compiler-inlining-recursive-calls-limit 493 - name: compiler-inlining-insts-bc-ratio [all …]
|