| /arkcompiler/runtime_core/tests/cts-coverage-tool/config/ |
| D | non_testable.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 16 - title: Conversions between integer and floating point types 17 description: Conversion from floating-point types to integer one obeys the following 20 - title: Load accumulator from string constant pool 21 description: In dynamically-typed language context load string as 'any' value. 23 - title: Static call 24 description: In dynamically-typed language context accept 'any' values in source 27 - title: Create and initialize new constant array [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | lda.str.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: PandaAssembly 21 - name: pandasm 27 - file-name: "lda.str" 29 title: Load accumulator from string constant pool 32 - constant_string_id 34 - sig: lda.str string_id 40 - file-name: "string_invalid" 43 runner-options: [compile-failure] [all …]
|
| D | lda.type.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: PandaAssembly 26 - name: pandasm 34 - file-name: "lda.type" 36 title: Load accumulator from type constant pool 39 - type_id_any_object 41 - sig: lda.type type_id 47 - file-name: "invalid_type" 50 runner-options: [compile-failure] [all …]
|
| D | call.virt.short.negative.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 18 - name: r_A 25 - name: r_B 33 - file-name: call.virt.short.negative 36 - sig: call.virt.short method_id, v1:in:top, v2:in:top 47 …constant-pool based on object reference using language-specific semantics (currently only PandaAss… 51 Non-range instructions can be used to pass up to 4 arguments (including object reference). [all …]
|
| D | call.virt.negative.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 18 - name: r_A 25 - name: r_B 34 - file-name: call.virt.negative 37 - sig: call.virt method_id, v1:in:top, v2:in:top, v3:in:top, v4:in:top 48 …constant-pool based on object reference using language-specific semantics (currently only PandaAss… 52 Non-range instructions can be used to pass up to 4 arguments (including object reference). [all …]
|
| D | call.virt.short.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 18 - name: r_A 25 - name: r_R 38 - name: r_RJ 51 - name: NPE 54 - name: j_NPE 57 - name: AME [all …]
|
| D | call.virt.range.negative.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 18 - name: r_A 25 - name: r_B 34 - file-name: call.virt.range.negative 37 - sig: call.virt.range method_id, v:in:top 48 …constant-pool based on object reference using language-specific semantics (currently only PandaAss… 52 Non-range instructions can be used to pass up to 4 arguments (including object reference). [all …]
|
| D | call.virt.range_base.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 18 - name: r_A 25 - name: NPE 28 - name: j_NPE 31 - name: AME 35 - name: j_AME 40 - file-name: call.virt.range_base [all …]
|
| D | call.virt.range.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 18 - name: R_xorshift32 52 - file-name: call.virt.range 55 - sig: call.virt.range method_id, v:in:top 66 …constant-pool based on object reference using language-specific semantics (currently only PandaAss… 70 Non-range instructions can be used to pass up to 4 arguments (including object reference). 76 - method_id_non_static [all …]
|
| D | call.short.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 20 - file-name: call.short 30 runtime constant-pool. 32 … Non-range instructions can be used to pass up to 4 arguments (unused register slot values will 37 - method_id_static 38 - compatible_arguments 40 - file-name: op_v1_4_v2_4_id_16 [all …]
|
| D | call.virt.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 18 - name: r_A 25 - name: NPE 28 - name: j_NPE 31 - name: AME 35 - name: j_AME 40 - file-name: call.virt [all …]
|
| D | call.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 14 --- 16 - name: PandaAssembly 21 - file-name: call 31 runtime constant-pool. 33 … Non-range instructions can be used to pass up to 4 arguments (unused register slot values will 38 - method_id_static 39 - compatible_arguments 41 - file-name: op_v1_4_v2_4_v3_4_v4_4_id_16 [all …]
|
| D | call.range.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 20 - file-name: call.range 30 runtime constant-pool. 32 … Non-range instructions can be used to pass up to 4 arguments (unused register slot values will 37 - method_id_static 38 - compatible_arguments 41 - file-name: op_v_8_id_32_args [all …]
|
| D | call.acc.short.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 20 - file-name: call.acc.short 30 runtime constant-pool. 32 … Non-range instructions can be used to pass up to 4 arguments (unused register slot values will 34 In dynamically-typed language context accept 'any' values in source registers. 37 - method_id_static 38 - compatible_arguments [all …]
|
| D | call.virt.acc.short.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 20 - file-name: call.virt.acc.short 30 …constant-pool based on object reference using language-specific semantics (currently only PandaAss… 34 Non-range instructions can be used to pass up to 4 arguments (including object reference). 37 - sig: call.virt.acc.short method_id, v:in:top, imm:u1 42 - file-name: op_v_4_imm_4_id_16 46 - sig: call.virt.acc.short method_id, v:in:top, imm:u1 [all …]
|
| D | call.acc.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 20 - file-name: call.acc 30 runtime constant-pool. 32 … Non-range instructions can be used to pass up to 4 arguments (unused register slot values will 34 In dynamically-typed language context accept 'any' values in source registers. 37 - method_id_static 38 - compatible_arguments [all …]
|
| D | call.virt.acc.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: PandaAssembly 20 - file-name: call.virt.acc 30 …constant-pool based on object reference using language-specific semantics (currently only PandaAss… 34 Non-range instructions can be used to pass up to 4 arguments (including object reference). 39 - sig: call.virt.acc method_id, v1:in:top, v2:in:top, v3:in:top, imm:u2 44 - file-name: op_v1_4_v2_4_v3_4_imm_4_id_16 48 - sig: call.virt.acc method_id, v1:in:top, v2:in:top, v3:in:top, imm:u2 [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | file_format.md | 13 doesn't fit in 16-bit unsigned integer. It leads to application developer have to create several 24 But to achieve more compactness 16-bit indexes are used to refer classes, methods and fields in 68 Any tool which supports format version `N` must support format version `N - 1` too. 73 | ---- | ----------- | 74 | `uint8_t` | 8-bit unsigned integer value | 75 | `uint16_t` | 16-bit unsigned integer value | 76 | `uint32_t` | 32-bit little endian unsigned integer value. | 80 ### MUTF-8 Encoding 82 Binary file format uses MUTF-8 (Modified UTF-8) encoding for strings. 91 | ---- | ------ | ----------- | [all …]
|
| D | 2022-08-18-isa-changelog.md | 1 # 2022-08-18-isa-changelog 15 3. We add prefix "deprecated" and keep the many old isa as "deprecated"-prefixed opcodes (for compa… 20 8. We add 8-bit or 16-bit imm as inline cache slot for some specific opcodes. 23 As we merge some "define-function" opcodes as one opcode, in function we add one field which record… 24 such that runtime can distinguish the "define-function" operations of different kinds. 26 We reuse the field 32-bit field `access_flags_` to encode Function Kind and Header index. 27 This will not introduce compatibility issue because the later 24-bit of `access_flags_` is unused i… 30 |<- 16-bit header index ->|<- 8-bit function kind ->|<- 8-bit original access flag ->| 35 This will help runtime to build constant pool more efficiently. 39 As we use 16-bit to encode methodId, stringId and literalarrayId, the number of these Ids in one me… [all …]
|
| /arkcompiler/runtime_core/runtime/mem/ |
| D | region_allocator.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 59 auto space = mem_pool->GetSpaceTypeForAddr(addr); in AddrToRegion() 61 …ASSERT(PoolManager::GetMmapMemPool()->GetSpaceTypeForAddr(addr) == SpaceType::SPACE_TYPE_HUMONGOUS… in AddrToRegion() 106 spaces_->FreeSharedPool(init_block_.GetMem(), init_block_.GetSize()); in ClearRegionsPool() 125 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 127 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 129 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 131 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 133 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/analysis/ |
| D | alias_analysis.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 42 // Constant from pool 164 // NOLINTNEXTLINE(fuchsia-multiple-inheritance) 204 direct_->push_back({p, p}); in AddDirectEdge() 209 inputs_set_->clear(); in GetClearInputsSet()
|
| /arkcompiler/runtime_core/isa/ |
| D | isa.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 14 --- 17 - name: General design 21 - name: Registers 31 - name: Accumulator 40 register-to-register moves. 42 - name: Calling sequence 48 …On return, callee frame is destroyed. If function return value is non-void, it is passed to caller… 52 - name: Supported primitive types [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 19 Describes signature of the instruction. Properties of the operands are separated by '-' symbol. 39 - equal_common_types 40 - float_src_eq_dst_size 41 - integer_src_ge_dst_size 43 - equal_common_types 44 - integer_src_ge_dst_size 46 - equal_common_types 47 - integer_src_ge_dst_size [all …]
|
| D | inst.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 24 #include "ir-dyn-base-types.h" 48 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) 50 // NOLINTNEXTLINE(fuchsia-multiple-inheritance) 63 // Signed integers and floating-point numbers. 212 INVALID = -1, 213 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) 225 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) 243 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) [all …]
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | alias_analysis_test.cpp | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 43 CONSTANT(4, 0); in TEST_F() 57 BASIC_BLOCK(5, -1) in TEST_F() 71 GetGraph()->RunPass<AliasAnalysis>(); in TEST_F() 72 EXPECT_TRUE(GetGraph()->IsAnalysisValid<AliasAnalysis>()); in TEST_F() 75 AliasAnalysis &alias = GetGraph()->GetAnalysis<AliasAnalysis>(); in TEST_F() 110 CONSTANT(4, 0); in TEST_F() 132 BASIC_BLOCK(5, -1) in TEST_F() 154 GetGraph()->RunPass<AliasAnalysis>(); in TEST_F() [all …]
|