| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/inlining_test/ |
| D | inlining_order_3.sts | 17 //! CHECKER Check inlining sequence without profiling 18 …threshold=30 --log-level=debug --log-components=compiler --compiler-log=inlining --no-async-jit", … 22 //!# EVENT_NEXT /Inline,ETSGLOBAL::test_loops,ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining i… 24 //! CHECKER Check inlining sequence with profiling 25 …threshold=30 --log-level=debug --log-components=compiler --compiler-log=inlining --no-async-jit", … 29 //!# EVENT_NEXT /Inline,ETSGLOBAL::test_loops,ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining i… 31 //! CHECKER Check inlining sequence with profiling (AOT) 35 //!# EVENT_NEXT /Inline,ETSGLOBAL::test_loops,ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining i… 37 //! RUN options: "--log-level=debug --log-components=compiler --compiler-log=inlining", en…
|
| D | inlining_order_1.sts | 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.sts | 16 //! CHECKER Check inlining sequence without profiling 17 …threshold=30 --log-level=debug --log-components=compiler --compiler-log=inlining --no-async-jit", … 22 //!# EVENT_NEXT /Inline,ETSGLOBAL::test_loops,ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining … 25 //! CHECKER Check inlining sequence with profiling 26 …threshold=30 --log-level=debug --log-components=compiler --compiler-log=inlining --no-async-jit", … 32 //!# EVENT_NEXT /Inline,ETSGLOBAL::test_loops,ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining i… 34 //! CHECKER Check inlining sequence with profiling (AOT) 41 //!# EVENT_NEXT /Inline,ETSGLOBAL::test_loops,ETSGLOBAL::hot_catch,.*,STATIC,SUCCESS/ (Inlining i…
|
| /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 { 46 explicit Inlining(Graph *graph) : Inlining(graph, 0, 0, nullptr) {} in Inlining() function 47 Inlining(Graph *graph, bool resolveWoInline) : Inlining(graph) in Inlining() function 52 Inlining(Graph *graph, uint32_t instructionsCount, uint32_t methodsInlined, 55 NO_MOVE_SEMANTIC(Inlining); 56 NO_COPY_SEMANTIC(Inlining); 57 ~Inlining() override = default;
|
| D | inlining.cpp | 16 #include "inlining.h" 40 template bool Inlining::CheckMethodCanBeInlined<false, true>(const CallInst *, InlineContext *); 41 template bool Inlining::CheckMethodCanBeInlined<true, true>(const CallInst *, InlineContext *); 42 template bool Inlining::CheckMethodCanBeInlined<false, false>(const CallInst *, InlineContext *); 43 template bool Inlining::CheckMethodCanBeInlined<true, false>(const CallInst *, InlineContext *); 56 size_t Inlining::CalculateInstructionsCount(Graph *graph) in CalculateInstructionsCount() 80 Inlining::Inlining(Graph *graph, uint32_t instructionsCount, uint32_t methodsInlined, in Inlining() function in ark::compiler::Inlining 101 bool Inlining::IsInlineCachesEnabled() const in IsInlineCachesEnabled() 126 bool Inlining::RunImpl() in RunImpl() 139 void Inlining::RunOptimizations() const in RunOptimizations() [all …]
|
| /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/tests/checked/ |
| 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_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…
|
| 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"
|
| D | compare_lenarray_with_zero.pa | 15 #! RUN force_jit: true, options: "--compiler-inlining=false", entry: "_GLOBAL::main1" 42 #! RUN force_jit: true, options: "--compiler-inlining=false", entry: "_GLOBAL::main2"
|
| /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/static_core/plugins/ets/tests/checked/ |
| D | ets_max.sts | 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_min.sts | 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_isNaN.sts | 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_isFinite.sts | 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_abs.sts | 16 //! CHECKER IR Builder inlining abs 23 //! CHECKER AOT IR Builder inlining abs
|
| /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/static_core/compiler/ |
| D | compiler.yaml | 138 - inlining 424 - name: compiler-inlining 427 description: Enable inlining optimization 433 description: Enable inlining external methods in JIT mode 436 - name: compiler-inlining-blacklist 443 - name: compiler-inlining-max-insts 450 - name: compiler-inlining-max-depth 453 description: Maximum depth of the inlining. 457 - name: compiler-inlining-recursive-calls-limit 464 - name: compiler-inlining-insts-bc-ratio [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"
|
| D | compare_lenarray_with_zero.pa | 15 #! RUN force_jit: true, options: "--compiler-inlining=false", entry: "_GLOBAL::main1" 42 #! RUN force_jit: true, options: "--compiler-inlining=false", entry: "_GLOBAL::main2"
|
| /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/tests/ |
| D | CMakeLists.txt | 519 …piler-enable-jit=true --compiler-hotness-threshold=0 --no-async-jit=true --compiler-inlining=false" 894 …E "${CMAKE_CURRENT_SOURCE_DIR}/cts-assembly/math-53.pa" COMPILER_OPTIONS --compiler-inlining=false) 895 …"${CMAKE_CURRENT_SOURCE_DIR}/cts-assembly/math-53-v.pa" COMPILER_OPTIONS --compiler-inlining=false) 896 …E "${CMAKE_CURRENT_SOURCE_DIR}/cts-assembly/math-54.pa" COMPILER_OPTIONS --compiler-inlining=false) 897 …"${CMAKE_CURRENT_SOURCE_DIR}/cts-assembly/math-54-v.pa" COMPILER_OPTIONS --compiler-inlining=false) 898 …E "${CMAKE_CURRENT_SOURCE_DIR}/cts-assembly/math-55.pa" COMPILER_OPTIONS --compiler-inlining=false) 899 …E "${CMAKE_CURRENT_SOURCE_DIR}/cts-assembly/math-56.pa" COMPILER_OPTIONS --compiler-inlining=false) 900 …"${CMAKE_CURRENT_SOURCE_DIR}/cts-assembly/math-56-v.pa" COMPILER_OPTIONS --compiler-inlining=false) 901 …E "${CMAKE_CURRENT_SOURCE_DIR}/cts-assembly/math-57.pa" COMPILER_OPTIONS --compiler-inlining=false) 902 …"${CMAKE_CURRENT_SOURCE_DIR}/cts-assembly/math-57-v.pa" COMPILER_OPTIONS --compiler-inlining=false) [all …]
|