/arkcompiler/runtime_core/static_core/runtime/mem/ |
D | tlab.cpp | 26 TLAB::TLAB(void *address, size_t size) in TLAB() argument 30 Fill(address, size); in TLAB() 31 …LOG_TLAB_ALLOCATOR(DEBUG) << "Construct a new TLAB at addr " << std::hex << address << " with size… in TLAB() 35 void TLAB::Fill(void *address, size_t size) in Fill() argument 37 ASSERT(ToUintPtr(address) == AlignUp(ToUintPtr(address), DEFAULT_ALIGNMENT_IN_BYTES)); in Fill() 38 memoryStartAddr_ = address; in Fill() 39 memoryEndAddr_ = ToVoidPtr(ToUintPtr(address) + size); in Fill() 40 curFreePosition_ = address; in Fill() 42 …LOG_TLAB_ALLOCATOR(DEBUG) << "Fill a TLAB with buffer at addr " << std::hex << address << " with s… in Fill()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | free_object.cpp | 20 FreeObject *FreeObject::FillFreeObject(EcmaVM *vm, uintptr_t address, size_t size) in FillFreeObject() argument 22 ASAN_UNPOISON_MEMORY_REGION(reinterpret_cast<void *>(address), size); in FillFreeObject() 23 FreeObject *freeObject = vm->GetFactory()->FillFreeObject(address, size); in FillFreeObject() 24 ASAN_POISON_MEMORY_REGION(reinterpret_cast<void *>(address), size); in FillFreeObject()
|
D | global_env.h | 56 uintptr_t address = ComputeObjectAddress(index); in GetGlobalEnvObjectByIndex() local 57 JSHandle<JSTaggedValue> result(address); in GetGlobalEnvObjectByIndex() 87 uintptr_t address = ComputeObjectAddress(JSTHREAD_INDEX); in GetJSThread() local 88 return *reinterpret_cast<JSThread**>(address); in GetJSThread() 93 uintptr_t address = ComputeObjectAddress(JSTHREAD_INDEX); in SetJSThread() local 94 *reinterpret_cast<JSThread**>(address) = thread; in SetJSThread() 119 … const uintptr_t address = \ 121 … JSHandle<type> result(address); \
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
D | heap_tracker.cpp | 35 void HeapTracker::AllocationEvent(TaggedObject *address, size_t size) in AllocationEvent() argument 38 Node *node = snapshot_->AddNode(address, size); in AllocationEvent() 50 void HeapTracker::MoveEvent(uintptr_t address, TaggedObject *forwardAddress, size_t size) in MoveEvent() argument 53 snapshot_->MoveNode(address, forwardAddress, size); in MoveEvent()
|
D | heap_tracker.h | 91 void AllocationEvent(TaggedObject *address, size_t size); 92 void MoveEvent(uintptr_t address, TaggedObject *forwardAddress, size_t size);
|
D | heap_profiler_interface.h | 41 virtual void AllocationEvent(TaggedObject *address, size_t size) = 0; 42 virtual void MoveEvent(uintptr_t address, TaggedObject *forwardAddress, size_t size)= 0;
|
D | heap_profiler.cpp | 107 void HeapProfiler::AllocationEvent(TaggedObject *address, size_t size) in AllocationEvent() argument 113 heapTracker_->AllocationEvent(address, size); in AllocationEvent() 118 void HeapProfiler::MoveEvent(uintptr_t address, TaggedObject *forwardAddress, size_t size) in MoveEvent() argument 122 …entryIdMap_->Move(static_cast<JSTaggedType>(address), reinterpret_cast<JSTaggedType>(forwardAddres… in MoveEvent() 124 heapTracker_->MoveEvent(address, forwardAddress, size); in MoveEvent()
|
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/ |
D | gui.rst | 59 address : Address 73 this.address = new Address(street, zip, city) 136 @Prop address : Address 152 TextInput({text: this.address.street}) 154 this.address.street = value 157 TextInput({text: this.address.city}) 159 this.address.city = value 162 TextInput({text: this.address.zip.toString()}) 165 this.address.zip = Number.isNaN(result) ? 0 : result 192 this.selectedPerson.address.street = [all …]
|
/arkcompiler/runtime_core/static_core/libpandabase/mem/ |
D | mem.h | 232 constexpr bool IsAddressInObjectsHeap([[maybe_unused]] uintptr_t address) in IsAddressInObjectsHeap() argument 235 …return PANDA_32BITS_HEAP_START_ADDRESS <= address && address < PANDA_32BITS_HEAP_END_OBJECTS_ADDRE… in IsAddressInObjectsHeap() 242 constexpr bool IsAddressInObjectsHeap(const T *address) in IsAddressInObjectsHeap() argument 244 return IsAddressInObjectsHeap(ToUintPtr(address)); in IsAddressInObjectsHeap() 247 constexpr bool IsAddressInObjectsHeapOrNull(uintptr_t address) in IsAddressInObjectsHeapOrNull() argument 249 return address == ToUintPtr(nullptr) || IsAddressInObjectsHeap(address); in IsAddressInObjectsHeapOrNull() 253 constexpr bool IsAddressInObjectsHeapOrNull(const T *address) in IsAddressInObjectsHeapOrNull() argument 255 return IsAddressInObjectsHeapOrNull(ToUintPtr(address)); in IsAddressInObjectsHeapOrNull()
|
/arkcompiler/runtime_core/libpandabase/mem/ |
D | mem.h | 206 inline bool IsAddressInObjectsHeap([[maybe_unused]] uintptr_t address) in IsAddressInObjectsHeap() argument 209 …return PANDA_32BITS_HEAP_START_ADDRESS <= address && address < PANDA_32BITS_HEAP_END_OBJECTS_ADDRE… in IsAddressInObjectsHeap() 215 inline bool IsInObjectsAddressSpace(uintptr_t address) in IsInObjectsAddressSpace() argument 217 return address == ToUintPtr(nullptr) || IsAddressInObjectsHeap(address); in IsInObjectsAddressSpace() 221 inline bool IsInObjectsAddressSpace(T *address) in IsInObjectsAddressSpace() argument 223 return IsInObjectsAddressSpace(ToUintPtr(address)); in IsInObjectsAddressSpace()
|
/arkcompiler/runtime_core/compiler/docs/ |
D | plt.md | 24 …lot` is filled during AOT file loading into runtime and contains `PLT CallStatic Resolver` address. 26 to address of `SecondSlot`, subtracted by `GetCompiledEntryPointOffset` value. 38 -YY-00: ThirdSlot - address of (-YY-08-56) <-------------- 41 -NN: address of handler 0, NN = N * 8 | 43 -16: address of handler N-1 | 44 -08: address of handler N | 48 XX+00: adr x0, #-(YY+XX) ; Put to the x0 address of ThirdSlot ; before resolve ; after resolve 60 …pointer`, it is stored into `ThirdSlot`, allow to load proper executable address, and goes as first 78 -NN: address of handler 0, NN = N * 8 | 80 -16: address of handler N-1 | [all …]
|
D | avoid-calculating-start-of-array.md | 1 # Avoid re-calculating the address of array data for consequent array accesses 6 the address of the actual array data has to be infered from the object address. 12 in the unnecessary repetitive calculation of the data payload address. 22 interspersed by instructions that call runtime. Calculate the payload address 24 array acesses instead of object address. Replace the `{Store, Load}Array`
|
D | interface_inline_cache.md | 5 …ces to be inherited, and uses the itable table to dynamically query the address of the target met… 6 `Interface Inline Cache` will stores the parsing result of the previous method address as the cache… 15 * `Slow path`: Call runtime RESOLVE_VIRTUAL_CALL_AOT to get method address and save method addr a… 49 3. cache's address is in an file's aot_got section 56 2. because `class address` is no move in ark, so we do not need to worry that the saved class will … 57 3. if class address is move, it is still save, but maybe the hit rate will be lower.
|
/arkcompiler/runtime_core/static_core/compiler/docs/ |
D | plt.md | 24 …lot` is filled during AOT file loading into runtime and contains `PLT CallStatic Resolver` address. 26 to address of `SecondSlot`, subtracted by `GetCompiledEntryPointOffset` value. 38 -YY-00: ThirdSlot - address of (-YY-08-56) <-------------- 41 -NN: address of handler 0, NN = N * 8 | 43 -16: address of handler N-1 | 44 -08: address of handler N | 48 XX+00: adr x0, #-(YY+XX) ; Put to the x0 address of ThirdSlot ; before resolve ; after resolve 60 …pointer`, it is stored into `ThirdSlot`, allow to load proper executable address, and goes as first 78 -NN: address of handler 0, NN = N * 8 | 80 -16: address of handler N-1 | [all …]
|
D | avoid-calculating-start-of-array.md | 1 # Avoid re-calculating the address of array data for consequent array accesses 6 the address of the actual array data has to be infered from the object address. 12 in the unnecessary repetitive calculation of the data payload address. 22 interspersed by instructions that call runtime. Calculate the payload address 24 array acesses instead of object address. Replace the `{Store, Load}Array`
|
D | interface_inline_cache.md | 5 …ces to be inherited, and uses the itable table to dynamically query the address of the target met… 6 `Interface Inline Cache` will stores the parsing result of the previous method address as the cache… 15 * `Slow path`: Call runtime RESOLVE_VIRTUAL_CALL_AOT to get method address and save method addr a… 49 3. cache's address is in an file's aot_got section 56 2. because `class address` is no move in ark, so we do not need to worry that the saved class will … 57 3. if class address is move, it is still save, but maybe the hit rate will be lower.
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | glue_regs_test.cpp | 62 const JSTaggedValue *address = globalConst->BeginSlot(); in HWTEST_F_L0() local 63 while (address < globalConst->EndSlot()) { in HWTEST_F_L0() 64 EXPECT_TRUE(!(*address).IsHole()); // Visit barely in HWTEST_F_L0() 65 address += 1; in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | parallel_evacuator.cpp | 140 uintptr_t address = 0; in EvacuateRegion() local 144 address = allocator->Allocate(size, OLD_SPACE); in EvacuateRegion() 148 address = allocator->Allocate(size, OLD_SPACE); in EvacuateRegion() 151 address = allocator->Allocate(size, SEMI_SPACE); in EvacuateRegion() 152 if (address == 0) { in EvacuateRegion() 153 address = allocator->Allocate(size, OLD_SPACE); in EvacuateRegion() 158 LOG_ECMA_IF(address == 0, FATAL) << "Evacuate object failed:" << size; in EvacuateRegion() 160 if (memcpy_s(ToVoidPtr(address), size, ToVoidPtr(ToUintPtr(mem)), size) != EOK) { in EvacuateRegion() 163 …p_->OnMoveEvent(reinterpret_cast<uintptr_t>(mem), reinterpret_cast<TaggedObject *>(address), size); in EvacuateRegion() 170 Barriers::SetPrimitive(header, 0, MarkWord::FromForwardingAddress(address)); in EvacuateRegion() [all …]
|
D | region-inl.h | 83 inline bool Region::AtomicMark(void *address) in AtomicMark() argument 85 auto addrPtr = reinterpret_cast<uintptr_t>(address); in AtomicMark() 91 inline void Region::ClearMark(void *address) in ClearMark() argument 93 auto addrPtr = reinterpret_cast<uintptr_t>(address); in ClearMark()
|
/arkcompiler/runtime_core/static_core/compiler/code_info/ |
D | code_info_tables.h | 53 static constexpr uintptr_t PackAddress(uintptr_t address, Arch arch) in PackAddress() argument 55 ASSERT(IsAligned(address, GetInstructionAlignment(arch))); in PackAddress() 56 return address / GetInstructionAlignment(arch); in PackAddress() 64 static constexpr uintptr_t UnpackAddress(uintptr_t address, Arch arch) in UnpackAddress() argument 66 return address * GetInstructionAlignment(arch); in UnpackAddress()
|
/arkcompiler/ets_runtime/ecmascript/stackmap/ |
D | llvm_stackmap_parser.cpp | 76 … auto calStkMapRecordFunc = [this, &recordNum, &pc2CallSiteInfo, &deoptbundles](uintptr_t address, in CalcCallSite() 81 uintptr_t pc = address + instructionOffset; in CalcCallSite() 107 << " address:" << address in CalcCallSite() 143 << " address:" << address in CalcCallSite() 170 uintptr_t address = sizeRec.functionAddress; in CalcCallSite() local 172 fun2RecordNum_.emplace_back(std::make_pair(address, recordCount)); in CalcCallSite() 174 calStkMapRecordFunc(address, k); in CalcCallSite()
|
/arkcompiler/toolchain/tooling/client/domain/ |
D | profiler_client.h | 45 void SetAddress(std::string address) in SetAddress() argument 47 address_ = address; in SetAddress()
|
/arkcompiler/runtime_core/docs/ |
D | aot.md | 64 -NN: address of handler 0, NN = N * 8 66 -16: address of handler N-1 67 -08: address of handler N 76 instruction from this address. Example for arm64: 82 -NN: address of handler 0, NN = N * 8 84 -16: address of handler N-1 85 -08: address of handler N <----- 92 80: adr x30, #-88 -------------- ; Put to the x30 address of last entry in the table 93 84: ldr x30, [x30] ; Load address of the entrypoint handler
|
/arkcompiler/runtime_core/static_core/docs/ |
D | aot.md | 64 -NN: address of handler 0, NN = N * 8 66 -16: address of handler N-1 67 -08: address of handler N 76 instruction from this address. Example for arm64: 82 -NN: address of handler 0, NN = N * 8 84 -16: address of handler N-1 85 -08: address of handler N <----- 92 80: adr x30, #-88 -------------- ; Put to the x30 address of last entry in the table 93 84: ldr x30, [x30] ; Load address of the entrypoint handler
|
/arkcompiler/ets_runtime/ecmascript/intl/ |
D | locale_helper.cpp | 262 size_t address = 1; in IsStructurallyValidLanguageTag() local 280 bool result = DealwithLanguageTag(containers, address); in IsStructurallyValidLanguageTag() 289 bool LocaleHelper::DealwithLanguageTag(const std::vector<std::string> &containers, size_t &address) in DealwithLanguageTag() argument 314 if (IsScriptSubtag(containers[address])) { in DealwithLanguageTag() 315 address++; in DealwithLanguageTag() 316 if (containers.size() == address) { in DealwithLanguageTag() 321 if (IsRegionSubtag(containers[address])) { in DealwithLanguageTag() 322 address++; in DealwithLanguageTag() 325 for (size_t i = address; i < containers.size(); i++) { in DealwithLanguageTag()
|