To make it easier for developers to understand the type system in AOT, we add logs about types in compile time.
Issue:
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7CDVJ
Tests:
aot test, typeinfer test
Signed-off-by: huoqingyi <huoqingyi@huawei.com>
Change-Id: Ib9151eae5524b913056520f02e0a6b814f16d40e
1. Add frameStateChain op for inline deopt.
2. Modify the deopt logic to support multiple interpreter frames.
3. Fixed some bugs that occurred when inline was enabled.
4. Support trace inline function tools.
5. Add some testcases.
6. Add some inline condition which some scenarios that might occur inline are filtered.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6USYJ
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I30127640fcd150c3c3badf2dd5c805a7b6733c42
1.Use local llvm contexts rather than global context
2.Merge multi-modules into an an-file
3.Generate an united stackmap for multi-modules
4.Use CodeSpace to manage code space in multi-modules
5.Use modules as groups to manage function compilation
6.Use only one module to parse the multi-modules an file
7.Disassembler outputs united address log
8.Add max-methods-in-module options
9.Add testcase
10.upgrade version number
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6ZMDE?from=project-issue
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: I80cf845fa57e8ae73c3c858ded0dfe4a46a13eb9
1.Collect import info and export info at the level of type infer based on module manager and bytecodes
2.Add topological Sort for Records in compilerdriver
3.Improve the compatibility of pgo update in compilerdriver
4.Add infer strategy for ldexternalmodulevar
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6DHT0
Signed-off-by: lijincheng <lijincheng13@huawei.com>
1、PGO Support type profiler for asm interpreter
2、Optimization function call profiler
3、ap version promote to 0.0.0.2
4、Adaptor number speculative phase supporting pgo type
link #I6JPH4
Change-Id: I18043c4f99af93e5ba6eb2e895039fe0edfe5b4e
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
1.Type infer will record gates which should be inferred and gates which are still any type after infer
2.Methods whose type coverage is lower than threshold will be stopped after type infer
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6BPRC
Signed-off-by: lijincheng <lijincheng13@huawei.com>
Add new compiler performance analysis tool -- OptCodeProfiler to obtain
Runtime Statistics of ByteCodes which handled with optimized code.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I65TTD
Signed-off-by: ding <dingding5@huawei.com>
Change-Id: Ic0046c5bda8472b07c3999ee8fe5738a5155e277
1. store map table of an file name, as to find an file index.
2. load aot file after hap package extracted, before LoadJsModule.
3. update runtest tool, support pack of hap by module name read from module.json.
4. update runtest tool, simplify PGO with builtin types compiling command.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I64R18
Signed-off-by: Hailiang Hu <allenpas@huawei.com>
Change-Id: I6619dd39f1b8efe41accee74276d9e9102bd0f07
details: 1. add log for optimizer.
2. add totol time log for compiler-log-time.
3. time-log of one method in each pass only for certain mode.
4. add flag compiler-log-snapshot for enable or disable snapshot log.
issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I61RCC
Signed-off-by: K0u1hw <wangchunyang15@huawei.com>
Change-Id: I7f74c31ee333c8636d050cbe1fbc56dd1ab04b1b
1、The JS runtime counts the number of function calls and records the methodID with fewer calls.
2、The AOT compiler supports filtering the unexpected functions according to the profile file without AOT.
Closes #I5W57I
Change-Id: Ie6f7c9d2132b16a95b4b9ed84cb4ef67332b7604
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>