| /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/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/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/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/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/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/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/ets_frontend/ets2panda/linter/src/testRunner/ |
| D | TestRunner.ts | 2 * Copyright (c) 2022-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 39 import type { Path } from 'path-scurry'; 40 import { PathScurry } from 'path-scurry'; 150 '-d, --test-dir <test_dir>', 151 …'Specifies a directory with test files. Multiple directories can be specified with a comma-separat… 154 '-p, --test-pattern <pattern>', 156 …'Note: Only tests in specified test directory will be run, and the sub-directories will be ignored… 158 option('--sdk', 'Use SDK check logic'). 159 option('--interop-mode', 'Run interop-mode check'); [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-2024 Huawei Device Co., Ltd. 6 http://www.apache.org/licenses/LICENSE-2.0 34 .. code-block:: abnf 82 .. code-block:: abnf 92 - A class that is to handle static members; 93 - ``Super`` that is to access shadowed fields or constructors declared in the 95 - *primaryExpression* that is to refer to an instance variable of a class, 101 "``this?.``" is handled as a :index:`compile-time error`. 104 is handled as a :index:`compile-time error`. 122 .. code-block:: abnf [all …]
|
| D | 3_types.rst | 2 Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 http://www.apache.org/licenses/LICENSE-2.0 23 Type classification as accepted in |LANG| is discussed below---along 45 *user-defined types*. 46 All *user-defined types* must always have complete type definitions 58 user-defined type 74 - Basic numeric value type: ``number`` 76 - High-performance value types: 78 - Numeric types: ``byte``, ``short``, ``int``, ``long``, ``float``, and 81 - Character type: ``char``; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/optimizations/interop_js/ |
| D | interop_intrinsic_optimization.cpp | 2 * Copyright (c) 2023-2024 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-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/static_core/plugins/ets/irtoc_scripts/ |
| D | string.irt | 7 # http://www.apache.org/licenses/LICENSE-2.0 95 # 0x000E..0x009F -- common non-whitespace chars 101 # 0x0009 -- horizontal tab 102 # 0x000A -- line feed or new line 103 # 0x000B -- vertical tab 104 # 0x000C -- formfeed 105 # 0x000D -- carriage return 112 # 0x00A0 -- non-breaking space 116 # 0x1680 -- Ogham space mark 120 # 0x2000 -- en quad [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | inst.h | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 28 #include "ir-dyn-base-types.h" 58 * N.B. BranchElimination and Peephole rely on the order of these codes. Change carefully. 64 // Signed integers and floating-point numbers. 129 INVALID = -1, 130 // NOLINTBEGIN(readability-identifier-naming) 131 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) 136 // NOLINTEND(readability-identifier-naming) 142 // 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
|