| /arkcompiler/ets_frontend/ets2panda/compiler/scripts/ |
| D | signatures.yaml | 16 ref: LAMBDA_SEPARATOR 18 ref: CTOR 20 ref: CCTOR 22 ref: ETS_GLOBAL 24 ref: INIT_METHOD 26 ref: GET_INDEX_METHOD 28 ref: SET_INDEX_METHOD 30 ref: ITERATOR_METHOD 32 ref: AMBIENT_INDEXER 34 ref: ETS_MAIN_WITH_MANGLE_BEGIN [all …]
|
| D | signatures.rb | 35 refs[define.ref] = define.name 36 Signatures::DEFINES[define.ref] = define 40 refs[package.ref] = package.name 44 refs[primitive.ref] = primitive.name 45 Signatures::PRIMITIVES[primitive.ref] = primitive.name 49 refs[typedescriptor.ref] = typedescriptor.name 50 Signatures::TYPEDESCRIPTORS[typedescriptor.ref] = typedescriptor.name 55 refs[builtin.ref] = sig 56 Signatures::BUILTINS[builtin.ref] = [sig, builtin.name] 69 Signatures::SIGNATURES[signature.ref] = sig
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | lock_holder_test.cpp | 63 threads[i] = std::thread(LockMutexesAndIncrement<Mutex>, std::ref(var), std::ref(lock)); in TEST_F() 84 …std::thread(LockMutexesAndIncrement<Mutex, Mutex>, std::ref(var), std::ref(lock0), std::ref(lock1)… in TEST_F() 86 …std::thread(LockMutexesAndIncrement<Mutex, Mutex>, std::ref(var), std::ref(lock1), std::ref(lock0)… in TEST_F() 99 …s[0U] = std::thread(LockMutexesAndIncrement<Mutex, RecursiveMutex>, std::ref(var), std::ref(lock0), in TEST_F() 100 std::ref(recursiveLock)); in TEST_F() 101 threads[1U] = std::thread(LockMutexesAndIncrement<RecursiveMutex, Mutex>, std::ref(var), in TEST_F() 102 std::ref(recursiveLock), std::ref(lock0)); in TEST_F() 123 … std::thread(LockMutexesAndIncrement<Mutex, Mutex, RecursiveMutex>, std::ref(var), std::ref(lock0), in TEST_F() 124 std::ref(lock1), std::ref(recursiveLock)); in TEST_F() 125 … std::thread(LockMutexesAndIncrement<Mutex, RecursiveMutex, Mutex>, std::ref(var), std::ref(lock0), in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | PBC2IR.md | 19 | lda.str | ref LoadString | 21 | lda.type | ref LoadType | 150 | ldarr.8 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i8 LoadArray | 151 | ldarru.8 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, u8 LoadArray | 152 | ldarr.16 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i16 LoadArray | 153 | ldarru.16 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, u16 LoadArray | 154 | ldarr | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i32 LoadArray | 155 | ldarr.64 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i64 LoadArray | 156 | fldarr.32 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, f32 LoadArray | 157 | fldarr.64 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, f64 LoadArray | [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | PBC2IR.md | 19 | lda.str | ref LoadString | 21 | lda.type | ref LoadType | 150 | ldarr.8 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i8 LoadArray | 151 | ldarru.8 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, u8 LoadArray | 152 | ldarr.16 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i16 LoadArray | 153 | ldarru.16 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, u16 LoadArray | 154 | ldarr | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i32 LoadArray | 155 | ldarr.64 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, i64 LoadArray | 156 | fldarr.32 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, f32 LoadArray | 157 | fldarr.64 | SaveState, ref NullCheck, i32 LenArray, i32 BoundsCheck, f64 LoadArray | [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/mem/proxy_reference_storage_1/ |
| D | test_proxy_reference_storage_1.cpp | 48 … SharedReference *ref = storage_->CreateETSObjectRef(InteropCtx::Current(), etsObject, jsObj); in CreateReference() local 51 …((uintptr_t *)ref)[0] = 0xcc00ff23deadbeef; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithm… in CreateReference() 52 …((uintptr_t *)ref)[1] = 0xdd330047beefdead; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithm… in CreateReference() 54 return ref; in CreateReference() 62 void RemoveReference(SharedReference *ref) in RemoveReference() argument 64 return storage_->RemoveReference(ref); in RemoveReference() 86 SharedReference *ref = CreateReference(etsObject); in TEST_F() local 90 SharedReference *refY = GetReference((void *)ref); in TEST_F() 92 ASSERT_EQ(ref, refX); in TEST_F() 93 ASSERT_EQ(ref, refY); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/ |
| D | g1-object-pointer-handlers.h | 53 bool ProcessObjectPointer(T *ref) const 55 ProcessObjectPointerInternal(ref); 62 void ProcessObjectPointerInternal(T *ref) const 65 ASSERT(AddrToRegion(ref)->GetRemSet() == fromRemset_); 67 auto o = ObjectAccessor::LoadAtomic(ref); 73 if (ark::mem::IsSameRegion(ref, obj, regionSizeBits_)) { 81 RemSet<>::AddRefWithAddr<false>(fromRemset_, ref, obj); 82 LOG(DEBUG, GC) << "fill rem set " << ref << " -> " << obj; 92 using Ref = typename ObjectReference<LanguageConfig::LANG_TYPE>::Type; 99 bool ProcessObjectPointer(Ref ref) const [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/mem/refstorage/ |
| D | reference_storage.cpp | 74 bool ReferenceStorage::IsValidRef(const Reference *ref) in IsValidRef() argument 76 ASSERT(ref != nullptr); in IsValidRef() 77 auto type = Reference::GetType(ref); in IsValidRef() 81 res = StackReferenceCheck(ref); in IsValidRef() 83 // global-storage should accept ref with type in IsValidRef() 84 res = globalStorage_->IsValidGlobalRef(ref); in IsValidRef() 86 auto refWithoutType = Reference::GetRefWithoutType(ref); in IsValidRef() 87 …OTE(alovkov): can be optimized with mmap + make additional checks that we really have ref in slots, in IsValidRef() 94 Reference::ObjectType ReferenceStorage::GetObjectType(const Reference *ref) in GetObjectType() argument 96 return ref->GetType(); in GetObjectType() [all …]
|
| D | global_object_storage.h | 50 /// Check whether ref is a valid global reference or not. 51 bool IsValidGlobalRef(const Reference *ref) const; 159 … | Reference* (index) | index | 0/1 (ref-type) | 0/1 (ref-type) | 226 auto ref = IndexToReference(currentIndex); in Add() local 231 return ref; in Add() 258 ObjectHeader *Get(const Reference *ref) const in Get() argument 261 auto index = ReferenceToIndex(ref); in Get() 265 uintptr_t GetAddressForRef(const Reference *ref) const in GetAddressForRef() argument 269 auto index = ReferenceToIndex(ref); in GetAddressForRef() 273 void Remove(const Reference *ref) in Remove() argument [all …]
|
| D | global_object_storage.cpp | 46 bool GlobalObjectStorage::IsValidGlobalRef(const Reference *ref) const in IsValidGlobalRef() 48 ASSERT(ref != nullptr); in IsValidGlobalRef() 49 Reference::ObjectType type = Reference::GetType(ref); in IsValidGlobalRef() 52 if (!globalStorage_->IsValidGlobalRef(ref)) { in IsValidGlobalRef() 56 if (!weakStorage_->IsValidGlobalRef(ref)) { in IsValidGlobalRef() 60 if (!globalFixedStorage_->IsValidGlobalRef(ref)) { in IsValidGlobalRef() 73 Reference *ref = nullptr; in Add() local 75 ref = globalStorage_->Add(object); in Add() 77 ref = weakStorage_->Add(object); in Add() 79 ref = globalFixedStorage_->Add(object); in Add() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_compiler_intrinsics.yaml | 30 ret: ref 31 args: [ method, i32, u32, ref ] 42 args: [ method, i32, u32, ref ] 53 args: [ method, i32, u32, ref ] 64 args: [ method, i32, u32, ref ] 75 args: [ method, i32, u32, ref ] 86 args: [ method, i32, u32, ref, ref ] 97 args: [ method, i32, u32, ref, i8 ] 108 args: [ method, i32, u32, ref, i16 ] 119 args: [ method, i32, u32, ref, i32 ] [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/stdlib/packages/ |
| D | escompat.rst | 21 …decodeURIComponent(uriComponent\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>`)\: :ref:`string<LsLt… 29 - uriComponent\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>` 37 …encodeURI(uri\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>`)\: :ref:`string<LsLtLd.LcLoLrLe.USLtLr… 45 - uri\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>` 53 …encodeURIComponent(uriComponent\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>`)\: :ref:`string<LsLt… 61 - uriComponent\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>` 69 …escape(str\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>`)\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiL… 77 - str\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>` 89 …unescape(str\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>`)\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrL… 97 - str\: :ref:`string<LsLtLd.LcLoLrLe.USLtLrLiLnLg>` [all …]
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/ |
| D | const_array_resolver_test.cpp | 32 INST(4, Opcode::LoadAndInitClass).ref().Inputs(20).TypeId(68); in TEST_F() 33 INST(3, Opcode::NewArray).ref().Inputs(4, 1, 20); in TEST_F() 36 INST(10, Opcode::Return).ref().Inputs(3); in TEST_F() 55 INST(4, Opcode::LoadAndInitClass).ref().Inputs(20).TypeId(68); in TEST_F() 57 INST(21, Opcode::LoadConstArray).ref().Inputs(22); in TEST_F() 58 INST(10, Opcode::Return).ref().Inputs(21); in TEST_F() 75 INST(4, Opcode::LoadAndInitClass).ref().Inputs(20).TypeId(68); in TEST_F() 76 INST(3, Opcode::NewArray).ref().Inputs(4, 1, 20); in TEST_F() 79 INST(10, Opcode::Return).ref().Inputs(3); in TEST_F() 109 INST(44, Opcode::LoadAndInitClass).ref().Inputs(3).TypeId(68); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/mem/ |
| D | ets_reference.h | 61 static EtsReference *CastFromReference(mem::Reference *ref) in CastFromReference() argument 63 return reinterpret_cast<EtsReference *>(ref); in CastFromReference() 78 [[maybe_unused]] static inline ets_object EtsRefToEtsObject(EtsReference *ref) in EtsRefToEtsObject() argument 80 return reinterpret_cast<ets_object>(ref); in EtsRefToEtsObject() 85 auto ref = reinterpret_cast<EtsReference *>(obj); in EtsNapiWeakToEtsRef() local 86 ASSERT(ref->IsWeak()); in EtsNapiWeakToEtsRef() 87 return ref; in EtsNapiWeakToEtsRef() 90 [[maybe_unused]] static inline ets_object EtsRefToEtsNapiWeak(EtsReference *ref) in EtsRefToEtsNapiWeak() argument 92 ASSERT(ref->IsWeak()); in EtsRefToEtsNapiWeak() 93 return reinterpret_cast<ets_object>(ref); in EtsRefToEtsNapiWeak() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
| D | 3_types.rst | 33 (see :ref:`Type Inference`) by the compiler. 37 #. :ref:`Value Types`, and 39 #. :ref:`Reference Types`. 42 :ref:`Predefined Types`). 104 :ref:`Value Types`). Primitive type names are reserved, i.e., they cannot be 151 - Class types (see :ref:`Classes`); 152 - Interface types (see :ref:`Interfaces`); 153 - Enumeration types (see :ref:`Enumerations`); 154 - Array types (see :ref:`Array Types`); 155 - Function types (see :ref:`Function Types`); [all …]
|
| D | 4_names.rst | 31 entity name with the *scope* (see :ref:`Scopes`). The scope affects the 75 - The name of a compilation unit (see :ref:`Modules and Compilation Units`) 76 that is introduced as a result of ``import * as N`` (see :ref:`Bind All with Qualified Access`) 79 - A class or interface type (see :ref:`Classes`, :ref:`Interfaces`) with ``x`` 111 (see :ref:`Scopes`). 134 - Different signatures (see :ref:`Declaration Distinguishable by Signatures`). 160 :ref:`Function and Method Overloading` and 161 :ref:`Declaration Distinguishable by Signatures`), then a 204 (see :ref:`Scopes`) is the region of program text where an entity is declared, 213 Entities within the scope are accessible (see :ref:`Accessible`). [all …]
|
| D | 10_interfaces.rst | 44 Interfaces can be *top-level* and local (see :ref:`Local Classes and Interfaces`). 78 ``Object`` (see :ref:`Type Compatibility`). The compatibility allows assignments 80 :ref:`Widening Reference Conversions`). 126 interface (see :ref:`Generics`). 128 The scope of an interface declaration is defined in :ref:`Scopes`. 130 .. The interface declaration shadowing is specified in :ref:`Shadowing by Parameter`. 169 names an interface type that is not accessible (see :ref:`Accessible`). 170 - Type arguments (see :ref:`Type Arguments`) of ``typeReference`` denote a 172 :ref:`Generic Instantiations`). 178 must name an accessible interface type (see :ref:`Accessible`). Otherwise, a [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | escape_analysis_test.cpp | 65 INST(2U, Opcode::LoadAndInitClass).ref().Inputs(1U); in TEST_F() 66 INST(3U, Opcode::NewObject).ref().Inputs(2U, 1U); in TEST_F() 81 INST(2U, Opcode::LoadAndInitClass).ref().Inputs(1U); in TEST_F() 98 INST(2U, Opcode::LoadAndInitClass).ref().Inputs(1U); in TEST_F() 99 INST(3U, Opcode::NewArray).ref().Inputs(2U, 5U, 1U); in TEST_F() 114 INST(2U, Opcode::LoadAndInitClass).ref().Inputs(1U); in TEST_F() 133 INST(3U, Opcode::LoadAndInitClass).ref().Inputs(2U); in SRC_GRAPH() 134 INST(4U, Opcode::NewObject).ref().Inputs(3U, 2U); in SRC_GRAPH() 160 INST(3U, Opcode::LoadAndInitClass).ref().Inputs(2U); in OUT_GRAPH() 197 INST(3U, Opcode::LoadAndInitClass).ref().Inputs(2U); in SRC_GRAPH() [all …]
|
| D | alias_analysis_test.cpp | 44 PARAMETER(0U, 0U).ref(); in TEST_F() 111 PARAMETER(0U, 0U).ref(); in BuildGraphCompleteLoadArray() 124 INST(8U, Opcode::NullCheck).ref().Inputs(0U, 7U); in BuildGraphCompleteLoadArray() 132 INST(14U, Opcode::NullCheck).ref().Inputs(0U, 13U); in BuildGraphCompleteLoadArray() 142 INST(20U, Opcode::NullCheck).ref().Inputs(0U, 19U); in BuildGraphCompleteLoadArray() 148 INST(25U, Opcode::NullCheck).ref().Inputs(0U, 24U); in BuildGraphCompleteLoadArray() 191 PARAMETER(0U, 0U).ref(); in TEST_F() 197 INST(3U, Opcode::NullCheck).ref().Inputs(0U, 2U); in TEST_F() 211 INST(12U, Opcode::NullCheck).ref().Inputs(0U, 11U); in TEST_F() 238 PARAMETER(0U, 0U).ref(); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | simplify_sb_doc.md | 282 0.ref Parameter arg 0 -> (v5) 287 3.ref LoadAndInitClass 'std.core.StringBuilder' ss -> (v4) 288 4.ref NewObject 15300 v3, ss -> (v5, v10) 290 10.ref CallVirtual 51332 std.core.StringBuilder::toString v4, ss -> (v11) 291 11.ref Return v10 303 0.ref Parameter arg 0 -> (v10) 308 10.ref Return v0 329 0.ref Parameter arg 0 -> (v10) 330 1.ref Parameter arg 1 -> (v13) 335 4.ref LoadAndInitClass 'std.core.StringBuilder' ss -> (v5) [all …]
|
| D | memory_barriers_doc.md | 75 2.ref NewArray 1 v0, v1 -> (v6, v3, v8, v11, v12) 77 4.ref LoadAndInitClass 'A' v3 -> (v5) 78 5.ref NewObject 2 v4, v3 -> (v6, v8, v11, v12) 82 9.ref LoadAndInitClass 'B' v8 -> (v10) 83 10.ref NewObject 4 v9, v8 -> (v11, v13) 86 13.ref Return v10 93 Instructions `2.ref NewArray`, `5.ref NewObject` and `10.ref NewObject` have flag `MEM_BARRIER` … 94 `7.void CallStatic` don't have the instructions `2.ref NewArray`, `5.ref NewObject` as inputs. 95 …mizeMemoryBarriers` will remove the flag from these instructions and skip in `10.ref NewObject`.
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
| D | const_array_resolver_test.cpp | 35 INST(4U, Opcode::LoadAndInitClass).ref().Inputs(20U).TypeId(68U); in TEST_F() 36 INST(5U, Opcode::NewArray).ref().Inputs(4U, 1U, 20U); in TEST_F() 39 INST(10U, Opcode::Return).ref().Inputs(5U); in TEST_F() 59 INST(4U, Opcode::LoadAndInitClass).ref().Inputs(20U).TypeId(68U); in TEST_F() 61 INST(21U, Opcode::LoadConstArray).ref().Inputs(22U); in TEST_F() 62 INST(10U, Opcode::Return).ref().Inputs(21U); in TEST_F() 80 INST(4U, Opcode::LoadAndInitClass).ref().Inputs(20U).TypeId(68U); in TEST_F() 81 INST(5U, Opcode::NewArray).ref().Inputs(4U, 1U, 20U); in TEST_F() 84 INST(10U, Opcode::Return).ref().Inputs(5U); in TEST_F() 111 INST(4U, Opcode::LoadAndInitClass).ref().Inputs(20U).TypeId(68U); in TEST_F() [all …]
|
| D | reg_encoder_test.cpp | 110 PARAMETER(0U, 0U).ref(); in TEST_F() 140 INST(37U, Opcode::LoadAndInitClass).ref().Inputs(36U); in TEST_F() 142 … INST(58U, Opcode::InitObject).ref().Inputs({{REFERENCE, 37U}, {REFERENCE, 0U}, {NO_TYPE, 39U}}); in TEST_F() 170 PARAMETER(0U, 0U).ref(); in TEST_F() 204 INST(37U, Opcode::LoadAndInitClass).ref().Inputs(36U); in TEST_F() 206 … INST(58U, Opcode::InitObject).ref().Inputs({{REFERENCE, 37U}, {REFERENCE, 0U}, {NO_TYPE, 39U}}); in TEST_F() 240 PARAMETER(0U, 0U).ref(); in TEST_F() 241 PARAMETER(1U, 1U).ref(); in TEST_F() 242 PARAMETER(2U, 2U).ref(); in TEST_F() 252 INST(9U, Opcode::StoreObject).ref().Inputs(0U, 2U); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 261 signature: [d-ref] 269 signature: [d-ref] 280 signature: [d-ref, ref, int-ngc, save_state] 288 signature: [d-ref, ref, save_state] 296 signature: [d-ref, real-dyn, save_state] 304 signature: [d-ref, save_state] 310 signature: [d-ref, ref, save_state] 316 signature: [d-real-any, ref-any-nc, int-bc] 322 signature: [d-u16, ref-nc, int-bc, int] 328 signature: [ref-nc-any, int-bc, real-any] [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | instanceof.ts.json | 22 "rule": "\"instanceof\" operator is partially supported (arkts-instanceof-ref-types)" 29 "rule": "\"instanceof\" operator is partially supported (arkts-instanceof-ref-types)" 71 "rule": "\"instanceof\" operator is partially supported (arkts-instanceof-ref-types)" 85 "rule": "\"instanceof\" operator is partially supported (arkts-instanceof-ref-types)" 92 "rule": "\"instanceof\" operator is partially supported (arkts-instanceof-ref-types)" 99 "rule": "\"instanceof\" operator is partially supported (arkts-instanceof-ref-types)" 106 "rule": "\"instanceof\" operator is partially supported (arkts-instanceof-ref-types)" 113 "rule": "\"instanceof\" operator is partially supported (arkts-instanceof-ref-types)" 120 "rule": "\"instanceof\" operator is partially supported (arkts-instanceof-ref-types)"
|