| /ark/runtime_core/libpandabase/mem/ |
| D | base_mem_stats.cpp | 59 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()
|
| D | gc_barrier.h | 30 …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/ |
| D | interpreter_stub-inl.h | 29 … 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 …]
|
| D | stub-inl.h | 396 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/ |
| D | mutex.cpp | 61 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 …]
|
| D | mutex.h | 98 … 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/ |
| D | method.h | 144 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/ |
| D | job_queue.cpp | 52 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 …]
|
| D | job_queue.h | 64 if (!initialized.load()) { 69 if (!initialized.load() || shutdown.load()) { 79 return initialized.load(); in IsInitialized()
|
| /ark/js_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
|
| /ark/runtime_core/runtime/bridge/arch/amd64/ |
| D | handle_call_imm4_v4_v4_v4_amd64.S | 20 // 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
|
| D | handle_call_imm16_v16_amd64.S | 20 // 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/ |
| D | handle_call_imm4_v4_v4_v4_aarch64.S | 31 // 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/ |
| D | file_manager.cpp | 26 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/ |
| D | lda.str.yaml | 29 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.
|
| D | lda.null.yaml | 18 title: Load null reference into accumulator 19 description: Load null reference into accumulator.
|
| /ark/js_runtime/ecmascript/mem/ |
| D | heap_region_allocator.h | 39 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()
|
| D | native_area_allocator.h | 83 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/ |
| D | non_testable.yaml | 24 - 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/ |
| D | generational-gc-base.cpp | 41 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()
|
| D | bitmap.cpp | 49 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/ |
| D | profiling_data.h | 49 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/ |
| D | panda_cache.h | 85 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/ |
| D | mem_stats.cpp | 98 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/ |
| D | arrays-02.pa | 26 # - title: Load from array 28 # Load an element from array using accumulator as an index and puts it into accumulator.
|