| /arkcompiler/ets_frontend/ets2panda/lexer/token/ |
| D | sourceLocation.h | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 35 // NOLINTBEGIN(misc-non-private-member-variables-in-classes) 38 // NOLINTEND(misc-non-private-member-variables-in-classes) 49 // NOLINTBEGIN(misc-non-private-member-variables-in-classes) 52 // NOLINTEND(misc-non-private-member-variables-in-classes) 63 // NOLINTBEGIN(misc-non-private-member-variables-in-classes) 66 // NOLINTEND(misc-non-private-member-variables-in-classes) 69 class Range { 71 explicit Range(size_t bS) noexcept : byteSize(bS) {} in Range() function [all …]
|
| /arkcompiler/runtime_core/libpandafile/tests/ |
| D | bytecode_jump_range_tests.cpp | 7 * http://www.apache.org/licenses/LICENSE-2.0 22 #include "bytecode_instruction-inl.h" 29 // jmp -22 in TEST() 35 // a non-jump instruction in TEST() 51 // a non-range instruction in TEST() 60 // a non-range instruction in TEST()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/ |
| D | working_ranges.h | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 26 …WorkingRanges(ArenaAllocator *allocator) : regular(allocator->Adapter()), physical(allocator->Adap… in WorkingRanges() 28 InstructionsRanges regular; // NOLINT(misc-non-private-member-variables-in-classes) 29 InstructionsRanges physical; // NOLINT(misc-non-private-member-variables-in-classes) 33 * Add range in sorted order 37 auto iter = std::upper_bound(dest->begin(), dest->end(), interval, in AddRange() 38 … [](const auto &lhs, const auto &rhs) { return lhs->GetBegin() < rhs->GetBegin(); }); in AddRange() 39 dest->insert(iter, interval); in AddRange()
|
| /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/tests/test-lists/test262/ |
| D | test262-ignored-AOT-ASAN.txt | 1 built-ins/DataView/prototype/getFloat32/return-value-clean-arraybuffer.js 2 built-ins/DataView/prototype/getFloat32/return-values-custom-offset.js 3 built-ins/DataView/prototype/getFloat32/return-values.js 4 built-ins/DataView/prototype/getFloat32/toindex-byteoffset.js 5 built-ins/DataView/prototype/getFloat64/return-value-clean-arraybuffer.js 6 built-ins/DataView/prototype/getFloat64/return-values-custom-offset.js 7 built-ins/DataView/prototype/getFloat64/return-values.js 8 built-ins/DataView/prototype/getFloat64/toindex-byteoffset.js 9 built-ins/DataView/prototype/setFloat32/toindex-byteoffset.js 10 built-ins/DataView/prototype/setFloat64/index-is-out-of-range.js [all …]
|
| D | test262-excluded.txt | 2 annexB/built-ins/RegExp/incomplete_hex_unicode_escape.js 3 annexB/language/comments/multi-line-html-close.js 4 annexB/language/comments/single-line-html-close-asi.js 5 annexB/language/comments/single-line-html-close-unicode-separators.js 6 annexB/language/comments/single-line-html-close.js 7 annexB/language/comments/single-line-html-open.js 8 annexB/language/expressions/logical-assignment/emulates-undefined-and.js 9 annexB/language/expressions/logical-assignment/emulates-undefined-coalesce.js 10 annexB/language/expressions/logical-assignment/emulates-undefined-or.js 11 annexB/language/literals/regexp/class-escape.js [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/workers/ |
| D | gc_workers_tasks.h | 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 22 #include "libpandabase/utils/range.h" 105 StorageType storage_ {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes) 149 … using MovedObjectsRange = std::conditional_t<VECTOR, Range<PandaVector<ObjectHeader *>::iterator>, 150 Range<PandaDeque<ObjectHeader *>::iterator>>;
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
| D | aarch64_imm_valid.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 27 uint64 mask2 = (1UL << static_cast<uint64>(nLowerZeroBits)) - 1UL; in IsBitSizeImmediate() 65 // When value & ffffffff00000000 is 0, all high 32-bits are 0. in IsSingleInstructionMovable32() 66 // When value & ffffffff00000000 is ffffffff00000000, all high 32-bits are 1. in IsSingleInstructionMovable32() 67 // High 32-bits should be all 0 or all 1, when it comes to mov w0, #imm. in IsSingleInstructionMovable32() 89 // for target linux-aarch64-gnu in Imm12BitValid() 94 // For the 32-bit variant: is the bitmask immediate 97 if (value == 0 || static_cast<int64>(value) == -1) { in Imm12BitMaskValid() 106 // for target linux-aarch64-gnu in Imm13BitValid() 111 // For the 64-bit variant: is the bitmask immediate [all …]
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
| D | reg_encoder.h | 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 29 * |<-locals->|<-free registers->|<-RegAlloc temps->|<-arguments->| 34 * * temps (>= 0) are temporary registers that can be allocated by spill-fill 52 * range temps from free registers if necessary, consistently changing all register 55 * |<-locals->|<-range temps->|<-RegAlloc temps->|<-arguments->|<-free registers->| 63 …* |<-Renumber temps->|<-locals->|<-range temps->|<-RegAlloc temps->|<-arguments->|<-free registers… 73 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 75 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 100 // NOLINTNEXTLINE(fuchsia-multiple-inheritance) [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedarray/ |
| D | expect_output.txt | 6 # http://www.apache.org/licenses/LICENSE-2.0 16 An index of -2 returns 130 76 add element by index access failed. err: BusinessError: The value of index is out of range., code: … 80 add element by index access failed. err: BusinessError: The value of index is out of range., code: … 125 Fire-Air-Water 175 -1 219 Shrink to -1 fail. err: BusinessError: Parameter error.Invalid array length., code: 401 226 ExtendTo to array.length - 1: 5,5,5,5,5 228 ExtendTo to -1 fail. err: BusinessError: Parameter error.Invalid array length., code: 401 236 Index access read out of range success. [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
| D | 1_intro.rst | 2 Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 http://www.apache.org/licenses/LICENSE-2.0 18 This document presents complete information on the new common-purpose, 29 well-known programming languages, where these tools have already proven 32 |LANG| supports imperative, object-oriented, functional, and generic 43 - Object orientation 45 The |LANG| language supports conventional class-based, *object-oriented 49 - Classes with single inheritance, 50 - Interfaces as abstractions to be implemented by classes, and 51 - Methods (class instance or interface methods) with a dynamically dispatched [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | call.virt.range.yaml | 1 # 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). 69 For methods with more arguments range kinds of instruction are to be used, which takes 72 - method_id_non_static [all …]
|
| D | call.virt.range_base.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 15 - name: r_A 21 - name: NPE 24 - name: AME 29 - file-name: call.virt.range_base 32 - sig: call.virt.range method_id, v:in:top 43 constant-pool based on object reference using language-specific semantics. 46 Non-range instructions can be used to pass up to 4 arguments (including object reference). [all …]
|
| D | call.virt.range.negative.yaml | 1 # 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 29 - file-name: call.virt.range.negative 32 - sig: call.virt.range method_id, v:in:top 43 constant-pool based on object reference using language-specific semantics. 46 Non-range instructions can be used to pass up to 4 arguments (including object reference). 49 For methods with more arguments range kinds of instruction are to be used, which takes [all …]
|
| D | call.range.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 13 --- 16 - file-name: call.range 26 runtime constant-pool. 28 … Non-range instructions can be used to pass up to 4 arguments (unused register slot values will 30 …For methods with more arguments range kind of instruction is to be used, which takes the needed nu… 33 - method_id_static 34 - compatible_arguments 36 - file-name: op_v_8_id_32_args [all …]
|
| /arkcompiler/runtime_core/static_core/assembler/ |
| D | assembly-ins.h | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 26 #include "assembly-debug.h" 35 // CC-OFFNXT(G.PRE.02) opcode is class member 36 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) 62 constexpr int INVALID_REG_IDX = -1; 70 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) 76 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) 82 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) 87 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| 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). 73 For methods with more arguments range kinds of instruction are to be used, which takes [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.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 34 …For methods with more arguments range kind of instruction is to be used, which takes the needed nu… 37 - method_id_static 38 - compatible_arguments [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
| D | bounds_analysis.cpp | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 31 …if (inst->GetOpcode() != Opcode::Shr || inst->GetInput(0).GetInst()->GetOpcode() != Opcode::LenArr… in IsStringLength() 34 auto c = inst->GetInput(1).GetInst(); in IsStringLength() 35 return c->IsConst() && c->CastToConstant()->GetInt64Value() == 1; in IsStringLength() 41 return inst->GetOpcode() == Opcode::LenArray || IsStringLength(inst); in IsLenArray() 70 * Neg current range. Type of current range is saved. 71 * NEG([x1, x2]) = [-x2, -x1] 75 auto right = left_ == MIN_RANGE_VALUE ? MAX_RANGE_VALUE : -left_; in Neg() 76 auto left = right_ == MIN_RANGE_VALUE ? MAX_RANGE_VALUE : -right_; in Neg() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | mir_const.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 131 …"Constant is tried to be constructed with non-integral type or bit-width is not appropriate for it… in MIRIntConst() 168 value = -value; in Neg() 416 return fabs(value.floatValue) <= 1e-6; in IsZero() 431 return fabs(value.floatValue - 1) <= 1e-6; in IsOne() 435 return fabs(value.floatValue + 1) <= 1e-6; in IsAllBitsOne() 439 value.floatValue = -value.floatValue; in Neg() 498 return fabs(value.dValue) <= 1e-15; in IsZero() 513 return fabs(value.dValue - 1) <= 1e-15; in IsOne() 517 return fabs(value.dValue + 1) <= 1e-15; in IsAllBitsOne() [all …]
|
| /arkcompiler/runtime_core/static_core/isa/ |
| D | isa.yaml | 1 # 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 39 …accumulator are also introduced. For example, moving arguments for `call.range` instruction may be… 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… [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | glossary.md | 11 * **AOT** stands for **Ahead-Of-Time**. In compilers, terms "ahead-of-time compilation" and "AOT 15 See https://en.wikipedia.org/wiki/Ahead-of-time_compilation. 24 * **JIT** stands for **Just-In-Time**. In compilers, terms "just-in-time compilation" and "JIT 28 See https://en.wikipedia.org/wiki/Just-in-time_compilation. 31 * **Panda Assembly Language** is a low-level programming language retaining very strong 36 * **Panda Bytecode** or **PBC** is a portable hardware-independent instruction set designed for 50 * **Conservative GC** or non-precise GC works with ambiguous references, 62 * **Safepoint** is a range of execution where the state of the executing thread is well described. 70 * **Semi-space compaction** is a compaction algorithm when memory is split to the two equal spaces 73 * **STW** stands for **stop the world**, used in context of stop the world pauses forced by GC - [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | glossary.md | 11 * **AOT** stands for **Ahead-Of-Time**. In compilers, terms "ahead-of-time compilation" and "AOT 15 See https://en.wikipedia.org/wiki/Ahead-of-time_compilation. 24 * **JIT** stands for **Just-In-Time**. In compilers, terms "just-in-time compilation" and "JIT 28 See https://en.wikipedia.org/wiki/Just-in-time_compilation. 31 * **Panda Assembly Language** is a low-level programming language retaining very strong 36 * **Panda Bytecode** or **PBC** is a portable hardware-independent instruction set designed for 50 * **Conservative GC** or non-precise GC works with ambiguous references, 62 * **Safepoint** is a range of execution where the state of the executing thread is well described. 70 * **Semi-space compaction** is a compaction algorithm when memory is split to the two equal spaces 73 * **STW** stands for **stop the world**, used in context of stop the world pauses forced by GC - [all …]
|