1.Fix FrameState ComputeLiveOut when mov alive null gate, should find define.
2.Fix error READ_ACC flag between RETURN and RETURNUNDEFINED
3.Add regression test case
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6YVCM
Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: I2e3aa8b293abb63ed8f1f2cd42244d95a0c2081b
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
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
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. Modify JSBytecode and FramState opcode which have framestate in.
2. Changes the way common args are fetched during lowering.
3. Common args are no longer fetched from the stack during deopt.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6L28B
Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: I1e26ad526209f27edc42aa2a5f364b1566ed4d26
1. Remove env slot from optimizedJSfunctionframe.
2. Use env vreg to pass in circuit ir graph.
3. Remove some discarded interface and fast some bc lowering associated with env.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6GY5M
Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: I34d65b59e103e9c8d3b203dbf82b8f2bea7e9feb
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
1.Refine some number Type to Int
2.Bugfix for stlexvar when using var instead of let
3.Change .length of array/typedarray to int
4.Adjust strategy for loop phi infer and add another round of infer
5.Refine div/add to double
6.Bugfix for EmptyType GetException in catch phi with a gc-related type
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6B9OH
Signed-off-by: lijincheng <lijincheng13@huawei.com>
1 delete dependAnd
2 Simplifield ReplaceHirWithValue for slowPathLowering
3 add no throw flag for bc meta data
issues: #I6DSC4
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
1. Remove useless code about old ISA in bytecode_info_collector
2. Change the location of snapshot-info-collection from ts_manager to bytecode_info_collector
3. Simplify the code logic of pass_manager
4. Fix pdfjs benchmark
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I61Z1X
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I0d5dbc7215b63f54a807e0ae52c6cad5e606566d
There are several inefficient circuit-ir construction operations such that copying the inputs and outputs from Gate and passing them to other vectors, which will slow the compilation speed.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I617PE
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: Ib49fc4946443de8f2b6fedddecfd0d9efda3e96a
Currently, AOT dose not execute TypeInferPass when performing typeinfer test. We need to fix this.
Issue:
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I60ZK3
Tests:
typeinfer test
Signed-off-by: huoqingyi <huoqingyi@huawei.com>
Change-Id: Ib007a7ae790f9a9e95fabee4f39ba1e87814f8a9