| /arkcompiler/ets_runtime/test/moduletest/ecmastringtable/ |
| D | expect_output.txt | 14 id: no-schema:/src/xxx-js/instantiated-1af0bf5b.js - load: undefined 15 id: no-schema:/src/xxx-js/instantiation.js - load: undefined 16 id: no-schema:/src/xxx-js/cc.js - load: undefined 17 id: no-schema:/src/instantiated-1af0bf5b.js - load: undefined 18 id: 12022421 - load: undefined 19 id: 123420002 - load: undefined 20 id: 908890 - load: undefined 21 id: 9088000 - load: undefined 22 id: 999999999 - load: undefined 23 id: 1000000000 - load: undefined [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/ |
| D | pt_hooks_wrapper.h | 61 auto *loadedHooks = hooks_.load(std::memory_order_acquire); in Breakpoint() 66 ASSERT(vmdeathDidNotHappen_.load(std::memory_order_acquire)); in Breakpoint() 73 auto *loadedHooks = hooks_.load(std::memory_order_acquire); in LoadModule() 78 ASSERT(vmdeathDidNotHappen_.load(std::memory_order_acquire)); in LoadModule() 85 auto *loadedHooks = hooks_.load(std::memory_order_acquire); in Paused() 90 ASSERT(vmdeathDidNotHappen_.load(std::memory_order_acquire)); in Paused() 98 auto *loadedHooks = hooks_.load(std::memory_order_acquire); in Exception() 103 ASSERT(vmdeathDidNotHappen_.load(std::memory_order_acquire)); in Exception() 111 auto *loadedHooks = hooks_.load(std::memory_order_acquire); in ExceptionCatch() 116 ASSERT(vmdeathDidNotHappen_.load(std::memory_order_acquire)); in ExceptionCatch() [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | base_mem_stats.cpp | 33 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordAllocate() 41 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordMoved() 57 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordFree() 64 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetAllocated() 66 return allocated_[helpers::ToUnderlying(typeMem)].load(std::memory_order_acquire); in GetAllocated() 71 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFreed() 73 return freed_[helpers::ToUnderlying(typeMem)].load(std::memory_order_acquire); in GetFreed() 82 …tomic with acquire order reason: data race with allocated_ with dependecies on reads after the load in GetAllocatedHeap() 84 result += allocated_[index].load(std::memory_order_acquire); in GetAllocatedHeap() 96 …tomic with acquire order reason: data race with allocated_ with dependecies on reads after the load in GetFreedHeap() [all …]
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | base_mem_stats.cpp | 34 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordAllocate() 42 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordMoved() 58 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordFree() 65 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetAllocated() 67 return allocated_[helpers::ToUnderlying(type_mem)].load(std::memory_order_acquire); in GetAllocated() 72 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFreed() 74 return freed_[helpers::ToUnderlying(type_mem)].load(std::memory_order_acquire); in GetFreed() 83 …tomic with acquire order reason: data race with allocated_ with dependecies on reads after the load in GetAllocatedHeap() 85 result += allocated_[index].load(std::memory_order_acquire); in GetAllocatedHeap() 97 …tomic with acquire order reason: data race with allocated_ with dependecies on reads after the load in GetFreedHeap() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | method.h | 169 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in Method() 171 : accessFlags_(method->accessFlags_.load(std::memory_order_acquire)), in Method() 184 … method->pointer_.nativePointer.load(std::memory_order_relaxed), std::memory_order_relaxed); in Method() 361 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in GetCompiledEntryPoint() 363 return compiledEntryPoint_.load(std::memory_order_acquire); in GetCompiledEntryPoint() 368 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in GetCompiledEntryPoint() 370 return compiledEntryPoint_.load(std::memory_order_acquire); in GetCompiledEntryPoint() 396 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in GetCompilationStatus() 398 …return static_cast<CompilationStage>((accessFlags_.load(std::memory_order_acquire) & COMPILATION_S… in GetCompilationStatus() 409 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in SetCompilationStatus() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | mem_stats.cpp | 40 // the load and on writes before the store in RecordAllocateObjects() 43 …th acq_rel order reason: data race with objects_allocated_ with dependecies on reads after the load in RecordAllocateObjects() 57 // the load and on writes before the store in RecordYoungMovedObjects() 59 …cq_rel order reason: data race with objects_allocated_ with dependecies on reads after the load and in RecordYoungMovedObjects() 72 …cq_rel order reason: data race with objects_allocated_ with dependecies on reads after the load and in RecordTenuredMovedObjects() 91 // load and on writes before the store in RecordFreeObjects() 94 …th acq_rel order reason: data race with objects_freed_ with dependecies on reads after the load and in RecordFreeObjects() 119 …th acquire order reason: data race with objects_allocated_ with dependecies on reads after the load in GetTotalObjectsAllocated() 121 return objectsAllocated_.load(std::memory_order_acquire); in GetTotalObjectsAllocated() 127 … acquire order reason: data race with objects_freed_ with dependecies on reads after the load which in GetTotalObjectsFreed() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | containers_queue_stub_builder.h | 40 GateRef begin = Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::FRONT_OFFSET)); in GetArrayLength() 41 GateRef end = Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::TAIL_OFFSET)); in GetArrayLength() 51 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in GetArrayLength() 52 … GateRef elementsSize = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetArrayLength() 65 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in Get() 66 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get() 67 GateRef front = Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::FRONT_OFFSET)); in Get() 75 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in GetNextPosition() 76 … GateRef elementsSize = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetNextPosition() 82 return Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::FRONT_OFFSET)); in GetCurrentFront()
|
| D | containers_deque_stub_builder.h | 34 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in GetSize() 35 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetSize() 44 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in Get() 45 … GateRef capacity = Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in Get() 53 return Load(VariableType::INT32(), obj, IntPtr(JSAPIDeque::FIRST_OFFSET)); in GetFirst() 58 return Load(VariableType::INT32(), obj, IntPtr(JSAPIDeque::LAST_OFFSET)); in GetLast() 64 GateRef elements = Load(VariableType::JS_POINTER(), obj, elementsOffset); in GetElementsLength() 65 return Load(VariableType::INT32(), elements, IntPtr(TaggedArray::LENGTH_OFFSET)); in GetElementsLength()
|
| /arkcompiler/ets_runtime/test/quickfix/multi_patch/ |
| D | expect_output.txt | 15 QuickFix start load patch 16 QuickFix load patch success 23 QuickFix start load patch 24 QuickFix load patch success 31 QuickFix start load patch 32 QuickFix load patch success
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/sampler/ |
| D | lock_free_queue.cpp | 26 Node *tail = tail_.load(std::memory_order_acquire); in Push() 29 Node *next = tail->next.load(std::memory_order_acquire); in Push() 31 Node *tail2 = tail_.load(std::memory_order_acquire); in Push() 53 Node *head = head_.load(std::memory_order_acquire); in Pop() 55 Node *tail = tail_.load(std::memory_order_acquire); in Pop() 57 Node *next = head->next.load(std::memory_order_acquire); in Pop() 59 Node *head2 = head_.load(std::memory_order_acquire); in Pop() 86 Node *head = head_.load(std::memory_order_acquire); in FindValue() 88 Node *tail = tail_.load(std::memory_order_acquire); in FindValue()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | lse.h | 29 * Load Store Elimination (Lse) optimization is aimed to eliminate redundant 38 * 2) delete loads that attempt to load values that were previously loaded or 50 * - if the instruction is a load and there is a value from the heap for this 51 * load then this load can be eliminated. 52 * - if the instruction is a load and there is no value from the heap for this 53 * load then we update heap value for this load with the result of this load. 54 * All instructions that MUST_ALIAS this load updated as well. 55 * - if the instruction is a volatile load then the whole heap is invalidated.
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | lse_doc.md | 1 # Load Store Elimination 4 …o memory that has been already written as well as delete load instructions that attempt to load a … 8 Elimination of load and store instructions generally reduces the number of long latency memory inst… 27 …load instructions read values from the heap. But if a load instruction tries to read a value that … 37 - if the instruction is a load and there is a value from the heap for this load then this load can … 38 …load and there is no value from the heap for this load then we update heap value for this load wit… 40 - if the instruction is a volatile load then the whole heap is cleared. 113 …te because it is overwritten somewhere inside the loop. If there are only load instructions among … 123 * If among aliased accesses only loads, add `MUST_ALIAS`ed load to elimination list. 209 …// If this load MUST_ALIAS any inst from phis[block] it can be further replaced with value outside… [all …]
|
| /arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/ |
| D | mutex.cpp | 62 if (pred(addr->load(std::memory_order_relaxed))) { in WaitBrieflyFor() 116 if (state_.load(std::memory_order_relaxed) != 0) { in ~RWLock() 119 } else if (exclusiveOwner_.load(std::memory_order_relaxed) != 0) { in ~RWLock() 122 } else if (waiters_.load(std::memory_order_relaxed) != 0) { in ~RWLock() 140 auto curState = state_.load(std::memory_order_relaxed); in WriteLock() 161 curState = state_.load(std::memory_order_relaxed); in WriteLock() 169 ASSERT(state_.load(std::memory_order_relaxed) == WRITE_LOCKED); in WriteLock() 171 ASSERT(exclusiveOwner_.load(std::memory_order_relaxed) == 0); in WriteLock() 191 curState = state_.load(std::memory_order_relaxed); in HandleReadLockWait() 201 auto curState = state_.load(std::memory_order_relaxed); in TryReadLock() [all …]
|
| /arkcompiler/runtime_core/libpandabase/mem/ringbuf/ |
| D | lock_free_ring_buffer.h | 50 const auto current_tail = tail_index_.load(std::memory_order_acquire); in TryPush() 53 auto local_head = head_index_.load(std::memory_order_acquire); in TryPush() 75 auto local_head = head_index_.load(std::memory_order_acquire); in IsEmpty() 77 auto local_tail = tail_index_.load(std::memory_order_acquire); in IsEmpty() 87 auto currentHead = head_index_.load(std::memory_order_acquire); in TryPop() 89 if (currentHead == tail_index_.load(std::memory_order_acquire)) { in TryPop() 122 [[maybe_unused]] auto local_head = head_index_.load(std::memory_order_acquire); in CheckInvariant() 126 [[maybe_unused]] auto local_tail = tail_index_.load(std::memory_order_acquire); in CheckInvariant()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | typed_array_stub_builder.h | 45 return Load(VariableType::JS_ANY(), array, offset); in GetViewedArrayBuffer() 51 return Load(VariableType::INT32(), array, offset); in GetArrayLength() 57 return Load(VariableType::INT32(), array, offset); in GetByteOffset() 63 return Load(VariableType::JS_ANY(), buffer, offset); in GetArrayBufferData() 69 return Load(VariableType::INT32(), buffer, offset); in GetArrayBufferByteLength() 75 return Load(VariableType::JS_ANY(), buffer, offset); in GetExternalPointer()
|
| D | interpreter_stub-inl.h | 34 return Load(VariableType::JS_ANY(), sp, PtrMul(IntPtr(sizeof(JSTaggedType)), idx)); in GetVregValue() 39 return Load(VariableType::INT8(), pc, IntPtr(1)); // 1 : skip 1 byte of bytecode in ReadInst8_0() 44 return Load(VariableType::INT8(), pc, IntPtr(2)); // 2 : skip 1 byte of bytecode in ReadInst8_1() 49 return Load(VariableType::INT8(), pc, IntPtr(3)); // 3 : skip 1 byte of bytecode in ReadInst8_2() 54 return Load(VariableType::INT8(), pc, IntPtr(4)); // 4 : skip 1 byte of bytecode in ReadInst8_3() 59 return Load(VariableType::INT8(), pc, IntPtr(5)); // 5 : skip 1 byte of bytecode in ReadInst8_4() 64 return Load(VariableType::INT8(), pc, IntPtr(6)); // 6 : skip 1 byte of bytecode in ReadInst8_5() 69 return Load(VariableType::INT8(), pc, IntPtr(7)); // 7 : skip 1 byte of bytecode in ReadInst8_6() 74 return Load(VariableType::INT8(), pc, IntPtr(8)); // 8 : skip 1 byte of bytecode in ReadInst8_7() 79 return Load(VariableType::INT8(), pc, IntPtr(9)); // 9 : skip 1 byte of bytecode in ReadInst8_8() [all …]
|
| D | hcr_circuit_builder.h | 75 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsCallable() 167 return Load(VariableType::JS_POINTER(), object, offset); in LoadHClass() 190 GateRef bitfield = Load(VariableType::INT32(), hClass, IntPtr(JSHClass::BIT_FIELD1_OFFSET)); in GetObjectSizeFromHClass() 200 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsDictionaryModeByHClass() 220 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in GetObjectType() 233 GateRef callfield = Load(VariableType::INT64(), method, callFieldOffset); in CanFastCallWithMethod() 244 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in GetElementsKindByHClass() 253 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in HasConstructorByHClass() 263 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsDictionaryElement() 273 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsStableElements() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/jit/ |
| D | profiling_data.h | 57 …c with acquire order reason: data race with classes_ with dependecies on reads after the load which in UpdateInlineCaches() 59 auto storedClass = classAtomic->load(std::memory_order_acquire); in UpdateInlineCaches() 84 …th acquire order reason: data race with bytecode_pc_ with dependecies on reads after the load which in GetBytecodePc() 86 return bytecodePc_.load(std::memory_order_acquire); in GetBytecodePc() 101 …c with acquire order reason: data race with classes_ with dependecies on reads after the load which in GetClassesCopy() 103 auto storedClass = classAtomic->load(std::memory_order_acquire); in GetClassesCopy() 117 …c with acquire order reason: data race with classes_ with dependecies on reads after the load which in GetClassesCount() 119 auto storedClass = classAtomic->load(std::memory_order_acquire); in GetClassesCount() 131 …c with acquire order reason: data race with classes_ with dependecies on reads after the load which in IsMegamorphic() 133 …return classAtomic->load(std::memory_order_acquire) == reinterpret_cast<Class *>(MEGAMORPHIC_FLAG); in IsMegamorphic() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/patch/ |
| D | quick_fix_manager.cpp | 41 // callback and load patch. in LoadPatchIfNeeded() 52 LOG_ECMA(INFO) << "Do not need load patch of: " << baseFileName; in LoadPatchIfNeeded() 57 LOG_ECMA(DEBUG) << "Cannot repeat load patch of: " << baseFileName; in LoadPatchIfNeeded() 64 LOG_ECMA(ERROR) << "load patch jsPandafile failed of: " << baseFileName; in LoadPatchIfNeeded() 74 LOG_ECMA(ERROR) << "Load patch fail of: " << baseFileName; in LoadPatchIfNeeded() 84 LOG_ECMA(INFO) << "Load patch, patch: " << patchFileName << ", base:" << baseFileName; in LoadPatch() 86 LOG_ECMA(ERROR) << "Cannot repeat load patch!"; in LoadPatch() 101 LOG_ECMA(ERROR) << "load patch jsPandafile failed"; in LoadPatch() 111 LOG_ECMA(ERROR) << "Load patch fail!"; in LoadPatch() 116 LOG_ECMA(INFO) << "Load patch success!"; in LoadPatch() [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ringbuf/ |
| D | lock_free_ring_buffer.h | 49 const auto currentTail = tailIndex_.load(std::memory_order_acquire); in TryPush() 52 auto localHead = headIndex_.load(std::memory_order_acquire); in TryPush() 74 auto localHead = headIndex_.load(std::memory_order_acquire); in IsEmpty() 76 auto localTail = tailIndex_.load(std::memory_order_acquire); in IsEmpty() 86 auto currentHead = headIndex_.load(std::memory_order_acquire); in TryPop() 88 if (currentHead == tailIndex_.load(std::memory_order_acquire)) { in TryPop() 139 [[maybe_unused]] auto localHead = headIndex_.load(std::memory_order_acquire); in CheckInvariant() 143 [[maybe_unused]] auto localTail = tailIndex_.load(std::memory_order_acquire); in CheckInvariant()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
| D | aarch64_utils.h | 26 * Get or create new memory operand for load instruction loadIns for which 29 * @param loadIns load instruction 30 * @param newLoadMop new opcode for load instruction 31 * @return memory operand for new load machine opcode
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/futex/ |
| D | mutex.cpp | 63 if (pred(addr->load(std::memory_order_relaxed))) { in WaitBrieflyFor() 117 if (state_.load(std::memory_order_relaxed) != 0) { in ~RWLock() 120 } else if (exclusive_owner_.load(std::memory_order_relaxed) != 0) { in ~RWLock() 123 } else if (waiters_.load(std::memory_order_relaxed) != 0) { in ~RWLock() 141 auto cur_state = state_.load(std::memory_order_relaxed); in WriteLock() 162 cur_state = state_.load(std::memory_order_relaxed); in WriteLock() 170 ASSERT(state_.load(std::memory_order_relaxed) == WRITE_LOCKED); in WriteLock() 172 ASSERT(exclusive_owner_.load(std::memory_order_relaxed) == 0); in WriteLock() 192 cur_state = state_.load(std::memory_order_relaxed); in HandleReadLockWait() 202 auto cur_state = state_.load(std::memory_order_relaxed); in TryReadLock() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
| D | satepoint_GC_0.ll | 72 %obj_1 = load i64, i64 addrspace(0)* %obj1 73 %obj_2 = load i64, i64 addrspace(0)* %obj2 74 %obj_3 = load i64, i64 addrspace(0)* %obj3 75 %obj_4 = load i64, i64 addrspace(0)* %obj4 76 %obj_5 = load i64, i64 addrspace(0)* %obj5 77 %obj_6 = load i64, i64 addrspace(0)* %obj6 78 %obj_7 = load i64, i64 addrspace(0)* %obj7 79 %obj_8 = load i64, i64 addrspace(0)* %obj8 80 %obj_9 = load i64, i64 addrspace(1)* %obj9
|
| /arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/config/ |
| D | non_testable.yaml | 20 - title: Load accumulator from string constant pool 21 description: In dynamically-typed language context load string as 'any' value. 31 - title: Load accumulator from type constant pool 48 - title: Dynamic load accumulator from register 74 - title: Dynamic load accumulator from immediate
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 270 flags: [load] 271 description: Load Undefined object from TLS 317 flags: [load, no_hoist, no_cse, acc_read, acc_write] 318 description: Load value from array. 323 flags: [load, no_cse, acc_read, acc_write] 324 description: Load char from string while string compression is enable. 335 flags: [load, no_hoist, no_cse, acc_write] 336 description: Load value from object's field. 343 flags: [load, no_hoist, no_cse, acc_write] 344 description: Load value from dynamic object's field. [all …]
|