Home
last modified time | relevance | path

Searched full:load (Results 1 – 25 of 174) sorted by relevance

1234567

/ark/runtime_core/libpandabase/mem/
Dbase_mem_stats.cpp59 return allocated_[helpers::ToUnderlying(type_mem)].load(std::memory_order_acquire); in GetAllocated()
64 return freed_[helpers::ToUnderlying(type_mem)].load(std::memory_order_acquire); in GetFreed()
73 result += allocated_[index].load(std::memory_order_acquire); in GetAllocatedHeap()
85 result += freed_[index].load(std::memory_order_acquire); in GetFreedHeap()
99 …LOG_IF(allocated_[index].load(std::memory_order_acquire) < freed_[index].load(std::memory_order_ac… in GetFootprint()
101 << "): " << allocated_[index].load(std::memory_order_acquire) << " < " in GetFootprint()
102 << freed_[index].load(std::memory_order_acquire); in GetFootprint()
103 …return allocated_[index].load(std::memory_order_acquire) - freed_[index].load(std::memory_order_ac… in GetFootprint()
Dgc_barrier.h30 …BARRIER_POSITION_PRE = 0x1, // Should be inserted before each store/load when reference stored/l…
31 …BARRIER_POSITION_POST = 0x0, // Should be inserted after each store/load when reference stored/lo…
35 * Indicates if the barrier is for store or load.
39 READ_BARRIER = 0x0, // Should be used around load
67 * load CONCURRENT_MARKING_ADDR -> concurrent_marking
69 … * load obj.field -> pre_val // note: if store volatile - we need to have volatile load here
86 * load AddressOf(MIN_ADDR) -> min_addr
87 * load AddressOf(CARD_TABLE_ADDR) -> card_table_addr
/ark/js_runtime/ecmascript/compiler/
Dinterpreter_stub-inl.h29 … return Load(StubMachineType::TAGGED, sp, IntPtrMul(GetIntPtrConstant(sizeof(JSTaggedType)), idx)); in GetVregValue()
34 return Load(StubMachineType::UINT8, pc, GetIntPtrConstant(1)); in ReadInst8_0()
39 return Load(StubMachineType::UINT8, pc, GetIntPtrConstant(2)); // 2 : skip 1 byte of bytecode in ReadInst8_1()
44 return Load(StubMachineType::UINT8, pc, GetIntPtrConstant(3)); // 3 : skip 1 byte of bytecode in ReadInst8_2()
49 return Load(StubMachineType::UINT8, pc, GetIntPtrConstant(4)); // 4 : skip 1 byte of bytecode in ReadInst8_3()
54 return Load(StubMachineType::UINT8, pc, GetIntPtrConstant(5)); // 5 : skip 1 byte of bytecode in ReadInst8_4()
59 return Load(StubMachineType::UINT8, pc, GetIntPtrConstant(6)); // 6 : skip 1 byte of bytecode in ReadInst8_5()
64 return Load(StubMachineType::UINT8, pc, GetIntPtrConstant(7)); // 7 : skip 1 byte of bytecode in ReadInst8_6()
69 return Load(StubMachineType::UINT8, pc, GetIntPtrConstant(8)); // 8 : skip 1 byte of bytecode in ReadInst8_7()
74 return Load(StubMachineType::UINT8, pc, GetIntPtrConstant(9)); // 9 : skip 1 byte of bytecode in ReadInst8_8()
[all …]
Dstub-inl.h396 GateRef Stub::Load(StubMachineType type, GateRef base, GateRef offset) in Load() function
420 GateRef Stub::Load(StubMachineType type, GateRef base) in Load() function
1030 return Load(StubMachineType::TAGGED, accessor, setterOffset); in GetSetterFromAccessor()
1036 return Load(StubMachineType::TAGGED_POINTER, object, elementsOffset); in GetElementsArray()
1048 return Load(StubMachineType::TAGGED_POINTER, object, propertiesOffset); in GetPropertiesArray()
1060 return Load(StubMachineType::UINT32, array, GetIntPtrConstant(TaggedArray::LENGTH_OFFSET)); in GetLengthOfTaggedArray()
1070 return Load(StubMachineType::TAGGED_POINTER, object); in LoadHClass()
1081 GateRef bitfield = Load(StubMachineType::UINT32, hClass, bitfieldOffset); in GetObjectType()
1088 GateRef bitfield = Load(StubMachineType::UINT32, obj, bitfieldOffset); in GetGeneratorObjectResumeMode()
1102 GateRef bitfield = Load(StubMachineType::UINT32, hClass, bitfieldOffset); in IsDictionaryModeByHClass()
[all …]
/ark/runtime_core/libpandabase/os/unix/futex/
Dmutex.cpp61 if (pred(addr->load(std::memory_order_relaxed))) { in WaitBrieflyFor()
70 if (state_and_waiters_.load(std::memory_order_relaxed) != 0) { in ~Mutex()
72 } else if (exclusive_owner_.load(std::memory_order_relaxed) != 0) { in ~Mutex()
92 auto cur_state = state_and_waiters_.load(std::memory_order_relaxed); in Lock()
119 cur_state = state_and_waiters_.load(std::memory_order_relaxed); in Lock()
126 …ASSERT((helpers::ToUnsigned(state_and_waiters_.load(std::memory_order_relaxed)) & helpers::ToUnsig… in Lock()
128 ASSERT(exclusive_owner_.load(std::memory_order_relaxed) == 0); in Lock()
148 auto cur_state = state_and_waiters_.load(std::memory_order_relaxed); in TryLock()
161 …ASSERT((helpers::ToUnsigned(state_and_waiters_.load(std::memory_order_relaxed)) & helpers::ToUnsig… in TryLock()
163 ASSERT(exclusive_owner_.load(std::memory_order_relaxed) == 0); in TryLock()
[all …]
Dmutex.h98 … return static_cast<uint32_t>(state_and_waiters_.load(std::memory_order_relaxed)) >> WAITER_SHIFT; in GetWaiters()
107 return exclusive_owner_.load(std::memory_order_relaxed) == thread; in IsHeld()
144 auto cur_state = state_.load(std::memory_order_relaxed); in ReadLock()
175 auto cur_state = state_.load(std::memory_order_relaxed); in ReadUnlock()
179 // waiters_ load should not be reordered before state_, so it's done with seq cst. in ReadUnlock()
184 if (waiters_.load(std::memory_order_seq_cst) > 0) { in ReadUnlock()
220 return exclusive_owner_.load(std::memory_order_relaxed) != 0; in HasExclusiveHolder()
224 return exclusive_owner_.load(std::memory_order_relaxed) == thread; in IsExclusiveHeld()
/ark/runtime_core/runtime/include/
Dmethod.h144 method->stor_32_.access_flags_.load(), in Method()
289 return stor_ptr_.compiled_entry_point_.load(std::memory_order_acquire); in GetCompiledEntryPoint()
294 return stor_ptr_.compiled_entry_point_.load(std::memory_order_acquire); in GetCompiledEntryPoint()
316 … return static_cast<CompilationStage>((stor_32_.access_flags_.load() & COMPILATION_STATUS_MASK) >> in GetCompilationStatus()
333 uint32_t old_value = stor_32_.access_flags_.load(); in AtomicSetCompilationStatus()
375 return stor_32_.access_flags_.load(); in GetAccessFlags()
385 return (stor_32_.access_flags_.load() & ACC_STATIC) != 0; in IsStatic()
390 return (stor_32_.access_flags_.load() & ACC_NATIVE) != 0; in IsNative()
395 return (stor_32_.access_flags_.load() & ACC_PUBLIC) != 0; in IsPublic()
400 return (stor_32_.access_flags_.load() & ACC_PRIVATE) != 0; in IsPrivate()
[all …]
/ark/runtime_core/verification/job_queue/
Djob_queue.cpp52 if (initialized.load()) { in Initialize()
103 if (!initialized.load()) { in Stop()
132 if (!initialized.load()) { in Destroy()
169 ASSERT(initialized.load()); in GetPandaTypes()
181 ASSERT(initialized.load()); in AddJob()
197 ASSERT(initialized.load()); in GetJob()
209 if (JobQueue::shutdown.load()) { in GetJob()
215 if (JobQueue::shutdown.load()) { in GetJob()
225 ASSERT(initialized.load()); in NewJob()
239 LOG(FATAL, VERIFIER) << "Cannot load default options"; in NewJob()
[all …]
Djob_queue.h64 if (!initialized.load()) {
69 if (!initialized.load() || shutdown.load()) {
79 return initialized.load(); in IsInitialized()
/ark/js_runtime/ecmascript/compiler/tests/
Dsatepoint_GC_0.ll72 %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
/ark/runtime_core/runtime/bridge/arch/amd64/
Dhandle_call_imm4_v4_v4_v4_amd64.S20 // load method* into %rdi
23 // load num args into %rsi and function object into %rdx, %rcx
34 // load the first argument into %r8, %r9
53 // load the second argument into the stack
62 // load the third argument into the stack
76 // load the fourth argument into the stack
Dhandle_call_imm16_v16_amd64.S20 // load method* into %rdi
23 // load num args into %rsi and function object into %rdx, %rcx
36 // load arguments into the registers
/ark/runtime_core/runtime/bridge/arch/aarch64/
Dhandle_call_imm4_v4_v4_v4_aarch64.S31 // load the first argument into x4, x5
40 // load the second arg into x6, x7
50 // load the 3rd arg into the stack
61 // load the 3rd arg into the stack
67 // load the 4th arg into the stack
/ark/runtime_core/runtime/
Dfile_manager.cpp26 LOG(ERROR, PANDAFILE) << "Load panda file failed: " << location; in LoadAbcFile()
37 … LOG(INFO, PANDAFILE) << "Failed to load AOT file: '" << an_location << "': " << res.Error(); in LoadAbcFile()
39 LOG(INFO, PANDAFILE) << "Failed to load '" << an_location << "' with unknown reason"; in LoadAbcFile()
48 …return Unexpected(std::string("Cannot load file: ") + std::string(an_location) + ": AOT files unsu… in LoadAnFile()
/ark/runtime_core/tests/cts-generator/cts-template/
Dlda.str.yaml29 title: Load accumulator from string constant pool
30 description: Load string specified by id into accumulator.
44 description: Load string specified by id into accumulator.
115 description: Load string specified by id into accumulator.
144 description: Load string specified by id into accumulator.
175 description: Load string specified by id into accumulator.
227 description: Load string specified by id into accumulator.
280 description: Load string specified by id into accumulator.
Dlda.null.yaml18 title: Load null reference into accumulator
19 description: Load null reference into accumulator.
/ark/js_runtime/ecmascript/mem/
Dheap_region_allocator.h39 size_t max = maxAnnoMemoryUsage_.load(std::memory_order_relaxed); in IncreaseAnnoMemoryUsage()
51 return annoMemoryUsage_.load(std::memory_order_relaxed); in GetAnnoMemoryUsage()
56 return maxAnnoMemoryUsage_.load(std::memory_order_relaxed); in GetMaxAnnoMemoryUsage()
Dnative_area_allocator.h83 size_t max = maxNativeMemoryUsage_.load(std::memory_order_relaxed); in IncreaseNativeMemoryUsage()
95 return nativeMemoryUsage_.load(std::memory_order_relaxed); in GetNativeMemoryUsage()
100 return maxNativeMemoryUsage_.load(std::memory_order_relaxed); in GetMaxNativeMemoryUsage()
/ark/runtime_core/tests/cts-coverage-tool/
Dnon_testable.yaml24 - title: Load accumulator from string constant pool
25 description: In dynamically-typed language context load string as 'any' value.
54 - title: Dynamic load accumulator from register
78 - title: Dynamic load accumulator from immediate
/ark/runtime_core/runtime/mem/gc/
Dgenerational-gc-base.cpp41 auto old_counter = this->gc_counter_.load(std::memory_order_acquire); in WaitForGC()
44 auto new_counter = this->gc_counter_.load(std::memory_order_acquire); in WaitForGC()
45 if (new_counter > old_counter && this->last_cause_.load() >= task.reason_) { in WaitForGC()
Dbitmap.cpp49 old_word = word_addr->load(std::memory_order_seq_cst); in AtomicTestAndSetBit()
65 old_word = word_addr->load(std::memory_order_seq_cst); in AtomicTestAndClearBit()
79 BitmapWordType word = word_addr->load(std::memory_order_seq_cst); in AtomicTestBit()
/ark/runtime_core/runtime/jit/
Dprofiling_data.h49 auto stored_class = class_atomic->load(std::memory_order_acquire); in UpdateInlineCaches()
72 return bytecode_pc_.load(std::memory_order_acquire); in GetBytecodePc()
90 auto stored_class = class_atomic->load(std::memory_order_acquire); in GetClassesCount()
102 …return class_atomic->load(std::memory_order_acquire) == reinterpret_cast<Class *>(MEGAMORPHIC_FLAG… in IsMegamorphic()
/ark/runtime_core/libpandafile/
Dpanda_cache.h85 auto pair = pair_ptr->load(std::memory_order_acquire); in GetMethodFromCache()
110 auto pair = pair_ptr->load(std::memory_order_acquire); in GetFieldFromCache()
135 auto pair = pair_ptr->load(std::memory_order_acquire); in GetClassFromCache()
161 auto pair = pair_ptr->load(std::memory_order_acquire); in EnumerateCachedClasses()
/ark/runtime_core/runtime/mem/
Dmem_stats.cpp98 return objects_allocated_.load(std::memory_order_acquire); in GetTotalObjectsAllocated()
104 return objects_freed_.load(std::memory_order_acquire); in GetTotalObjectsFreed()
122 return humongous_objects_allocated_.load(std::memory_order_acquire); in GetTotalHumongousObjectsAllocated()
128 return humongous_objects_freed_.load(std::memory_order_acquire); in GetTotalHumongousObjectsFreed()
/ark/runtime_core/tests/cts-assembly/
Darrays-02.pa26 # - title: Load from array
28 # Load an element from array using accumulator as an index and puts it into accumulator.

1234567