| /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 | 179 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in Method() 181 : accessFlags_(method->accessFlags_.load(std::memory_order_acquire)), in Method() 194 … method->pointer_.nativePointer.load(std::memory_order_relaxed), std::memory_order_relaxed); in Method() 371 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in GetCompiledEntryPoint() 373 return compiledEntryPoint_.load(std::memory_order_acquire); in GetCompiledEntryPoint() 378 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in GetCompiledEntryPoint() 380 return compiledEntryPoint_.load(std::memory_order_acquire); in GetCompiledEntryPoint() 406 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in GetCompilationStatus() 408 …return static_cast<CompilationStage>((accessFlags_.load(std::memory_order_acquire) & COMPILATION_S… in GetCompilationStatus() 419 …h acquire order reason: data race with access_flags_ with dependecies on reads after the load which in SetCompilationStatus() [all …]
|
| /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/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/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/test/aottest/pgo_inherited_function_operation/ |
| D | pgo_inherited_function_operation.ts | 32 print(p.x) // load: p.x --> type: LOAD_PROPERTY 33 print(p.z) // load: p.z --> type: LOAD_PROPERTY 41 obj.add() // load: obj.add --> type: MONO_LOAD_PROPERTY_ON_PROTO 42 obj.sub() // load: obj.sub --> type: MONO_LOAD_PROPERTY_ON_PROTO 43 print(p.x) // load: p.x --> type: LOAD_PROPERTY 44 print(p.z) // load: p.z --> type: LOAD_PROPERTY 45 print(obj.c) // load: obj.c --> type: MONO_LOAD_PROPERTY_ON_PROTO 46 print(obj.x) // load: obj.x --> type: LOAD_PROPERTY 47 print(obj.y) // load: obj.y --> type: LOAD_PROPERTY 48 print(obj.z) // load: obj.z --> type: MONO_LOAD_PROPERTY_ON_PROTO [all …]
|
| /arkcompiler/ets_runtime/ecmascript/jit/ |
| D | jit_dfx.h | 110 return jitEventParams.totalTimeOnMainThread_.load() / CONVERT_TO_MILLISECOND; in GetTotalTimeOnMainThread() 120 return jitEventParams.singleTimeOnMainThread_.load() / CONVERT_TO_MILLISECOND; in GetSingleTimeOnMainThread() 130 return jitEventParams.totalTimeOnJitThread_.load() / CONVERT_TO_MILLISECOND; in GetTotalTimeOnJitThread() 140 return jitEventParams.singleTimeOnJitThread_.load() / CONVERT_TO_MILLISECOND; in GetSingleTimeOnJitThread() 154 return jitEventParams.totalBaselineJitTimes_.load(); in GetTotalBaselineJitCount() 159 return jitEventParams.totalFastoptJitTimes_.load(); in GetTotalFastoptJitCount() 185 if (time > jitEventParams.maxLockHoldingTime_.load()) { in SetLockHoldingTime() 195 return jitEventParams.totalLockHoldingTime_.load() / CONVERT_TO_MILLISECOND; in GetTotalLockHoldingTime() 200 return jitEventParams.maxLockHoldingTime_.load() / CONVERT_TO_MILLISECOND; in GetMaxLockHoldingTime() 205 return jitEventParams.longtimeLockTimes_.load(); in GetLongtimeLockCount() [all …]
|
| /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/ets_runtime/ecmascript/compiler/baseline/ |
| D | baseline_stub_builder.cpp | 30 return Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::HOME_OBJECT_OFFSET)); in GetHomeObjectFromFunction() 36 GateRef bitfield = Load(VariableType::INT32(), obj, bitfieldOffset); in GetResumeModeFromGeneratorObject() 45 GateRef bitfield = Load(VariableType::INT32(), obj, bitfieldOffset); in GetResumeModeFromAsyncGeneratorObject() 55 return Load(VariableType::NATIVE_POINTER(), glue, spOffset); in GetLastLeaveFrame() 60 …GateRef raw = Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::RAW_PROFILE_TYPE_INFO_… in GetProfileTypeInfoFromFunction() 61 return Load(VariableType::JS_POINTER(), raw, IntPtr(ProfileTypeInfoCell::VALUE_OFFSET)); in GetProfileTypeInfoFromFunction() 66 return Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::ECMA_MODULE_OFFSET)); in GetModuleFromFunction()
|
| D | baseline_stubs-inl.h | 157 return Load(VariableType::JS_POINTER(), frame, in GetFunctionFromFrame() 163 return Load(VariableType::JS_POINTER(), frame, in GetEnvFromFrame() 169 return Load(VariableType::JS_ANY(), frame, in GetAccFromFrame() 175 return Load(VariableType::JS_POINTER(), method, IntPtr(Method::CONSTANT_POOL_OFFSET)); in GetConstpoolFromMethod() 180 …GateRef raw = Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::RAW_PROFILE_TYPE_INFO_… in GetProfileTypeInfoFromFunction() 181 return Load(VariableType::JS_POINTER(), raw, IntPtr(ProfileTypeInfoCell::VALUE_OFFSET)); in GetProfileTypeInfoFromFunction() 186 GateRef x = Load(VariableType::INT16(), method, IntPtr(Method::LITERAL_INFO_OFFSET)); in GetHotnessCounterFromMethod() 192 return Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::ECMA_MODULE_OFFSET)); in GetModuleFromFunction() 197 return Load(VariableType::JS_POINTER(), function, IntPtr(JSFunction::HOME_OBJECT_OFFSET)); in GetHomeObjectFromFunction() 218 return Load(VariableType::NATIVE_POINTER(), frame, in GetPcFromFrame() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | interpreter_stub-inl.h | 37 return Load(VariableType::JS_ANY(), sp, PtrMul(IntPtr(sizeof(JSTaggedType)), idx)); in GetVregValue() 42 return Load(VariableType::INT8(), pc, IntPtr(1)); // 1 : skip 1 byte of bytecode in ReadInst8_0() 47 return Load(VariableType::INT8(), pc, IntPtr(2)); // 2 : skip 1 byte of bytecode in ReadInst8_1() 52 return Load(VariableType::INT8(), pc, IntPtr(3)); // 3 : skip 1 byte of bytecode in ReadInst8_2() 57 return Load(VariableType::INT8(), pc, IntPtr(4)); // 4 : skip 1 byte of bytecode in ReadInst8_3() 62 return Load(VariableType::INT8(), pc, IntPtr(5)); // 5 : skip 1 byte of bytecode in ReadInst8_4() 67 return Load(VariableType::INT8(), pc, IntPtr(6)); // 6 : skip 1 byte of bytecode in ReadInst8_5() 72 return Load(VariableType::INT8(), pc, IntPtr(7)); // 7 : skip 1 byte of bytecode in ReadInst8_6() 77 return Load(VariableType::INT8(), pc, IntPtr(8)); // 8 : skip 1 byte of bytecode in ReadInst8_7() 82 return Load(VariableType::INT8(), pc, IntPtr(9)); // 9 : skip 1 byte of bytecode in ReadInst8_8() [all …]
|
| /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 | 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 (exclusiveOwner_.load(std::memory_order_relaxed) != 0) { in ~RWLock() 123 } else if (waiters_.load(std::memory_order_relaxed) != 0) { in ~RWLock() 146 curState = state_.load(std::memory_order_relaxed); in FutexWait() 159 auto curState = state_.load(std::memory_order_relaxed); in WriteLock() 175 ASSERT(state_.load(std::memory_order_relaxed) == WRITE_LOCKED); in WriteLock() 177 ASSERT(exclusiveOwner_.load(std::memory_order_relaxed) == 0); in WriteLock() 197 curState = state_.load(std::memory_order_relaxed); in HandleReadLockWait() 207 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/module/ |
| D | napi_module_loader.cpp | 35 CString msg = "Load file with filename '" + abcFilePath + in LoadModuleNameSpaceWithModuleInfo() 36 "' failed, module name '" + requestPath + "'" + ", from napi load module"; in LoadModuleNameSpaceWithModuleInfo() 67 CString msg = "Load file with filename '" + abcFilePath + in LoadModuleNameSpaceWithPath() 68 "' failed, module name '" + requestPath + "'" + ", from napi load module"; in LoadModuleNameSpaceWithPath() 78 << "from napi load module"; in LoadModuleNameSpaceWithPath() 80 "from napi load module"; in LoadModuleNameSpaceWithPath() 86 CString msg = "Cannot execute request from napi load module : " + entryPoint + in LoadModuleNameSpaceWithPath() 87 ", from napi load module"; in LoadModuleNameSpaceWithPath()
|
| /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/ets_runtime/test/moduletest/loadicbyname/ |
| D | expect_output.txt | 14 primitiveic load success 15 load ic by name test2 success! 16 load Number ic by name success! 17 load Number ic by name success1! 31 load global ic with accessor success!
|
| /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/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/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
|