| /arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/config/ |
| D | non_testable.yaml | 1 # Copyright (c) 2021-2024 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-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/static_core/plugins/ets/compiler/docs/ |
| D | interop_string_constpool_doc.md | 1 # Constant pool for interop strings 24 …- enumerate all qualified names in the current file (see `ETSChecker::ResolveDynamicCallExpression… 25 - consider these qualified names as arrays of strings 26 …- concatenate the arrays into a single array and write it to the annotation of `jscall` class corr… 27 …- encode `CallDynamic("a.b.c", ...)` as `CallDynamic(qualifiedNameStart, qualifiedNameEnd, ...)` (… 31 …- current `qnameBufferSize_` (VM-global integer) is stored to a static field of this `jscall` clas… 32 …- `qnameBufferSize_` is atomically increased by `N` (see `AllocateSlotsInStringBuffer` in [interop… 35 …- we have a **napi_array** of `napi_string`s for each napi_context. When `jscall` class is used, s… 39 …- load `classQualifiedNameStart` from the corresponding `jscall` class (see `GetClassQnameOffset` … 40 …- to retrieve `K`-th string from the qualified name, we load `(classQualifiedNameStart + qualified…
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | lda.str.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm 20 - file-name: "lda.str" 22 title: Load accumulator from string constant pool 25 - constant_string_id 27 - sig: lda.str string_id 31 - file-name: "string_invalid" 34 runner-options: [compile-failure] 36 code-template: | [all …]
|
| D | lda.type.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm 22 - file-name: "lda.type" 24 title: Load accumulator from type constant pool 27 - type_id_class 29 - sig: lda.type type_id 33 - file-name: "invalid_type" 36 runner-options: [compile-failure] 38 header-template: [] [all …]
|
| /arkcompiler/runtime_core/docs/changelogs/ |
| 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/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 …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | file_format.md | 16 is so large that it does not fit into a 16-bit unsigned integer. It makes an 27 In order to achieve greater compactness, 16-bit indices are used to refer to 45 - *Foreign* classes, fields, and methods are declared in other files and 47 - *Local* classes, fields and methods are declared within the current file. 56 - In case of a foreign entity, the search for an entity is performed in other 58 - In case of a local entity, a runtime object is created from the definition 61 Most data structures have the 4-byte alignment in order to improve the speed of 64 All multibyte values are little-endian as most target architectures are. 94 Any tool which supports format version `N` must support format version `N - 1` too. 101 | ---- | ----------- | [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 …]
|
| /arkcompiler/runtime_core/static_core/scripts/clang-tidy/ |
| D | clang_tidy_check.py | 2 # -- coding: utf-8 -- 3 # Copyright (c) 2022-2025 Huawei Device Co., Ltd. 8 # http://www.apache.org/licenses/LICENSE-2.0 27 description="Runner for clang-tidy for panda project.") 33 '--filename-filter', type=str, action='store', dest='filename_filter', 37 '--full', action="store_true", help='Check all files with all compile keys.') 39 '--check-libabckit', action="store_true", help='Check runtime_core/libabckit folder') 41 '--header-filter', type=str, action='store', dest='header_filter', 43 help='Ignore header filter from .clang-tidy file.') 45 '--proc-count', type=int, action='store', dest='proc_count', [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/ |
| D | snapshot_global_data.cpp | 7 * http://www.apache.org/licenses/LICENSE-2.0 26 JSHandle<TaggedArray> data(thread, globalData->GetData()); in GetConstantPoolFromSnapshotData() 28 JSHandle<TaggedArray> cpArr(thread, data->Get(thread, dataIdx + cpArrayOffset)); in GetConstantPoolFromSnapshotData() 29 return JSHandle<ConstantPool>(thread, cpArr->Get(thread, cpArrayIdx)); in GetConstantPoolFromSnapshotData() 39 JSTaggedValue val = newCP->GetObjectFromCache(thread, item.constpoolIdx_); in Resolve() 43 std::string name = globalData->GetFileNameByDataIdx(item.dataIdx_).c_str(); in Resolve() 51 if (thread->GetEcmaVM()->GetJSOptions().IsEnableCompilerLogSnapshot()) { in Resolve() 52 LOG_COMPILER(INFO) << "[aot-snapshot] store AOT entry index of method (offset: " in Resolve() 57 newCP->SetObjectToCache(thread, item.constpoolIdx_, JSTaggedValue(entryIndex)); in Resolve() 61 uint32_t aotLiteralInfoLen = aotLiteralInfo->GetCacheLength(); in Resolve() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/bridge/arch/amd64/ |
| D | compiled_code_to_interpreter_bridge_dyn_amd64.S | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 58 CFI_REL_OFFSET(r15, -(2 * 8)) 60 CFI_REL_OFFSET(r14, -(3 * 8)) 62 CFI_REL_OFFSET(r13, -(4 * 8)) 64 CFI_REL_OFFSET(r12, -(5 * 8)) 66 CFI_REL_OFFSET(rbx, -(6 * 8)) 105 // %r12 - iframe* 115 // %r12 - iframe* 116 // %rdi - method* [all …]
|
| /arkcompiler/runtime_core/static_core/isa/ |
| D | isa.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 14 --- 17 - name: General Design 19 …VM is register-based with a dedicated accumulator register that serves as an implicit operand to i… 21 - name: Registers 31 - name: Accumulator 37 …Moreover, when an instruction has more than one source operand, the shorter-living value must be p… 39 …dvantage. For example, arguments for the`call.range` instruction can be moved register-to-register. 41 - name: Calling Sequence [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | region_allocator.h | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 42 …ASSERT(ToUintPtr(PoolManager::GetMmapMemPool()->GetStartAddrPoolForAddr(object)) == ToUintPtr(regi… in ObjectToRegion() 60 auto regionAddr = PoolManager::GetMmapMemPool()->GetStartAddrPoolForAddr(addr); in AddrToRegion() 102 this->GetSpace()->template ReleaseEmptyRegions<REGION_TYPE, OS_PAGES_POLICY>(); in ReleaseEmptyRegions() 113 spaces_->FreeSharedPool(initBlock_.GetMem(), initBlock_.GetSize()); in ClearRegionsPool() 133 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 135 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 137 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 139 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) [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 …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 1 # Copyright (c) 2021-2025 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 …]
|
| /arkcompiler/runtime_core/static_core/runtime/bridge/arch/aarch64/ |
| D | compiled_code_to_interpreter_bridge_dyn_aarch64.S | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 41 // fp <- fp 42 // == <- sp 57 CFI_REL_OFFSET(x28, -(2 * 8)) 58 CFI_REL_OFFSET(x27, -(3 * 8)) 59 CFI_REL_OFFSET(x26, -(4 * 8)) 60 CFI_REL_OFFSET(x25, -(5 * 8)) 61 CFI_REL_OFFSET(x24, -(6 * 8)) 62 CFI_REL_OFFSET(x23, -(7 * 8)) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/isa/ |
| D | isa.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: ets 19 - namespace: ets 23 - tag: v2_obj_or_null 27 - title: Get field from object by name 32 - v1_object 34 - field_id 36 - x_null 58 - sig: ets.ldobj.name v:in:ref, field_id [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
| D | alias_visitor.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 29 // Constant from pool 60 // Used for fields with offset not known in compile-time 139 …ASSERT(base->IsReferenceOrAny() || base->GetBasicBlock()->GetGraph()->IsDynamicMethod() || base->I… in CreateObject() 140 base->GetType() == DataType::POINTER); in CreateObject() 243 if (!idx_->IsConst() || GetType() == DICTIONARY_ELEMENT) { in DropIdx() 247 auto newImm = GetImm() + idx_->CastToConstant()->GetIntValue(); in DropIdx() 276 inputsSet_->clear(); in GetClearInputsSet() 326 /// Instructions that introduce unique constant references (global constants).
|
| /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/ets_runtime/tools/circuit_viewer/examples/ |
| D | log_loop.txt | 1 [gc] Ark Auto adapter memory pool capacity:4185873408 182 [compiler] ("id"=41, "op"="FRAME_STATE", "MType"="NOVALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", … 183 [compiler] ("id"=44, "op"="FRAME_STATE", "MType"="NOVALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", … 184 [compiler] ("id"=47, "op"="FRAME_STATE", "MType"="NOVALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", … 185 [compiler] ("id"=50, "op"="FRAME_STATE", "MType"="NOVALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", … 186 [compiler] ("id"=53, "op"="FRAME_STATE", "MType"="NOVALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", … 198 [compiler] ("id"=11, "op"="CONSTANT", "MType"="I64, bitfield=18446462598732840970, type=-GT(M=0, L=… 201 [compiler] ("id"=12, "op"="CONSTANT", "MType"="I64, bitfield=18446462598732840960, type=-GT(M=0, L=… 215 [compiler] ("id"=16, "op"="JS_BYTECODE", "MType"="I64, bitfield=0, type=ANY_TYPE-GT(M=0, L=0), ", i… 217 [compiler] ("id"=17, "op"="JS_BYTECODE", "MType"="I64, bitfield=0, type=ANY_TYPE-GT(M=0, L=0), ", i… [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | lse_test.cpp | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 25 // NOLINTBEGIN(readability-magic-numbers) 34 BASIC_BLOCK(2U, -1L) in TEST_F() 58 BASIC_BLOCK(2U, -1L) in TEST_F() 70 ASSERT_TRUE(GetGraph()->RunPass<Lse>()); in TEST_F() 83 BASIC_BLOCK(2U, -1L) in TEST_F() 102 BASIC_BLOCK(2U, -1L) in TEST_F() 112 ASSERT_TRUE(GetGraph()->RunPass<Lse>()); in TEST_F() 125 CONSTANT(8U, 0x8U).s64(); in SRC_GRAPH() [all …]
|
| D | alias_analysis_test.cpp | 2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 27 // NOLINTBEGIN(readability-magic-numbers) 48 CONSTANT(4U, 0U); in TEST_F() 62 BASIC_BLOCK(5U, -1L) in TEST_F() 76 GetGraph()->RunPass<AliasAnalysis>(); in TEST_F() 77 EXPECT_TRUE(GetGraph()->IsAnalysisValid<AliasAnalysis>()); in TEST_F() 80 auto &alias = GetGraph()->GetAnalysis<AliasAnalysis>(); in TEST_F() 115 CONSTANT(4U, 0U); in BuildGraphCompleteLoadArray() 137 BASIC_BLOCK(5U, -1L) in BuildGraphCompleteLoadArray() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | options.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 19 - name: boot-panda-files 22 - $ORIGIN/../pandastdlib/arkstdlib.abc 26 - name: panda-files 29 description: Panda files separated by colon which is not within boot-panda-files 32 - name: boot-intrinsic-spaces 35 - core 37 - core 38 …description: Load specified intrinsic spaces. This option is for fine tuning. Use load-runtimes in… [all …]
|