Home
last modified time | relevance | path

Searched full:inlining (Results 1 – 25 of 168) sorted by relevance

1234567

/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/inlining_test/
Dinlining_order_3.ets17 //! 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…
Dinlining_order_1.ets16 //! 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…
Dinlining_order_2.ets16 //! 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/
Dinlining.md2 # 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/
Dinlining.h27 #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;
Dinlining.cpp16 #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/
Dinline_small.pa15 # 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…
Daot_cha.pa26 …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"
Ddisable_intrinsics.pa15 #! 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-…
Dinline.pa15 # 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 …]
Disinstance_elimination.pa18 #! 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/
Dllvmbackend.yaml28 - 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/
Dcompiler.yaml133 - 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/
Daot_cha.pa26 …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/
Dets_isNaN.ets16 //! 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
Dets_min.ets16 //! 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
Dets_max.ets16 //! 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
Dets_isFinite.ets16 //! 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
Dets_string_builder_deopt3.ets16 //! 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;
Dets_string_builder_reserve_uber.ets18 //! 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…
Dets_string_builder_deopt2.ets16 //! 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
Dets_string_builder_merge_uber_part6.ets18 …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/
DLLVMInlineModules.cmake23 …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/
Dinlining_test.cpp16 #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/
Dcompiler.yaml152 - 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 …]

1234567