Commit Graph

29 Commits

Author SHA1 Message Date
luobinghao
918df80092 llvm litecg相关目录整理
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I92XQ0

Signed-off-by: luobinghao <luobinghao@huawei.com>
Change-Id: I10587767b64128da8f1abc04a625027561956c9d
2024-02-22 15:46:20 +08:00
hwx1163501
7e6b8095cf modify code alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I90E4E
2024-02-02 09:06:44 +08:00
xiaoweidong
0f4dd9fa1b [JIT] export libark_jsruntime.so symbols for libark_jsoptimizer.so
ISSUE:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8UZN0

Change-Id: If5e76b9da12114f6b8717824427af4a6ceedea5c
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-01-25 12:24:36 +08:00
wuzhefeng
528a38c37b [Feature] StackMap Refactor
Stackmap's size should be even number because it consists of pairs of base-pointer and derived-pointer.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8XKB9

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I9a79f275eab3b1c235f697a636b166c95b299424
2024-01-23 19:11:38 +08:00
openharmony_ci
9e9c6d9c7b
!5443 enable jit compiler
Merge pull request !5443 from wangyue/mergerCode
2023-12-12 10:02:10 +00:00
wangyue
ebaad2cbfc modify code to reduce compile time
Signed-off-by: wangyue <guowanlong@huawei.com>
Change-Id: Ic3831e50225fe46e7b7a2179e5f2ba9a204a4ed3
2023-12-11 14:51:26 +08:00
gwl
6ea0679211 enable jit compiler
Signed-off-by: gwl <guowanlong@huawei.com>
Change-Id: Idbbcf67ff47b7897ae59a55015fba09a35faefdf
Signed-off-by: gwl <guowanlong@huawei.com>
2023-12-09 09:18:29 +08:00
hzzhouzebin
6e19efffbb Adapt hsp
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8LQ9P
Change-Id: I80c1dbf036fbb5e88eaa1f7413e8dca0af465b97
2023-12-08 14:19:38 +08:00
zhangyiwei
80ce94f3b8 revise according to review
Signed-off-by: zhangyiwei <zhangyiwei11@huawei.com>
Change-Id: I6727dea62ff4944870f075da8dc8f044eec4dd9a
2023-11-27 20:16:00 +08:00
zhangyiwei
23f74e2e0f fix codecheck
Signed-off-by: zhangyiwei <zhangyiwei11@huawei.com>
Change-Id: Ie892b824311de4e5254feea546a3c0cf77d4ddc1
2023-11-17 15:03:29 +08:00
zhangyiwei
91b8d2addf enable litecg
Signed-off-by: zhangyiwei <zhangyiwei11@huawei.com>
Change-Id: Ibf46af3a594347ae7fd794b184bd3a6dd7ccff82
2023-11-17 11:05:13 +08:00
bdf1
db21da8c5f Fix: ASSERT(stackmapNum % 2 == 0)
Signed-off-by: bdf1 <baodongfang@yeah.net>
2023-10-15 01:00:28 +10:00
hwx1163501
0cfe428522 Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I83M46
2023-09-25 14:43:30 +08:00
zhangyukun8
f31710d73d AOT callstack supports inline functions
1.Add frame args chain on bytecodes which can throw
2.Record inline method offsets in frame args
3.Push method offsets of inlined methods into stackmaps when callout aot
4.Collect inline method offsets and output them
5.Fix literal offsets error before try-catch
6.Add testcases
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7Z24N?from=project-issue

Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I7f4927a2dfc6a71e44b59cb392acb9b2d3f408e2
2023-09-14 19:24:35 +08:00
zhangyukun
f5920a18f8 Enable multi-modules compilation of aot
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
2023-05-12 15:07:00 +08:00
hwx1163501
eff5acc78a Fix the code format problem
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6YDIC
2023-04-25 14:00:00 +08:00
openharmony_ci
88616618f1
!3949 Extract the classes in the aot file manager
Merge pull request !3949 from hzzhouzebin/refineAotFileMgr
2023-04-21 01:15:34 +00:00
openharmony_ci
4b92897a68
!3937 CpuProfiler add (program) node and bugfix of aot profiling
Merge pull request !3937 from 苏重威/master
2023-04-20 16:01:28 +00:00
hzzhouzebin
0e4d77adaf Extract the classes in aot file manager
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6WV9V
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I2a07ed1f94707beabc149fd6abe15f4a85d848c6
2023-04-20 22:54:52 +08:00
Chongwei Su
de06a54442 CpuProfiler add (program) node and bugfix of aot profiling
1.Add (program) and (idle) node;
2.Don't get inner running state when sampling if enableVMTag tag is false;
3.Early GetJSPtExtractor when profiling to avoid malloc in signal handler;
4.Add nullptr check when profiling aot application;

issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6WDFH

Signed-off-by: Chongwei Su <suchongwei@huawei.com>
2023-04-19 18:02:33 +08:00
wuzhangda
682f28bf73 Optimize arkstackmap size and add stackmap dump
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6E00K

Signed-off-by: wuzhangda <wuzhangda@huawei.com>
Change-Id: I9961aca3de3da6a727b48bf848bb7338465b0f6f
2023-04-18 19:02:40 +08:00
zhangyukun8
62a3e35295 AOT support js stacktrace
1. add pcOffset into stackmap before call In AOT
2. parse stackmap to find pcOffset before any OptimziedJSFunctionFrame
3. remove use code of stubs in AOT
4. add testcase for js stacktrace of AOT

Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6GXRR?from=project-issue

Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ib21646b7319628fb425ac8ce489dc2370a347b81
2023-03-03 10:08:54 +08:00
g00416891
db76d5d1e2 Remove redundant maybe_unused
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Id437f8983ec76aab4ac72c161c5d818dd36b0896
2023-01-04 11:06:58 +08:00
Gymee
29777fc3ab Fix code style
Issue: #I67JM7
Signed-off-by: Gymee <yumeijie@huawei.com>
2022-12-26 19:50:46 +08:00
huangzhenghua
714b655d0d adjust function position
move some function of object_factory to tagged_array

Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I986bb3b100929b8f323c0cf753ef392e5fe7c9c2
2022-12-08 18:42:35 +08:00
jing_han
14ca41c09a Modifying Code Alarms
Signed-off-by: jing_han <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I64E1G
2022-12-02 18:56:19 +08:00
linxiang
31dbc9a4e3 add log fatal before unreachable
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: I272f5c052e58a1067528893d857dbd460e2d4d86
2022-12-01 16:30:13 +08:00
Gymee
45bbb6cbf5 remove redundant spaces between operator
Issue: #I63MCO
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Ifd1d4768a2f96d618e991e07fc0b7a516c5965af
2022-11-29 11:47:32 +08:00
zhangyukun8
21a4d386f5 adapt aot cpuprofile
1.update leaveframe before call no gc runtime
2.keep atomicity when construct frames
3.rewrite checking isInsideStub and isInsideAot
4.deal with entry frame for cpuprofile
5.add folder stackmap

Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I61SM9?from=project-issue

Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I329f19a88bcf8e7f7d31606bfa51c822e32df9b8
2022-11-28 21:44:52 +08:00