101 Commits

Author SHA1 Message Date
openharmony_ci
327699dd82
!2669 Fix the line number of debuginfo in release
Merge pull request !2669 from ElevenDuan/fix_line
2024-10-22 22:12:23 +00:00
ElevenDuan
4e4e784f02 Fix the line number of debuginfo in release
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IAXX97
Signed-off-by: ElevenDuan <duanshiyi1@huawei.com>
Change-Id: I1b72e3088c2b6271138a9c7e13399b4598846e62
2024-10-22 09:50:45 +08:00
Principe
dfbbddfc9f Fix Runtime Core UT Problems
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAW7X1

Signed-off-by: Principe <zhouyuanzhu@h-partners.com>
Change-Id: I914d476a85ce633a6af317b63c710b4260c39a30
2024-10-21 20:00:21 +08:00
li-tao116
36d8325b55 Add unittests for compiler and libpandabase
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I9JWF3
Signed-off-by: litao <litao@kaihong.com>
Change-Id: I1c16da0759e6ebff97930816f6df931eaf2ea28d
2024-09-09 09:26:04 +08:00
ElevenDuan
0e7394fe0b Fix codecheck 0830
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IAO5JS
Signed-off-by: ElevenDuan <duanshiyi1@huawei.com>
Change-Id: Ic3ba49ec8846ec3d4783c69896184ec2ba0dad9c
2024-09-02 15:21:13 +08:00
ElevenDuan
da9616cfaf Fix codecheck 0827
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IAMWQI
Signed-off-by: ElevenDuan <duanshiyi1@huawei.com>
Change-Id: I0ac559022d2b95e50251715973c876977ebebe73
2024-08-28 10:23:34 +08:00
ElevenDuan
4c383d5853 Fix codecheck 0821
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IALI4L?from=project-issue
Signed-off-by: ElevenDuan <duanshiyi1@huawei.com>
Change-Id: I87a47de76baaaea7b680f1bcc607631f87c35ca4
2024-08-22 23:30:54 +08:00
openharmony_ci
ab6506840b
!2229 Delete redundant include
Merge pull request !2229 from shixiaowei4/DeleteInclude
2024-08-14 03:02:10 +00:00
openharmony_ci
50bf0e28f5
!2261 Added deps to accommodate arkui_x because third_party delete all_dependent_configs
Merge pull request !2261 from huihuihui/master
2024-08-12 23:01:30 +00:00
ah
7b15146256 Added deps to accommodate arkui_x
Issue: IAIMO2

Signed-off-by: ah <liangahui@h-partners.com>
2024-08-08 10:07:30 +08:00
huyunhui1
cc8d6ea617 Fix codecheck warnings
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IAHPN1

Signed-off-by: huyunhui1 <huyunhui1@huawei.com>
Change-Id: I7d4ae9f10c54fca7f39e24c2584da006ab232cd5
2024-08-07 10:51:53 +08:00
shixiaowei4
aa9a2d8bf5 Delete redundant include
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IAHB9F

Signed-off-by: shixiaowei4 <shixiaowei4@huawei.com>
Change-Id: I2f3945dacc9c9d32ec57f269f9acf6f350cfad0f
2024-08-05 14:06:09 +08:00
ElevenDuan
34abe1f3f5 Fix Code check draw_cfg.py
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IAG6NM?from=project-issue
Signed-off-by: ElevenDuan <duanshiyi1@huawei.com>
Change-Id: I503df796566a5519fd05d2c28094c0157c1ca71f
2024-07-29 12:45:40 +08:00
huyunhui
9820038170 Fix dereference of nullptr
Issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I9TFIC

Signed-off-by: huyunhui <huyunhui1@huawei.com>
Change-Id: I5a41e64cc39599e30cb186c120702312127c342f
2024-07-16 19:24:10 +08:00
openharmony_ci
8620175447
!1753 Optimize function code structure in runtime_core
Merge pull request !1753 from huihuihui/Codecomplexity
2024-06-18 04:15:02 +00:00
ah
acfa8d38c6 Optimize function code structure in runtime_core
Signed-off-by: ah <liangahui@h-partners.com>
2024-06-03 13:52:57 +08:00
openharmony_ci
a55eb98281
!1760 Fix codecheck warnings of the master branch in runtime _core
Merge pull request !1760 from huihuihui/codecheck
2024-05-31 08:10:51 +00:00
ah
536154a11b Fix codecheck warnings of the master branch in runtime _core
Signed-off-by: ah <liangahui@h-partners.com>
2024-05-30 16:21:44 +08:00
openharmony_ci
81c44f1258
!1693 Components improvement to accommodate arkui_x
Merge pull request !1693 from huihuihui/gnarkui
2024-05-30 03:11:13 +00:00
zhaoziming
184aac718f Change the way to pass opt-try-catch-func option
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I91AY1

Tests: frontend_tests & test262 & runtime_core_ut & runtime_ut &
AOT daily test

Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
Change-Id: I1d932d14ee6f5f75405bf085d0ad5406bde839d4
2024-05-27 16:45:51 +08:00
li-tao116
b5e7a36393 Enable optimizations for try-catch
Signed-off-by: litao <litao@kaihong.com>
Change-Id: Ic70ef036baa4085c6a9141af27cba0277ebdc132
2024-05-27 09:53:14 +08:00
shixiaowei4
81e6c6b804 Update version for Function name with scopes
Signed-off-by: shixiaowei4 <shixiaowei4@huawei.com>
Change-Id: I5ff43c21ff8b3df02871f1a137338d33b94ee857
2024-05-25 16:04:00 +08:00
ah
815ea267c0 Components improvement to accommodate arkui_x
Signed-off-by: ah <liangahui@h-partners.com>

消除相关部件整改目录
Signed-off-by: ah <liangahui@h-partners.com>
2024-05-21 17:35:56 +08:00
zhaoziming
b9978bf60e Support corss-file branch elimination
issue: I9IS1Z

Tests: runtime_core UT & defect_scan & verifier & test262 & frontend
tests & standalone build

Change-Id: I737706d219fb777184e65e359ffaf0e08f0c9a3c
Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
2024-04-29 20:49:14 +08:00
openharmony_ci
26d5b36c34
!1579 Add unittest for interference graph
Merge pull request !1579 from 李涛/ig-ut
2024-04-25 06:27:49 +00:00
openharmony_ci
2dd3a4f04a
!1411 Add branch elimination optimization
Merge pull request !1411 from 李涛/branch-elimination
2024-04-24 13:54:06 +00:00
li-tao116
9de88f4d9a Add branch elimination optimization
Issue: I99T6C
Tests: standalone build & runtime_core UT & frontend tests & verifier tests & defect_scan UT.

Signed-off-by: litao <litao@kaihong.com>
Change-Id: Icf47c8c9fb482aed81200cc09a5136de17023b9a
2024-04-24 11:56:34 +08:00
li-tao116
82961a2e38 InterferenceGraph unittest codefix
Signed-off-by: litao <litao@kaihong.com>
2024-04-23 09:44:52 +08:00
openharmony_ci
4c3cd4f834
!1094 Fix imm data read exception in optimizer and disassembler
Merge pull request !1094 from OneYuan/imm_fix
2024-04-22 12:18:25 +00:00
li-tao116
698bf4d4c3 InterferenceGraph unittest codefix
Signed-off-by: litao <litao@kaihong.com>
2024-04-22 11:04:40 +08:00
openharmony_ci
04ff3e73de
!1288 Add sccp for const folding.
Merge pull request !1288 from qijinquan/sccp
2024-04-21 01:07:23 +00:00
openharmony_ci
d2e8ddef68
!1534 Remove type system for bytecode optimizer
Merge pull request !1534 from huangyu/0407_remove_type_extractor
2024-04-20 10:45:03 +00:00
li-tao116
3aa8f83368 Add unittest for interference graph
Signed-off-by: litao <litao@kaihong.com>
Change-Id: Ic740830b3c7c8ee964bb7abf01f1da1533fdfe3c
2024-04-19 16:46:30 +08:00
chenyiyuan
c125ea630c Fix imm data read exception in optimizer and disassembler
issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I900SM

Signed-off-by: chenyiyuan <chenyiyuan6@huawei.com>
Change-Id: Id458ff0260eaaa28468674419635fc314705a720
2024-04-18 16:40:40 +08:00
qijinquan
56b522e1c9 Add UT for constant propagation.
Issue: I94E9W
Tests: standalone build & runtime_core UT & frontend tests & verifier tests & defect_scan UT.

Signed-off-by: qijinquan <qijinquan@kaihong.com>
2024-04-18 11:48:53 +08:00
qijinquan
3246c9b1fa Add constant propagation and folding based on SCCP
Issue: I94E9W
Tests: standalone build & runtime_core UT & frontend tests & verifier tests & defect_scan UT.

Signed-off-by: qijinquan <qijinquan@kaihong.com>
2024-04-18 11:48:13 +08:00
openharmony_ci
32880aa784
!1488 Fix the bug that PhiResolver may remove an instruction which has already been removed
Merge pull request !1488 from 李涛/fix-phi-resolver
2024-04-16 14:31:25 +00:00
huangyu
1f6508d032 Remove type system for bytecode optimizer
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9GG52
Test: runtime_core UT, es2abc UT, test262, ets_runtime UT, standalone build

Signed-off-by: huangyu <huangyu76@huawei.com>
Change-Id: Ib233fbf1a5df3e49492f7cc411cab54ed3361ae4
2024-04-16 17:35:04 +08:00
li-tao116
b5ec88f2fe Adjust dead marker check position
Signed-off-by: litao <litao@kaihong.com>
2024-04-16 17:10:09 +08:00
li-tao116
cfb76c0d54 Set dead marker before RemoveInst
Signed-off-by: litao <litao@kaihong.com>
2024-04-07 10:15:16 +08:00
li-tao116
24e241e427 Fix the bug that PhiResolver may remove an instruction which has already been removed
Signed-off-by: litao <litao@kaihong.com>
2024-04-02 11:38:53 +08:00
openharmony_ci
5d304bb52b
!1441 component improvement
Merge pull request !1441 from huihuihui/master
2024-04-01 12:58:12 +00:00
ah
b10fa48f09 5.0 component improvement
Signed-off-by: ah <liangahui@h-partners.com>
2024-03-30 20:33:23 +08:00
shixiaowei4
cf5f1f74ba Fix warning in runtime_core
Signed-off-by: shixiaowei4 <shixiaowei4@huawei.com>
Change-Id: Idd3651b4aa3b0951daf406e842d35b929b26b892
2024-03-21 03:57:55 +00:00
li-tao116
0c10e58219 Add a tool for drawing IR CFGs
Signed-off-by: litao <litao@kaihong.com>
Change-Id: I41e6a7deee62eeb7436e358592bd4479bcc75e57
2024-03-07 19:37:26 +08:00
openharmony_ci
0b0f953d24
!827 Making throw instruction a basic block terminator in ir_builder by adding x_throw
Merge pull request !827 from zhaoziming_hw/zzm-dev-defect_scan_fix_throw_insn
2023-12-21 09:38:54 +00:00
zhaoziming
46e48de84a Changed register representation to 16 bits for libark_defect_scan_aux
Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
Change-Id: Ie9373326f1ef1505e0122b1b04738dab691cb3c7
2023-12-18 18:07:08 +08:00
zhaoziming
013896231d Making throw a basic block terminator in ir_builder by adding x_throw
Change-Id: Id96a701a34a014bb5e9d959bfd6c4a3be77be79d
Signed-off-by: zhaoziming <zhaoziming9@huawei.com>
2023-12-18 17:33:33 +08:00
openharmony_ci
edcdc248b3
!436 Delete abandoned testing code
Merge pull request !436 from huyunhui/master
2023-09-08 02:08:16 +00:00
huyunhui
1cbd0f760f Delete abandoned code
Issue: git@gitee.com:openharmony/arkcompiler_runtime_core.git

Signed-off-by: huyunhui <huyunhui1@huawei.com>
2023-09-07 15:59:52 +08:00