openharmony_ci
fa1b617cd7
!4821 Typed TypeOf Optimization, Null And Undefined Extension for BinaryOP And UnaryOP
...
Merge pull request !4821 from 许杰/sr0930
2023-09-20 03:57:16 +00:00
wuzhefeng
9f831656d2
[Feature]: Add code comments
...
Adding code comments for the generated aot machine code when enabling --compiler-log, which will be helpful for debugging.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I82PXK
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I9f0ddf0c94fe5de69fbbbc15b87b470ceb9f704d
2023-09-19 19:29:03 +08:00
K0u1hw
553f2bbabd
Add UT for TypedArray and Loop Optimization
...
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I825NG
Signed-off-by: K0u1hw <wangchunyang15@huawei.com>
Change-Id: I7a31b82483692252a480dd557dc91f7c8c3d8b0c
2023-09-19 16:41:10 +08:00
yingguofeng@huawei.com
7b633520b5
Refactor>(PGO): PGO refactor
...
Adjust the PGO collection model. Complete type data collection by traversing the ProfileTypeInfo of Method through asynchronous threads
Issue: #I7UVD6
Change-Id: Ieb94892698d7a15d948b762ba057e4c0cf6ca1d2
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-09-17 16:00:55 +08:00
ginxu
1595771875
BinaryOP And UnaryOP Support Undefined And Null Value Input Optimization
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I81Q27
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: Ic6260b88a3954ed1941bb97a75db0a511a26d51e
2023-09-16 14:19:05 +08:00
ginxu
dbf1804cb6
Typed TypeOf Hir Optimization
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I81Q27
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I55763fa5c7cc62f8e73f8d9a679ec259596ea175
2023-09-16 11:29:18 +08:00
openharmony_ci
787b5a85ea
!4797 StringEqual optimization
...
Merge pull request !4797 from weng-xi/string_equal
2023-09-15 08:04:42 +00:00
weng-xi
94395cd9dc
StringEqual optimization
...
1. add new hcr-optimization lowering
2. stringequal optimization
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I80QC0
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I40abcbbe6a4eb3f98735072d0a86163ab3a5947e
2023-09-15 09:01:04 +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
xiaoweidong
e82d301a2d
Optimise Map.set, Set.add, Map.delete, Set.delete function with ir
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7XNUT?from=project-issue
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
Change-Id: I2569d6e1c24d45770260747fd7edf6a83857f56d
2023-09-13 14:19:02 +08:00
liuzhijie
39e0d61227
Array Bounds Check Elimination - Part 2
...
(Loop-Invariant Checks + Grouping Checks)
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7V12I
Signed-off-by: liuzhijie <jay.lau2020.work@outlook.com>
Change-Id: I584c54a9ed5c472f43f8a83d3fdab6c588db5898
2023-09-08 14:36:08 +08:00
weng-xi
591299cbaf
AOT supports String.Length/charAt/charCodeAt
...
AOT's fast path supports String.Length/charAt/charCodeAt
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7XLSA
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: Icb9ac96aae156205cf17722592c3fd04992a1aba
2023-09-01 09:26:18 +08:00
weng-xi
a2ee4ae560
AOT LdObjByValue Supports String Type
...
Add string type handling to ldobjbyvalue in the aot fast path
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7X361
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I9b1f4f2bef0260dd65853a5e89ae9b7030c57120
2023-09-01 09:24:31 +08:00
openharmony_ci
e7edf5786b
!4597 Add Branch Weight for Branch Prediction
...
Merge pull request !4597 from ChunyangWang/branch_weigth
2023-08-28 07:51:30 +00:00
K0u1hw
dfba8adae6
Branch Weight for Branch Prediction
...
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7R98X
Signed-off-by: K0u1hw <wangchunyang15@huawei.com>
Change-Id: I0ddb0acfa1716a641a70ebf1beb99034ccfcdaf0
2023-08-26 18:31:02 +08:00
zhangyukun8
c812ecda91
Optimize Array.sort for aot
...
Add cache for number toString
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UYXS?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ic6008335777e9844ecc59ec005b876363b3792da
2023-08-24 20:17:09 +08:00
openharmony_ci
c4dcfb3a9f
!4602 CreateArray Optimization Based On ElementsKind
...
Merge pull request !4602 from 吴璋达/array-opt
2023-08-16 03:01:25 +00:00
wu_zhang_da
c9eba669c0
CreateArray Optimization Based On ElementsKind
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7RKX8
Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: Ic84c0ac635103a59e2e212cb0c764a7ee13f6af9
2023-08-15 20:41:00 +08:00
dingding
b37e3f5995
Eliminate HeapObject Check on the Elements of JSArray based on ElementsKind
...
1. If the PGO ElementsKind of a JSArray is OBJECT, and the named property of the JSArray element is loaded,
the HeapObject check is not required.
2. The AOT stroing of OBJECT JSArray should be checked to prevent damage to the ElementsKind.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7SHUY
Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: Ia55a75cf9d8ebe269e114bc6666718940629eb07
2023-08-11 06:19:42 +08:00
dingding
2362ca18b5
Eliminate JSArray Hole Check based on ElementsKind
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7R98E
Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: Id59c107f0209a9c73134194eb59da293ae2b6d67
2023-08-10 14:24:11 +08:00
openharmony_ci
abbeed23b7
!4579 LdObjByValue supports Uint32Array type
...
Merge pull request !4579 from weng-xi/uint32array
2023-08-08 13:17:37 +00:00
weng-xi
b274ad36a7
LdObjByValue supports Uint32Array type
...
1. add uint32 type for retype-pass
2. ldobjbyvalue supports uint32array type
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7QD22
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I57bcb469e60f53aacb386d9a575f55c695af21d3
2023-08-08 19:08:30 +08:00
wupengyong
b389b49691
Reason:add aot call stack overflow check
...
Description:add aot call stack overflow check
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7PMSM?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I1a31c928fc406364aa81cc2a5a5037d920f1ed04
2023-08-07 16:24:38 +08:00
hwx1163501
f0631bfc68
Modifying Code Alarms
...
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7Q61H
2023-08-03 10:19:06 +08:00
liuzhijie
7a7758d1a0
AOT Optimization - RangeGuard Pass Part-4
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7P758
Signed-off-by: liuzhijie <jay.lau2020.work@outlook.com>
Change-Id: If3b245223e3d5a9525e057e673da821fa331de1f
2023-07-31 11:41:00 +08:00
void_f
9d5702be3c
NegativeIndexCheck Elimination
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7OP25
Signed-off-by: void_f <void_f@foxmail.com>
Change-Id: Iea144f0556b64934f9fd3c650170997cadab2abf
2023-07-28 17:31:01 +08:00
wu_zhang_da
5f474177a1
Optimize CreateArrayWithBuffer Instruction
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7KUJH
Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: I18a47544030568903aac09b8f02480da933e5e9f
2023-07-26 18:10:05 +08:00
void_f
589ef61429
CheckAndConvert Eliminition
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7N0P9
Signed-off-by: void_f <void_f@foxmail.com>
Change-Id: I7455ddac826dc3a74047aaf394612446602ffa90
2023-07-25 09:57:07 +08:00
dingding
25ee7e5685
AOT Type-Based Polymorphic Property Access
...
1. Support polymorphic named property access in TSHCRLowering.
2. Merge the process of loading and storing as access.
3. Intruduce a new class ObjectAccessHelper to let TSHCRLowering pay more
attention to the process of graph.
4. Triple improvement in micro polymorphism performance test. (250->80)
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7LEDD
Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: I00814e82fce2cd21a9d3743344ea47acc598719d
2023-07-23 10:08:00 +08:00
openharmony_ci
c1fd435e55
!4465 Add cow array check op
...
Merge pull request !4465 from xiaoweidong/CowArrayCheck
2023-07-20 06:22:18 +00:00
xiaoweidong
297e365eab
Add COW_ARRAY_CHECK op to eliminate redundant check
...
Issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7LWOS
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2023-07-20 12:36:16 +08:00
yuanyao
d0fd1a088f
AOT Optimization - Add RangeGuard Pass Part-1
...
Issue: I7M53L
Signed-off-by: yuanyao <yuanyao14@huawei.com>
Change-Id: I833de4e73d2aaf2f6036cbb14a72a864b3ba6f67
2023-07-20 09:41:28 +08:00
void_f
2d064ecd43
Fix StoreElement and LoadConstOffset
...
issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7LPO6
Signed-off-by: void_f <void_f@foxmail.com>
Change-Id: I78ff532f45466ee1fca79b462ae539b2fff5efdc
2023-07-19 17:08:19 +08:00
openharmony_ci
2bafcd9845
!4454 Add MIR for LdLexVar and StLexVar
...
Merge pull request !4454 from 孙哲/work
2023-07-18 11:48:45 +00:00
openharmony_ci
ea267ae8b7
!4412 Add aot nogc call
...
Merge pull request !4412 from wpy111/master
2023-07-18 10:57:56 +00:00
sunzhe23
bd9b7009a5
Add MIR for LdLexVar and StLexVar
...
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7M1VF
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2023-07-18 17:06:04 +08:00
wupengyong
f0efab85b0
Reason:add aot no gc call
...
Description:add aot no gc call
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7KF8J?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I7d6599ce55c493894c42e42570b31be945c59701
2023-07-18 16:18:24 +08:00
yingguofeng@huawei.com
302571e5c6
Fix(Aot): TypeArray raw number and track field bugfix
...
Issue: #I7L6FC
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
Change-Id: Ifab3bf9ed90ebdf0d4e06171468da34d2e8ff977
2023-07-18 11:19:37 +08:00
ginxu
35a6763ba6
Unbind Framestate From Statesplit For Call BC
...
1. Unbind framestate and statesplt for call
2. Bugfix for inline
3. Pass inline parameter type
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7J64D
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: Ib80feeb5f6f4af5bbcc6a110014f273a42e363f7
2023-07-14 09:19:23 +08:00
sunzhe23
65d069bab5
Support loop hoist for CheckAndConvert
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7I2FA
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2023-07-03 20:18:01 +08:00
wu_zhang_da
fb1ecbe6c9
Optimize StownByIndex instruction
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I79KGM
Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: Ia3c374156d61e23a85d985c1d290ffc9bb233280
2023-06-30 16:55:45 +08:00
openharmony_ci
14e2b47d4b
!4313 Fastpath for Int32Array and Float64Array
...
Merge pull request !4313 from ChunyangWang/fastpath_for_array_of_int32_and_float64
2023-06-28 03:09:45 +00:00
K0u1hw
0303fcfd0f
Description: Fastpath for Int32Array and Float64Array
...
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7G3YQ
Signed-off-by: K0u1hw <wangchunyang15@huawei.com>
Change-Id: I08c6fb61b02af0fe329c711428d95f5892a26717
2023-06-27 20:00:50 +08:00
yuanyao
95f3695642
AOT Refactor number speculative lowering deopt gate move to lcr lowering
...
Issue:I7F28Q
Signed-off-by: yuanyao <yuanyao14@huawei.com>
Change-Id: I75804a280299e5c14db4d3f83c98fccf79309f4b
2023-06-24 10:55:33 +08:00
sunzhe23
a9774d4efe
Support Floating state gate
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I79K9W
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2023-06-09 10:13:24 +08:00
ginxu
9547f8b3bd
Remove ConstData
...
1. Remove constadata to prevent node from entering entry bb
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7BDJV
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I1d9f799150cec3f895b82866b1251145fdda713c
2023-06-08 11:54:16 +08:00
openharmony_ci
4b04dda813
!4156 Fix stobjbyvalue for empty or COW array
...
Merge pull request !4156 from hzzhouzebin/FixStobjbyvalue
2023-06-04 10:54:12 +00:00
ginxu
56f3afc091
Add Function Call Timer Tools
...
1. Support print funcntion call time.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7AH1O
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I9d6680852f7d497d13a127544fdb8331806bd480
2023-06-04 11:12:04 +08:00
wupengyong
efc0b12047
Reason:optimize fastcall
...
Description:optimize fastcall
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I78093?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I1685c6b1341c82161d18e827f5449f90f7b1b634
2023-06-03 18:42:00 +08:00
hzzhouzebin
d9f48726ad
Fix stobjbyvalue for empty or COW array
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I79RCW
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I2cc6b44944824974842ecb2dd03ccc9765e40465
2023-06-02 15:26:19 +08:00