| /arkcompiler/runtime_core/static_core/tests/verifier-tests/ |
| D | bug_2107_2.pa | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 16 #--- 17 #- title: Integer truncations and extensions. 19 # Truncations discard all but N lowest-order bits, where N is the bit size of destination 24 # - x_none 26 # - sig: i64toi32 27 # acc: inout:i64->i32 29 # - op_none 31 # - acc_type [all …]
|
| /arkcompiler/runtime_core/tests/verifier-tests/ |
| D | bug_2107_2.pa | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 16 #--- 17 #- title: Integer truncations and extensions. 19 # Truncations discard all but N lowest-order bits, where N is the bit size of destination 24 # - x_none 26 # - sig: i64toi32 27 # acc: inout:i64->i32 29 # - op_none 31 # - acc_type [all …]
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | panda_cache.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 34 // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions, hicpp-special-member-functions) 71 // lowest one or two bits is very likely same between different fields in GetFieldIndex() 85 // Atomic with acquire order reason: fixes a data race with method_cache_ in GetMethodFromCache() 86 auto pair = pair_ptr->load(std::memory_order_acquire); in GetMethodFromCache() 103 // Atomic with release order reason: fixes a data race with method_cache_ in SetMethodCache() 104 pair_ptr->store(pair, std::memory_order_release); in SetMethodCache() 112 // Atomic with acquire order reason: fixes a data race with field_cache_ in GetFieldFromCache() 113 auto pair = pair_ptr->load(std::memory_order_acquire); in GetFieldFromCache() [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | i64toi32.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 16 - file-name: "i64toi32" 21 … Truncations discard all but N lowest-order bits, where N is the bit size of destination type. 23 - x_none 25 - file-name: "op_none" 28 - sig: i64toi32 29 acc: inout:i64->i32 32 code-template: | 46 - values: [all …]
|
| D | call.virt.short.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_R 34 - name: NPE 37 - name: AME 42 - file-name: call.virt.short 45 - sig: call.virt.short method_id, v1:in:top, v2:in:top 56 constant-pool based on object reference using language-specific semantics. [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | i64toi32.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 16 - file-name: "i64toi32" 21 … Truncations discard all but N lowest-order bits, where N is the bit size of destination type. 23 - x_none 25 - file-name: "op_none" 28 - sig: i64toi32 29 acc: inout:i64->i32 32 code-template: | 46 - values: [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 …]
|
| /arkcompiler/runtime_core/static_core/libpandafile/ |
| D | panda_cache.h | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 34 // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions, hicpp-special-member-functions) 71 // lowest one or two bits is very likely same between different fields in GetFieldIndex() 88 // Atomic with acquire order reason: fixes a data race with method_cache_ in GetMethodFromCache() 89 auto pair = pairPtr->load(std::memory_order_acquire); in GetMethodFromCache() 110 // Atomic with release order reason: fixes a data race with method_cache_ in SetMethodCache() 111 pairPtr->store(pair, std::memory_order_release); in SetMethodCache() 123 // Atomic with acquire order reason: fixes a data race with field_cache_ in GetFieldFromCache() 124 auto pair = pairPtr->load(std::memory_order_acquire); in GetFieldFromCache() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | memory_coalescing_doc.md | 11 | ------ | ------ | ------| 19 * Reverse Post Order (RPO) 27 `AArch64` has `32`-bit and `64`-bit versions of coalescing operations – `ldp` and `stp`. As a resul… 43 | --- | --- | 49 | --- | --- | 50 …-> (v37)` <br> `61.i64 LoadArrayI v2, 0x1 -> (v43)` | `62.i64 LoadArrayPairI v2, 0x0 -> (v63, … 58 …implemented for array accesses. We process instructions of basic block in order. To find accesses … 71 3) Iterate candidates in backward order 79 1) find the lowest position the candidate can be sunk 81 …3) The place can be any between highest and lowest position. If the intersection is empty, coalesc… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/testRunner/ |
| D | TestFactory.ts | 7 * http://www.apache.org/licenses/LICENSE-2.0 90 * Test options are formed in the following order (from lowest to highest priority): 91 * - default test options; 92 * - [test_args_file] --> 'commonArgs'; 93 * - [test_args_file] --> the arguments specified for a mode; 94 * - options specified by TestRunner command-line arguments; 95 * - options that enable specific mode.
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/futex/ |
| D | fmutex.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 49 …D thread::ThreadId // NOLINT(cppcoreguidelines-macro-usage) 50 …ENT_THREAD os::thread::GetCurrentThreadId() // NOLINT(cppcoreguidelines-macro-usage) 51 …ype) std::atomic<type> // NOLINT(cppcoreguidelines-macro-usage) 52 …NT ATOMIC(int) // NOLINT(cppcoreguidelines-macro-usage) 53 #define ATOMIC_STORE(addr, val, mem) (addr)->store(val, std::mem) // NOLINT(cppcoreguideli… 54 #define ATOMIC_LOAD(addr, mem) (addr)->load(std::mem) // NOLINT(cppcoreguideli… 55 …efine ATOMIC_FETCH_ADD(addr, val, mem) (addr)->fetch_add(val, std::mem) // NOLINT(cppcoreguidelin… 56 …efine ATOMIC_FETCH_SUB(addr, val, mem) (addr)->fetch_sub(val, std::mem) // NOLINT(cppcoreguidelin… [all …]
|
| /arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/ |
| D | fmutex.h | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 48 …D ark::os::thread::ThreadId // NOLINT(cppcoreguidelines-macro-usage) 49 …ENT_THREAD ark::os::thread::GetCurrentThreadId() // NOLINT(cppcoreguidelines-macro-usage) 50 …ype) std::atomic<type> // NOLINT(cppcoreguidelines-macro-usage) 51 …NT ATOMIC(int) // NOLINT(cppcoreguidelines-macro-usage) 52 // CC-OFFNXT(G.PRE.02) namespace member 53 #define ATOMIC_STORE(addr, val, mem) (addr)->store(val, std::mem) // NOLINT(cppcoreguideli… 54 // CC-OFFNXT(G.PRE.02) namespace member 55 #define ATOMIC_LOAD(addr, mem) (addr)->load(std::mem) // NOLINT(cppcoreguideli… [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/coroutines/ |
| D | stackful_coroutine_manager.h | 2 * Copyright (c) 2023-2025 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 27 * @brief Stackful ("fiber"-based) coroutine manager implementation. 29 …* In this implementation coroutines are user-level threads ("fibers") with manually allocated stac… 93 …/// Should be called when a coro makes the non_active->active transition (see the state diagram in… 97 * the active->non_active transition (see the state diagram in coroutine.h) 135 * @brief migrate the awakened coroutine to the worker with the lowest load 199 /// wait till all the non-main coroutines with managed EP finish execution 254 // worker threads-related members 280 …* @brief holds pointers to the cached coroutine instances in order to speedup coroutine creation a… [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | reg_alloc_lsra.cpp | 7 * http://www.apache.org/licenses/LICENSE-2.0 22 /* Here, kLoopWeight is a fine-tuned empirical parameter */ 30 * BFS BB ordering is used to order the instructions. The live intervals are vased on 31 * this instruction order. All vreg defines should come before an use, else a warning is 33 * Live interval is traversed in order from lower instruction order to higher order. 53 LogInfo::MapleLogger() << "(assigned " << regType << (li.GetAssignedReg() - base) << ")"; in PrintLiveRanges() 70 LogInfo::MapleLogger() << "func: " << cgFunc->GetName() << "\n"; in PrintAllLiveRanges() 72 if (li == nullptr || li->GetRegNO() == 0) { in PrintAllLiveRanges() 75 LogInfo::MapleLogger() << "vreg" << li->GetRegNO() << ": "; in PrintAllLiveRanges() 84 const auto &referenceMapInsns = cgFunc->GetStackMapInsns(); in SpillStackMapInfo() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
| D | 7_expressions.rst | 2 Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 http://www.apache.org/licenses/LICENSE-2.0 33 .. code-block:: abnf 80 .. code-block:: abnf 90 - Class that is to handle static members; 91 - ``super`` that is to access constructors declared in the 93 - *primaryExpression* that is to refer to an instance variable of a class, 99 "``this?.``" is handled as a :index:`compile-time error`. 102 is handled as a :index:`compile-time error`. 122 .. code-block:: abnf [all …]
|
| D | 3_types.rst | 2 Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 http://www.apache.org/licenses/LICENSE-2.0 23 Type classification as accepted in |LANG| is discussed below---along 39 *user-defined types*. 40 All *user-defined types* must always have complete type definitions 50 user-defined type 58 Predefined Types User-Defined Types 80 user-defined type 97 +--------------+---------------+ 101 +--------------+---------------+ [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/optimizations/interop_js/ |
| D | interop_intrinsic_optimization.cpp | 2 * Copyright (c) 2023-2025 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 26 return inst->IsCall() && !static_cast<CallInst *>(inst)->IsInlined(); in IsForbiddenInst() 31 return inst->IsIntrinsic() && inst->CastToIntrinsic()->GetIntrinsicId() == in IsScopeStart() 37 return inst->IsIntrinsic() && inst->CastToIntrinsic()->GetIntrinsicId() == in IsScopeEnd() 67 if (!inst->IsIntrinsic()) { in IsConvertIntrinsic() 70 auto id = inst->CastToIntrinsic()->GetIntrinsicId(); in IsConvertIntrinsic() 76 if (!inst->IsIntrinsic()) { in IsInteropIntrinsic() 79 auto id = inst->CastToIntrinsic()->GetIntrinsicId(); in IsInteropIntrinsic() 85 if (!inst->IsIntrinsic()) { in CanCreateNewScopeObject() [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/plugins/ets/irtoc_scripts/ |
| D | string.irt | 2 # Copyright (c) 2024-2025 Huawei Device Co., Ltd. 7 # http://www.apache.org/licenses/LICENSE-2.0 100 # 0x000E..0x009F -- common non-whitespace chars 106 # 0x0009 -- horizontal tab 107 # 0x000A -- line feed or new line 108 # 0x000B -- vertical tab 109 # 0x000C -- formfeed 110 # 0x000D -- carriage return 117 # 0x00A0 -- non-breaking space 121 # 0x1680 -- Ogham space mark [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | inst.h | 2 * Copyright (c) 2021-2025 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 27 #include "ir-dyn-base-types.h" 57 * N.B. BranchElimination and Peephole rely on the order of these codes. Change carefully. 63 // Signed integers and floating-point numbers. 128 INVALID = -1, 129 // NOLINTBEGIN(readability-identifier-naming) 130 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) 135 // NOLINTEND(readability-identifier-naming) 141 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) [all …]
|
| /arkcompiler/ets_frontend/legacy_bin/api8/src/ |
| D | index.js | 2 …-from/index.js":e=>{var t=Object.prototype.toString,r="undefined"!=typeof Buffer&&"function"==type… property
|