Home
last modified time | relevance | path

Searched +full:constant +full:- +full:pool (Results 1 – 25 of 56) sorted by relevance

123

/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/config/
Dnon_testable.yaml1 # 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/
Dnon_testable.yaml1 # 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/tests/cts-generator/cts-template/
Dlda.str.yaml1 # 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 …]
Dlda.type.yaml1 # 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 …]
Dcall.virt.short.negative.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
13 ---
15 - name: r_A
21 - name: r_B
28 - file-name: call.virt.short.negative
31 - sig: call.virt.short method_id, v1:in:top, v2:in:top
42 constant-pool based on object reference using language-specific semantics.
45 Non-range instructions can be used to pass up to 4 arguments (including object reference).
51 - method_id_non_static
[all …]
Dcall.virt.range.yaml1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
13 ---
15 - name: R_xorshift32
49 - file-name: call.virt.range
52 - sig: call.virt.range method_id, v:in:top
63 constant-pool based on object reference using language-specific semantics.
66 Non-range instructions can be used to pass up to 4 arguments (including object reference).
72 - method_id_non_static
73 - compatible_arguments
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dlda.str.yaml1 # 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 …]
Dlda.type.yaml1 # 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/docs/changelogs/
D2022-08-18-isa-changelog.md1 # 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/static_core/docs/
Dfile_format.md13 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/docs/
Dfile_format.md13 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/
Dclang_tidy_check.py2 # -- coding: utf-8 --
3 # Copyright (c) 2022-2024 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 '--proc-count', type=int, action='store', dest='proc_count',
40 required=False, default="-1",
41 help='Paralell process count of clang-tidy')
47 …# aliases for other checks(here full list: https://clang.llvm.org/extra/clang-tidy/checks/list.htm…
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
Dsnapshot_global_data.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
26 JSHandle<TaggedArray> data(thread, globalData->GetData()); in GetConstantPoolFromSnapshotData()
28 JSHandle<TaggedArray> cpArr(thread, data->Get(dataIdx + cpArrayOffset)); in GetConstantPoolFromSnapshotData()
29 return JSHandle<ConstantPool>(thread, cpArr->Get(cpArrayIdx)); in GetConstantPoolFromSnapshotData()
39 JSTaggedValue val = newCP->GetObjectFromCache(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/mem/
Dregion_allocator.h2 * 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()
111 spaces_->FreeSharedPool(initBlock_.GetMem(), initBlock_.GetSize()); in ClearRegionsPool()
131 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes)
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)
[all …]
/arkcompiler/runtime_core/static_core/runtime/bridge/arch/amd64/
Dcompiled_code_to_interpreter_bridge_dyn_amd64.S2 * 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/
Disa.yaml1 # Copyright (c) 2021-2024 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/
Dinstructions.yaml1 # 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/
Dinstructions.yaml1 # Copyright (c) 2021-2024 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/
Dcompiled_code_to_interpreter_bridge_dyn_aarch64.S2 * 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/isa/
Disa.yaml1 # 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/static_core/compiler/optimizer/analysis/
Dalias_analysis.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
42 // Constant from pool
164 switch (inst->GetOpcode()) { in IsLocalAlias()
178 /* fall-through */ in IsLocalAlias()
190 for (auto &user : inst->GetUsers()) { in IsEscapingAlias()
191 switch (user.GetInst()->GetOpcode()) { in IsEscapingAlias()
225 if (inst->GetFlagsMask() != 0) { in IsEscapingAlias()
269 // NOLINTNEXTLINE(fuchsia-multiple-inheritance)
338 /// Instructions that introduce unique constant references (global constants).
[all …]
/arkcompiler/ets_runtime/tools/circuit_viewer/examples/
Dlog_loop.txt1 [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/runtime/
Doptions.yaml1 # Copyright (c) 2021-2024 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 …]
/arkcompiler/runtime_core/static_core/compiler/tests/
Dlse_test.cpp2 * 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 …]
Dalias_analysis_test.cpp2 * Copyright (c) 2021-2024 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 …]

123