Commit Graph

4718 Commits

Author SHA1 Message Date
openharmony_ci
3bfa15e6bd
!3982 Refactor Scheduler,support hoist gate out of loop(Part-1)
Merge pull request !3982 from 孙哲/work
2023-04-26 14:34:30 +00:00
sunzhe23
ca5705b49b Refactor Scheduler,support hoist gate out of loop (Part-1)
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6YH1O

Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2023-04-26 19:58:04 +08:00
openharmony_ci
b693018387
!3988 optimization for numerical calculation
Merge pull request !3988 from ChunyangWang/optimization_for_numerical_calculation
2023-04-26 09:34:22 +00:00
K0u1hw
db3608d1aa Dsecription: optimization for numerical calculation
Details: 1. lower ldobjbyindex & stobjbyvalue for arraytypekind
         2. lower strict_eq for number type
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6YX3L
Signed-off-by: K0u1hw <wangchunyang15@huawei.com>

Change-Id: I70e483fb5c52cb8be68c7d68f36f01f2621052cc
2023-04-26 16:22:05 +08:00
openharmony_ci
9f39781b96
!3989 Fix compilation error bug caused by async lowering
Merge pull request !3989 from weng-xi/async_fix
2023-04-26 08:04:32 +00:00
weng-xi
73f97b0020 Fix compilation error bug caused by async lowering
When async-lowering generates the merge node before the loop, it does not generate a depend-selector.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6YX8Q
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I08b018d5973f7fec8c4aa3b2598bf23e5d1b6f6e
2023-04-26 14:21:17 +08:00
wuzhefeng
6002abbef1 Implement debug information framework (Part-3)
To faciliate aot debuggging, we need to provide the ability of code
commenting, so we will add api of adding debug-information to our gate
compilation framework and pass the information to LLVM-IR. At last, the
generated machine code can be associated with specific code comments.

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

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I6a1eef5588231f3aa31cc6b2efea9667d0eda929
2023-04-26 14:19:53 +08:00
openharmony_ci
dc961f65b5
!3967 Rename CLI params for jsvm and ark_aot_compiler
Merge pull request !3967 from hzzhouzebin/renameParam
2023-04-26 01:44:34 +00:00
openharmony_ci
370ab0e7cc
!3975 Bugfix on Promise.all for memory leak
Merge pull request !3975 from chenjingxiang/promiseall
2023-04-25 08:17:30 +00:00
openharmony_ci
58e3ab5f2b
!3980 Fix the code format problem
Merge pull request !3980 from hwx1163501/master
2023-04-25 07:51:54 +00:00
openharmony_ci
2b653650f2
!3944 Range Analysis For Int32 Value
Merge pull request !3944 from ChunyangWang/range_analysis
2023-04-25 07:32:27 +00: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
hzzhouzebin
0651538873 Rename CLI params for jsvm and ark_aot_compiler
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6XL7E
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I751d08d99e08acda7d0fea7094967029d1e19934
2023-04-25 10:58:34 +08:00
quiet-thought
3914d254ed Bugfix on Promise.all for memory leak
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6Y2WG

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Id0ffce897afc63bb19384d9669012fd18bad44ab
2023-04-25 09:47:39 +08:00
openharmony_ci
0140f8f663
!3893 Add function apply builtins ir
Merge pull request !3893 from wpy111/master
2023-04-24 15:24:46 +00:00
wupengyong
c1aa7ecd82 Reason:add function apply builtins ir
Description:add function apply ir
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6Y5E4?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ie5ade286a56c5237175476a6a0b915558b87c454
2023-04-24 21:03:55 +08:00
openharmony_ci
8782d5ace6
!3976 fix suspendgeneratorfor testcase of AOT
Merge pull request !3976 from zhangyukun8/master
2023-04-24 11:55:45 +00:00
openharmony_ci
6ede40bcc4
!3946 Add Value Numbering to eliminate Convert
Merge pull request !3946 from 孙哲/master
2023-04-24 11:13:29 +00:00
zhangyukun8
3c94be43f0 Fix suspendgeneratorfor testcase of AOT
CheckResumeInLoopBody fail to check multi-level-loops

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6Y4Y8?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ib7b975f8b8fbe644667e587b500993858e015e06
2023-04-24 17:17:43 +08:00
openharmony_ci
1f486a2d04
!3977 Fix the bug that the Phi node is not generated
Merge pull request !3977 from weng-xi/no_phi
2023-04-24 08:20:25 +00:00
openharmony_ci
8a32f45414
!3915 Support typeinfer for generic types [PART_1]
Merge pull request !3915 from huoqingyi/typeliteral
2023-04-24 07:10:00 +00:00
weng-xi
3e37a79f72 Fix the bug that the Phi node is not generated
If the loop head is the first bb block, the variables used in the head cannot correctly generate Phi node

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6Y4JU
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I57927992e19ef9c53c598197609a17ba69b6f3ff
2023-04-24 11:14:09 +08:00
K0u1hw
38cf537f3e Description: Add Range Analysis Pass
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6WSXJ
Signed-off-by: K0u1hw <wangchunyang15@huawei.com>

Change-Id: I32c205c659f0cffba34b845701614b1e9ec44b99
2023-04-24 10:52:18 +08:00
openharmony_ci
209f1c91ab
!3966 Bugfix : c-interpreter 262 crash
Merge pull request !3966 from lukai/262bugfix
2023-04-23 11:39:04 +00:00
huoqingyi
34ddc47922 Support typeinfer for generic types [PART_1]
In order to support typeinfer for generic types, we first need to refactor
the process of extracting types and parsing types to handling negative numbers,
which represent formal parameters of generic types recorded in type literals in abc files.

Issus:
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6UYLQ

Tests:
test262, typeinfer test, aot test

Signed-off-by: huoqingyi <huoqingyi@huawei.com>
Change-Id: I8197a93c81cc2b2335a418b0307b23880a0799e4
2023-04-23 14:19:11 +08:00
Gymee
7f32f0a4a2 Add exception check for NewPromiseCapability
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6Y02T
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Ifa04feb5e10ab079321a1b37b0697ce729bb82dd
2023-04-23 11:19:55 +08:00
openharmony_ci
f45cc301c6
!3511 Type infer and transfer between multiple files
Merge pull request !3511 from lijincheng/resolve-import
2023-04-21 20:30:17 +00:00
openharmony_ci
6952f8fc29
!3945 Fix for loading page file after toggled ability
Merge pull request !3945 from DaiHN/toggleAb
2023-04-21 14:11:25 +00:00
lijincheng
b4b26de43e Type infer and transfer between multiple files
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>
2023-04-21 16:36:32 +08:00
lukai
ec60ad7112 Bugfix : c-interpreter 262 crash
acc should be restored after GC

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6XP4D?from=project-issue
Signed-off-by: lukai <lukai25@huawei.com>
2023-04-21 16:25:34 +08:00
DaiHN
3b9d6c3a57 Fix for loading page file after toggled ability
---------------
issue : #I6WTCK

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: Ica257d4b87e5342bd71bc619a94d691de76e8187
2023-04-21 14:32:40 +08:00
openharmony_ci
5c4568b321
!3959 Fix AsyncFunctionAwait crash
Merge pull request !3959 from Gymee/fix_AsyncFunctionAwait_crash
2023-04-21 03:59:52 +00:00
openharmony_ci
f9b145223b
!3956 Modifying Code Alarms
Merge pull request !3956 from hwx1163501/master
2023-04-21 03:58:13 +00:00
openharmony_ci
7d4db34b21
!3948 Bugfix on Array.apply
Merge pull request !3948 from chenjingxiang/arrayapply
2023-04-21 03:48:36 +00:00
openharmony_ci
4f13a75bd6
!3952 Fix the compilation bug in the process of bytecode to circuit
Merge pull request !3952 from weng-xi/phi
2023-04-21 02:51:15 +00:00
openharmony_ci
fbd91f2665
!3953 Remove repetitive jscall implementation in jscallproxy
Merge pull request !3953 from zhangyukun8/master
2023-04-21 02:12:17 +00: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
Gymee
7d8934a1a3 Add exception check for AsyncFunctionAwait
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6XF6O
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I9fa1077b17625b2b07d1976219f86a7e48c1fd70
2023-04-21 09:14:34 +08:00
openharmony_ci
e0ccd55451
!3960 Modify some code format
Merge pull request !3960 from weng-changcheng/modify_codestyle
2023-04-21 01:12:43 +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
openharmony_ci
fb3faab482
!3917 Add builtins trace
Merge pull request !3917 from 任堂宇/master
2023-04-20 14:11:17 +00:00
weng-xi
02f07cb331 Fix the compilation bug in the process of bytecode to circuit
When there is only one predecessor (input) of the BB, the value_selector gate is no longer generated.
However, the logic of frame_state.cpp was not modified, resulting in compilation failure

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6X14O
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: Icbcec395e66b68ab372894032f9dae709a0b864b
2023-04-20 19:05:50 +08:00
hwx1163501
381b99ad3c Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6WT0V
2023-04-20 17:22:43 +08:00
quiet-thought
254d8323df Bugfix on Array.apply
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6WZJR

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I0d851b157f49bd44ad3a29866d922b854da36f23
2023-04-20 17:03:05 +08:00
Rtangyu
c2d1e96c08 Add builtins trace
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6UHGR

Signed-off-by: Rtangyu <rentangyu@huawei.com>
2023-04-20 16:24:54 +08:00
openharmony_ci
e64af08b85
!3837 Parse method debugging info when needed
Merge pull request !3837 from lijiamin/master
2023-04-20 07:09:05 +00:00
wengchangcheng
4d29d44757 Modify some code format
Use const & to pass string

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I9e3391fa8212f08a226668db4a396ca02672cf86
2023-04-20 15:05:29 +08:00
openharmony_ci
120458550a
!3726 Add JSTypedArray::FastCopyElementToArray IR
Merge pull request !3726 from dingwen/master
2023-04-20 06:19:49 +00:00
dingwen
3b790c57c8 Add JSTypedArray::FastCopyElementToArray IR
Description:FastCopyElementToArray IR
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6N8LA?from=project-issue

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: If7c93396059012d0a25cd71bdfd397cc71016542
2023-04-20 10:12:54 +08:00