/arkcompiler/ets_frontend/es2panda/test/type_extractor/dts-testcases/ |
D | test-interface-type-test-1-expected.txt | 3 slot _0 855 slot _1 857 slot _10 859 slot _11 861 slot _12 863 slot _13 865 slot _14 867 slot _15 869 slot _16 871 slot _17 [all …]
|
D | test-type-summary-order-1-expected.txt | 3 slot _0 855 slot _1 857 slot _10 859 slot _11 861 slot _12 863 slot _13 865 slot _14 867 slot _15 869 slot _16 871 slot _17 [all …]
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | verification.cpp | 34 for (ObjectSlot slot = start; slot < end; slot++) { in VisitAllObjects() local 38 VisitObject(slot); in VisitAllObjects() 44 for (ObjectSlot slot = start; slot < end; slot++) { in VisitAllObjects() local 45 VisitObject(slot); in VisitAllObjects() 50 void VerifyObjectVisitor::VisitObject(ObjectSlot slot) in VisitObject() argument 52 JSTaggedValue value(slot.GetTaggedType()); in VisitObject() 56 << " at object:" << slot.SlotAddress(); in VisitObject() 62 << " at object:" << slot.SlotAddress(); in VisitObject() 70 ObjectSlot slot(reinterpret_cast<uintptr_t>(obj)); in operator ()() local 72 LOG_GC(DEBUG) << "Heap object(" << slot.SlotAddress() << ") old to new rset fail: value is " in operator ()() [all …]
|
D | parallel_evacuator-inl.h | 43 for (ObjectSlot slot = start; slot < end; slot++) { in VisitBodyInObj() local 52 callback(slot); in VisitBodyInObj() 58 bool ParallelEvacuator::UpdateOldToNewObjectSlot(ObjectSlot &slot) in UpdateOldToNewObjectSlot() argument 60 JSTaggedValue value(slot.GetTaggedType()); in UpdateOldToNewObjectSlot() 74 slot.Update(dst); in UpdateOldToNewObjectSlot() 82 slot.Clear(); in UpdateOldToNewObjectSlot() 91 slot.Clear(); in UpdateOldToNewObjectSlot() 100 void ParallelEvacuator::UpdateObjectSlot(ObjectSlot &slot) in UpdateObjectSlot() argument 102 JSTaggedValue value(slot.GetTaggedType()); in UpdateObjectSlot() 105 return UpdateWeakObjectSlot(value.GetTaggedWeakRef(), slot); in UpdateObjectSlot() [all …]
|
D | parallel_marker-inl.h | 38 for (ObjectSlot slot = start; slot < end; slot++) { in VisitBodyInObj() local 42 callback(slot); in VisitBodyInObj() 48 inline void NonMovableMarker::MarkValue(uint32_t threadId, ObjectSlot &slot, Region *rootRegion, bo… in MarkValue() argument 50 JSTaggedValue value(slot.GetTaggedType()); in MarkValue() 57 … RecordWeakReference(threadId, reinterpret_cast<JSTaggedType *>(slot.SlotAddress()), rootRegion); in MarkValue() 63 rootRegion->AtomicInsertCrossRegionRSet(slot.SlotAddress()); in MarkValue() 82 … void NonMovableMarker::HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) in HandleRoots() argument 84 JSTaggedValue value(slot.GetTaggedType()); in HandleRoots() 93 for (ObjectSlot slot = start; slot < end; slot++) { in HandleRangeRoots() local 94 JSTaggedValue value(slot.GetTaggedType()); in HandleRangeRoots() [all …]
|
D | parallel_marker.cpp | 75 [&](ObjectSlot slot) { MarkValue(threadId, slot, rootRegion, needBarrier); })) { in ProcessMarkStack() argument 79 for (ObjectSlot slot = start; slot < end; slot++) { in ProcessMarkStack() local 80 MarkValue(threadId, slot, rootRegion, needBarrier); in ProcessMarkStack() 108 [&](ObjectSlot slot) { MarkValue(threadId, slot, rootRegion, needBarrier); })) { in ProcessIncrementalMarkStack() argument 112 for (ObjectSlot slot = start; slot < end; slot++) { in ProcessIncrementalMarkStack() local 113 MarkValue(threadId, slot, rootRegion, needBarrier); in ProcessIncrementalMarkStack() 152 … if (VisitBodyInObj(root, start, end, [&](ObjectSlot slot) { MarkValue(threadId, root, slot); })) { in ProcessMarkStack() argument 156 for (ObjectSlot slot = start; slot < end; slot++) { in ProcessMarkStack() local 157 MarkValue(threadId, root, slot); in ProcessMarkStack() 178 … if (VisitBodyInObj(root, start, end, [&](ObjectSlot slot) { MarkValue(threadId, slot); })) { in ProcessMarkStack() argument [all …]
|
D | parallel_evacuator.cpp | 154 … if (VisitBodyInObj(root, start, end, [&](ObjectSlot slot) { VerifyValue(object, slot); })) { in VerifyHeapObject() argument 158 for (ObjectSlot slot = start; slot < end; slot++) { in VerifyHeapObject() local 159 VerifyValue(object, slot); in VerifyHeapObject() 164 void ParallelEvacuator::VerifyValue(TaggedObject *object, ObjectSlot slot) in VerifyValue() argument 166 JSTaggedValue value(slot.GetTaggedType()); in VerifyValue() 177 << ", body address:" << slot.SlotAddress() in VerifyValue() 233 RootVisitor gcUpdateYoung = [this]([[maybe_unused]] Root type, ObjectSlot slot) { in UpdateRoot() argument 234 UpdateObjectSlot(slot); in UpdateRoot() 237 for (ObjectSlot slot = start; slot < end; slot++) { in UpdateRoot() local 238 UpdateObjectSlot(slot); in UpdateRoot() [all …]
|
D | parallel_marker.h | 68 [[maybe_unused]] ObjectSlot slot) // move in MarkObject() argument 75 …virtual inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) = … 100 … inline void MarkValue(uint32_t threadId, ObjectSlot &slot, Region *rootRegion, bool needBarrier); 102 … inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) override; 121 … inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) override; 127 ObjectSlot slot) = 0; 134 ObjectSlot slot, bool isPromoted = false); 135 …ateForwardAddressIfFailed(TaggedObject *object, uintptr_t toAddress, size_t size, ObjectSlot slot); 147 inline void MarkValue(uint32_t threadId, TaggedObject *root, ObjectSlot slot); 148 inline SlotStatus MarkObject(uint32_t threadId, TaggedObject *object, ObjectSlot slot) override; [all …]
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | dropframe_manager.cpp | 55 uint16_t slot = 0; in ReadStlexvarParams() local 59 slot = READ_INST_4_1(); in ReadStlexvarParams() 63 slot = READ_INST_8_1(); in ReadStlexvarParams() 67 slot = READ_INST_16_3(); in ReadStlexvarParams() 72 return std::make_pair(level, slot); in ReadStlexvarParams() 91 uint16_t slot; in MethodEntry() local 92 std::tie(level, slot) = lexVarPos; in MethodEntry() 96 … slot < LexicalEnv::Cast(env.GetTaggedObject())->GetLength() - LexicalEnv::RESERVED_ENV_LENGTH && in MethodEntry() 97 !modifiedLexVarPos.count({i, slot})) { in MethodEntry() 98 … JSTaggedValue value = LexicalEnv::Cast(env.GetTaggedObject())->GetProperties(slot); in MethodEntry() [all …]
|
/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases/ |
D | test-namespace-enum-transformed-function-expected.txt | 3 slot _.#14695981039346656037#_-1 25 slot _.#14695981039346656037_1#_-1 47 slot _.#14695981039346656037_2#_-1 69 slot _.#14695981039346656037_3#_-1 91 slot _.#14695981039346656037_4#_-1 113 slot _.#14695981039346656037_5#_-1 135 slot _.#14695981039346656037_6#_-1 157 slot _0 179 slot _1
|
D | test-builtin-generic-class-type-expected.txt | 3 slot _.func_main_0_-1 85 slot _0 157 slot _1 179 slot _2 221 slot _3 243 slot _4 285 slot _5 307 slot _6 339 slot _7 361 slot _8
|
D | test-index-signature-expected.txt | 3 slot _.Rectangle_-1 25 slot _.Square_-1 47 slot _.func_main_0_-1 169 slot _0 281 slot _1 323 slot _10 355 slot _11 397 slot _12 439 slot _13 451 slot _14 [all …]
|
D | test-function-with-this-expected.txt | 3 slot _.#13552676315192987081#dump_-1 25 slot _.Base_-1 47 slot _.Student_-1 69 slot _.dump_-1 111 slot _.func_main_0_-1 173 slot _0 255 slot _1 337 slot _2 439 slot _3 511 slot _4 [all …]
|
D | test-class-expected.txt | 3 slot _.Student_-1 25 slot _.func_main_0_-1 67 slot _0 109 slot _1 191 slot _2 213 slot _3 245 slot _4
|
D | test-type-alias-for-loop-1-expected.txt | 3 slot _.func_main_0_-1 25 slot _0 67 slot _1 89 slot _2 111 slot _3
|
D | test-class-generic-type-expected.txt | 3 slot _.C_-1 45 slot _.foo_-1 87 slot _.func_main_0_-1 149 slot _0 251 slot _1 413 slot _10 455 slot _2 527 slot _3 589 slot _4 611 slot _5 [all …]
|
D | test-type-alias-for-loop-3-expected.txt | 3 slot _.func_main_0_-1 25 slot _0 67 slot _1 109 slot _2 131 slot _3
|
D | test-type-alias-for-loop-2-expected.txt | 3 slot _.func_main_0_-1 25 slot _0 67 slot _1 109 slot _2 131 slot _3
|
D | test-class-1-expected.txt | 3 slot _.Student_-1 25 slot _.cur_-1 67 slot _.dump_-1 109 slot _.func_main_0_-1 131 slot _0 193 slot _1 315 slot _2 377 slot _3 399 slot _4 471 slot _5 [all …]
|
D | test-class-with-static-field-expected.txt | 3 slot _.Student_-1 25 slot _.func_main_0_-1 47 slot _0 89 slot _1 251 slot _2 273 slot _3 305 slot _4
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | reg_alloc_base.h | 99 for (size_t slot = 0; slot < GetStackMask().GetSize(); slot++) { in GetNextStackSlotImpl() local 100 if (GetStackMask().IsSet(slot)) { in GetNextStackSlotImpl() 104 ASSERT(slot < stack_use_last_positions_.size()); in GetNextStackSlotImpl() 105 if (stack_use_last_positions_[slot] > interval->GetBegin()) { in GetNextStackSlotImpl() 109 GetStackMask().Set(slot); in GetNextStackSlotImpl() 110 stack_use_last_positions_[slot] = interval->GetEnd(); in GetNextStackSlotImpl() 111 return slot; in GetNextStackSlotImpl()
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | bitset.cpp | 56 size_t slot = pos & shiftMask; in Set() local 59 data_[idx] |= 1U << slot; in Set() 61 data_[idx] &= ~(1U << slot); in Set() 69 size_t slot = pos & shiftMask; in Test() local 71 return (data_[idx] & (1U << slot)) != 0; in Test()
|
/arkcompiler/runtime_core/compiler/docs/ |
D | aot_resolve_string.md | 4 mode such runtime calls could be replaced with load from a special PLT-slot in AOT file. In that ca… 5 loads a value from a slot associated with a string and checks if that value is valid pointer. If it… 7 returned string pointer into the slot and subsequent executions of the same code will bypass runtim… 12 a PLT-slot check with `ResolveStringAot` runtime call as a fallback. 19 If the condition is met then the compiler reserves a unique PLT-slot (with type `STRING_SLOT`) for … 20 emits load from that slot, followed by the check that the loaded value is a valid pointer and the s… 28 saved into the associated PLT-slot; 34 - checks the value already stored in `STRING_SLOT` PLT-slot - after AOT-file loading all such slots… 35 …then each resolution attempt will increment value inside the slot until it either get replaced wit… 36 …aches `PANDA_32BITS_HEAP_START_ADDRESS - 1` (after that invocations will not increment slot value); [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_handle.h | 155 inline explicit JSHandle(uintptr_t slot) : address_(slot) in JSHandle() argument 158 ASSERT(slot != 0); in JSHandle() 159 T::Cast((*reinterpret_cast<JSTaggedValue *>(slot)).GetTaggedObject()); in JSHandle() 169 …inline explicit JSHandle(const JSTaggedType *slot) : address_(reinterpret_cast<uintptr_t>(slot)) {} in JSHandle() argument 170 inline explicit JSHandle(const T *const *slot) : address_(reinterpret_cast<uintptr_t>(slot)) {} in JSHandle() argument 207 inline explicit JSMutableHandle(uintptr_t slot) : JSHandle<T>(slot) in JSMutableHandle() argument
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | variable.cpp | 50 uint32_t slot = 0; in SetLexical() local 54 slot = patchFixHelper->GetSlotIdFromSymbolTable(std::string(name)); in SetLexical() 55 if (patchFixHelper->IsPatchVar(slot)) { in SetLexical() 59 slot = varScope->NextSlot(); in SetLexical() 62 BindLexEnvSlot(slot); in SetLexical() 64 varScope->AddLexicalVarNameAndType(slot, name, in SetLexical()
|