Home
last modified time | relevance | path

Searched full:slot (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/arkcompiler/ets_runtime/ecmascript/mem/
Dverification.cpp22 …ogErrorForObjSlot(const BaseHeap *heap, const char *headerInfo, TaggedObject *obj, ObjectSlot slot, in LogErrorForObjSlot() argument
25 TaggedObject *slotValue = slot.GetTaggedObject(); in LogErrorForObjSlot()
35 << ", slot address=" << reinterpret_cast<void*>(slot.SlotAddress()) in LogErrorForObjSlot()
36 << ", slot value=" << slotValue in LogErrorForObjSlot()
37 << ", slot value region=" << slotRegion in LogErrorForObjSlot()
38 << ", slot value space type=" << slotRegion->GetSpaceTypeName() in LogErrorForObjSlot()
39 … << ", slot value type=" << JSHClass::DumpJSType(slotValue->GetClass()->GetObjectType()) in LogErrorForObjSlot()
45 << ", obj slot oldToNew bit=" << region->TestOldToNew(slot.SlotAddress()) in LogErrorForObjSlot()
46 << ", obj slot newToEden bit=" << region->TestNewToEden(slot.SlotAddress()) in LogErrorForObjSlot()
47 << ", obj slot value mark bit=" << slotRegion->Test(slotValue) in LogErrorForObjSlot()
[all …]
Dparallel_evacuator-inl.h67 for (ObjectSlot slot = start; slot < end; slot++) { in VisitBodyInObj() local
70 callback(slot); in VisitBodyInObj()
76 bool ParallelEvacuator::UpdateNewToEdenObjectSlot(ObjectSlot &slot) in UpdateNewToEdenObjectSlot() argument
78 JSTaggedValue value(slot.GetTaggedType()); in UpdateNewToEdenObjectSlot()
95 slot.Update(dst); in UpdateNewToEdenObjectSlot()
98 slot.Clear(); in UpdateNewToEdenObjectSlot()
104 bool ParallelEvacuator::UpdateForwardedOldToNewObjectSlot(TaggedObject *object, ObjectSlot &slot, b… in UpdateForwardedOldToNewObjectSlot() argument
112 slot.Update(dst); in UpdateForwardedOldToNewObjectSlot()
119 slot.Clear(); in UpdateForwardedOldToNewObjectSlot()
125 bool ParallelEvacuator::UpdateOldToNewObjectSlot(ObjectSlot &slot) in UpdateOldToNewObjectSlot() argument
[all …]
Dparallel_marker-inl.h40 for (ObjectSlot slot = start; slot < end; slot++) { in VisitBodyInObj() local
43 callback(slot, rootRegion, needBarrier); in VisitBodyInObj()
49 inline void NonMovableMarker::MarkValue(uint32_t threadId, ObjectSlot &slot, Region *rootRegion, bo… in MarkValue() argument
51 JSTaggedValue value(slot.GetTaggedType()); in MarkValue()
65 … RecordWeakReference(threadId, reinterpret_cast<JSTaggedType *>(slot.SlotAddress()), rootRegion); in MarkValue()
71 rootRegion->AtomicInsertCrossRegionRSet(slot.SlotAddress()); in MarkValue()
103 … void NonMovableMarker::HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) in HandleRoots() argument
105 JSTaggedValue value(slot.GetTaggedType()); in HandleRoots()
114 for (ObjectSlot slot = start; slot < end; slot++) { in HandleRangeRoots() local
115 JSTaggedValue value(slot.GetTaggedType()); in HandleRangeRoots()
[all …]
Dverification.h73 void VerifyObjectSlotLegal(ObjectSlot slot, TaggedObject *obj) const;
74 void VerifyHeapObjectSlotLegal(ObjectSlot slot, JSTaggedValue value, TaggedObject *obj) const;
75 void VerifyMarkEden(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
76 void VerifyEvacuateEden(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
77 void VerifyMarkYoung(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
78 void VerifyEvacuateYoung(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
79 void VerifyMarkFull(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
80 void VerifyEvacuateOld(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
81 void VerifyEvacuateFull(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
82 void VerifySharedRSetPostFullGC(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
[all …]
Dparallel_marker.h72 [[maybe_unused]] ObjectSlot slot) // move in MarkObject() argument
80 …virtual inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) = …
108 … inline void MarkValue(uint32_t threadId, ObjectSlot &slot, Region *rootRegion, bool needBarrier);
110 … inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) override;
130 … inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) override;
136 ObjectSlot slot) = 0;
143 uintptr_t toAddress, size_t size, ObjectSlot slot,
145 …ateForwardAddressIfFailed(TaggedObject *object, uintptr_t toAddress, size_t size, ObjectSlot slot);
149 inline void SetLocalToShareRSet(ObjectSlot slot, Region *region);
161 inline void MarkValue(uint32_t threadId, TaggedObject *root, ObjectSlot slot);
[all …]
Dparallel_marker.cpp27 [this, threadId](Root type, ObjectSlot slot) {this->HandleRoots(threadId, type, slot);}, in MarkRoots() argument
131 for (ObjectSlot slot = start; slot < end; slot++) { in ProcessMarkStack() local
132 MarkValue(threadId, slot, rootRegion, needBarrier); in ProcessMarkStack()
175 for (ObjectSlot slot = start; slot < end; slot++) { in ProcessIncrementalMarkStack() local
176 MarkValue(threadId, slot, rootRegion, needBarrier); in ProcessIncrementalMarkStack()
217 for (ObjectSlot slot = start; slot < end; slot++) { in ProcessMarkStack() local
218 MarkValue(threadId, root, slot); in ProcessMarkStack()
238 for (ObjectSlot slot = start; slot < end; slot++) { in ProcessMarkStack() local
239 MarkValue(threadId, slot); in ProcessMarkStack()
/arkcompiler/ets_runtime/ecmascript/serializer/
Dbase_serializer.cpp133 ObjectSlot slot = start; in SerializeHClassFieldIndividually() local
134 while (slot < end) { in SerializeHClassFieldIndividually()
135 size_t fieldOffset = slot.SlotAddress() - ToUintPtr(root); in SerializeHClassFieldIndividually()
143 SerializeJSTaggedValue(JSTaggedValue(slot.GetTaggedType())); in SerializeHClassFieldIndividually()
147 slot++; in SerializeHClassFieldIndividually()
154 slot++; in SerializeHClassFieldIndividually()
162 slot++; in SerializeHClassFieldIndividually()
166 SerializeJSTaggedValue(JSTaggedValue(slot.GetTaggedType())); in SerializeHClassFieldIndividually()
167 slot++; in SerializeHClassFieldIndividually()
178 ObjectSlot slot = start; in SerializeSFunctionFieldIndividually() local
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
Dshared_gc_marker-inl.h28 …redGCMarker::MarkObject(uint32_t threadId, TaggedObject *object, [[maybe_unused]] ObjectSlot &slot) in MarkObject() argument
47 inline void SharedGCMarker::MarkValue(uint32_t threadId, ObjectSlot &slot) in MarkValue() argument
49 JSTaggedValue value(slot.GetTaggedType()); in MarkValue()
52 MarkObject(threadId, value.GetTaggedObject(), slot); in MarkValue()
54 RecordWeakReference(threadId, reinterpret_cast<JSTaggedType *>(slot.SlotAddress())); in MarkValue()
59 …oid SharedGCMarkerBase::HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) in HandleRoots() argument
61 JSTaggedValue value(slot.GetTaggedType()); in HandleRoots()
63 MarkObject(threadId, value.GetTaggedObject(), slot); in HandleRoots()
67 …haredGCMarkerBase::HandleLocalRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) in HandleLocalRoots() argument
69 JSTaggedValue value(slot.GetTaggedType()); in HandleLocalRoots()
[all …]
Dshared_gc_marker.cpp55 … [this, threadId](Root type, ObjectSlot slot) {this->HandleLocalRoots(threadId, type, slot);}, in MarkLocalVMRoots() argument
78 …uto callback = [this, threadId](Root type, ObjectSlot slot) {this->HandleRoots(threadId, type, slo… in MarkSerializeRoots() argument
94 …auto visitor = [this, threadId](Root type, ObjectSlot slot) {this->HandleRoots(threadId, type, slo… in MarkSharedModule() argument
115 auto cb = [&](ObjectSlot slot) { in ProcessMarkStack() argument
116 MarkValue(threadId, slot); in ProcessMarkStack()
125 for (ObjectSlot slot = start; slot < end; slot++) { in ProcessMarkStack() local
126 MarkValue(threadId, slot); in ProcessMarkStack()
163 auto cb = [&](ObjectSlot slot) { in ProcessMarkStack() argument
164 MarkValue(threadId, slot); in ProcessMarkStack()
173 for (ObjectSlot slot = start; slot < end; slot++) { in ProcessMarkStack() local
[all …]
Dshared_gc_marker.h55 inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot);
56 inline void HandleLocalRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot);
68 …irtual inline void MarkValue([[maybe_unused]] uint32_t threadId, [[maybe_unused]] ObjectSlot &slot) in MarkValue() argument
74 [[maybe_unused]] ObjectSlot &slot) in MarkObject() argument
115 inline void MarkValue(uint32_t threadId, ObjectSlot &slot) override;
116 inline void MarkObject(uint32_t threadId, TaggedObject *object, ObjectSlot &slot) override;
131 inline void MarkValue(uint32_t threadId, ObjectSlot &slot) override;
132 inline void MarkObject(uint32_t threadId, TaggedObject *object, ObjectSlot &slot) override;
134 …EvacuateObject(uint32_t threadId, TaggedObject *object, const MarkWord &markWord, ObjectSlot slot);
138 ObjectSlot slot);
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Daot_resolve_string.md4 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/runtime_core/compiler/docs/
Daot_resolve_string.md4 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_frontend/es2panda/test/type_extractor/dts-testcases/
Dtest-interface-type-test-1-expected.txt3 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 …]
Dtest-type-summary-order-1-expected.txt3 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/runtime_core/static_core/compiler/optimizer/ir/
Daot_data.cpp43 // Increment/decrement offset to specified slot in GetEntrypointOffset()
61 auto slot = gotPlt_->find({pfile_, methodId}); in GetPltSlotId() local
62 if (slot != gotPlt_->end()) { in GetPltSlotId()
63 slotId = slot->second; in GetPltSlotId()
74 auto slot = gotVirtIndexes_->find({pfile_, methodId}); in GetVirtIndexSlotOffset() local
75 if (slot != gotVirtIndexes_->end()) { in GetVirtIndexSlotOffset()
76 slotId = slot->second; in GetVirtIndexSlotOffset()
99 auto slot = gotClass_->find({pfile_, klassId}); in GetClassSlotId() local
100 if (slot != gotClass_->end()) { in GetClassSlotId()
101 slotId = slot->second; in GetClassSlotId()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
Dreg_alloc_verifier.h30 (GP register, FP register, stack slot or immediate table slot for spilled constants).
192 const LocationState &GetStack(StackSlot slot) const in GetStack() argument
194 ASSERT(slot < stack_.size()); in GetStack()
195 return stack_[slot]; in GetStack()
197 LocationState &GetStack(StackSlot slot) in GetStack() argument
199 ASSERT(slot < stack_.size()); in GetStack()
200 return stack_[slot]; in GetStack()
202 const LocationState &GetStackArg(StackSlot slot) const in GetStackArg() argument
204 ASSERT(slot < stackArg_.size()); in GetStackArg()
205 return stackArg_[slot]; in GetStackArg()
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/
Dbytecode_analysis_results.cpp29 uint32_t slot = iter.first; in SetModuleConstantAnalysisResult() local
30 if (slot < local_export_slot_external_names_.size()) { in SetModuleConstantAnalysisResult()
31 const auto &external_names = local_export_slot_external_names_[slot]; in SetModuleConstantAnalysisResult()
44 void BytecodeAnalysisResult::SetLocalExportInfo(uint32_t slot, const std::string &external_name) in SetLocalExportInfo() argument
46 if (slot == local_export_slot_external_names_.size()) { in SetLocalExportInfo()
50 ASSERT(slot < local_export_slot_external_names_.size()); in SetLocalExportInfo()
51 local_export_slot_external_names_[slot].push_back(external_name); in SetLocalExportInfo()
55 void BytecodeAnalysisResult::SetRegularImportInfo(uint32_t slot, in SetRegularImportInfo() argument
59 [[maybe_unused]] auto iter = regular_import_slot_infos_.find(slot); in SetRegularImportInfo()
62 regular_import_slot_infos_.emplace(slot, info); in SetRegularImportInfo()
[all …]
/arkcompiler/runtime_core/static_core/runtime/
Dcframe.cpp34 case VRegInfo::Location::SLOT: in GetVRegValue()
165 case VRegInfo::Location::SLOT: { in SetVRegValue()
233 size_t slot = 0; in Dump() local
234 DumpCalleeRegs(os, printMem, &dscr, &slot); in Dump()
235 DumpCalleeFPRegs(os, printMem, &dscr, &slot); in Dump()
236 DumpCallerRegs(os, printMem, &dscr, &slot); in Dump()
237 DumpCallerFPRegs(os, printMem, &dscr, &slot); in Dump()
238 DumpLocals(os, printMem, &dscr, &slot, maxSlot); in Dump()
244 void CFrame::DumpCalleeRegs(std::ostream &os, MemPrinter printMem, PandaString *dscr, size_t *slot) in DumpCalleeRegs() argument
248 i >= ark::helpers::ToSigned(GetFirstCalleeReg(ARCH, false)); i--, (*slot)++) { in DumpCalleeRegs()
[all …]
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddropframe_manager.cpp52 uint16_t slot = 0; in ReadStlexvarParams() local
56 slot = READ_INST_4_1(); in ReadStlexvarParams()
60 slot = READ_INST_8_1(); in ReadStlexvarParams()
64 slot = READ_INST_16_3(); in ReadStlexvarParams()
69 return std::make_pair(level, slot); in ReadStlexvarParams()
110 uint16_t slot; in AddLexPropertiesToRecord() local
111 std::tie(level, slot) = lexVarPos; in AddLexPropertiesToRecord()
115slot < LexicalEnv::Cast(env.GetTaggedObject())->GetLength() - LexicalEnv::RESERVED_ENV_LENGTH && in AddLexPropertiesToRecord()
116 !modifiedLexVarPos.count({i, slot})) { in AddLexPropertiesToRecord()
117 JSTaggedValue value = LexicalEnv::Cast(env.GetTaggedObject())->GetProperties(slot); in AddLexPropertiesToRecord()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_base.h99 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/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_base.h101 for (size_t slot = 0; slot < size; slot++) { in GetNextStackSlotImpl() local
102 if (GetStackMask().IsSet(slot)) { in GetNextStackSlotImpl()
106 ASSERT(slot < stackUseLastPositions_.size()); in GetNextStackSlotImpl()
107 if (stackUseLastPositions_[slot] > interval->GetBegin()) { in GetNextStackSlotImpl()
111 GetStackMask().Set(slot); in GetNextStackSlotImpl()
112 stackUseLastPositions_[slot] = interval->GetEnd(); in GetNextStackSlotImpl()
113 return slot; in GetNextStackSlotImpl()
/arkcompiler/ets_frontend/es2panda/binder/
Dvariable.cpp53 uint32_t slot = 0; in SetLexical() local
57 // get slot from symbol table for lexical variable, if not found, slot is set to UINT32_MAX in SetLexical()
58 slot = patchFixHelper->GetSlotIdFromSymbolTable(std::string(name)); in SetLexical()
60 if (patchFixHelper->IsAdditionalVarInPatch(slot)) { in SetLexical()
69 slot = varScope->NextSendableSlot(); in SetLexical()
71 slot = varScope->NextSlot(); in SetLexical()
75 BindLexEnvSlot(slot); in SetLexical()
77 varScope->AddLexicalVarNameAndType(slot, name, in SetLexical()
/arkcompiler/ets_runtime/ecmascript/
Djs_promise.cpp37 // 3. Set the [[Promise]] internal slot of resolve to promise. in CreateResolvingFunctions()
39 // 4. Set the [[AlreadyResolved]] internal slot of resolve to alreadyResolved. in CreateResolvingFunctions()
44 // 6. Set the [[Promise]] internal slot of reject to promise. in CreateResolvingFunctions()
46 // 7. Set the [[AlreadyResolved]] internal slot of reject to alreadyResolved. in CreateResolvingFunctions()
59 // 1. Assert: the value of promise's [[PromiseState]] internal slot is "pending". in FulfillPromise()
61 // 2. Let reactions be the value of promise's [[PromiseFulfillReactions]] internal slot. in FulfillPromise()
63 // 3. Set the value of promise's [[PromiseResult]] internal slot to value. in FulfillPromise()
65 // 4. Set the value of promise's [[PromiseFulfillReactions]] internal slot to undefined. in FulfillPromise()
67 // 5. Set the value of promise's [[PromiseRejectReactions]] internal slot to undefined. in FulfillPromise()
69 // 6. Set the value of promise's [[PromiseState]] internal slot to "fulfilled". in FulfillPromise()
[all …]
/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases/
Dtest-namespace-enum-transformed-function-expected.txt3 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
/arkcompiler/runtime_core/static_core/irtoc/scripts/
Dresolvers.irt54 slot := LiveIn(:tmp0)
57 method_id := LoadI(slot).Imm("-WordSize()").ptr
67 StoreI(slot, vtable_index).Imm(0).u32
84 slot := LiveIn(:tmp0)
86 class_id := LoadI(slot).Imm("-2 * WordSize()").ptr
91 StoreI(slot, klass).Imm(0).ptr
93 StoreI(slot, klass).Imm("-WordSize()").ptr
110 slot := LiveIn(:tmp0)
112 class_id := LoadI(slot).Imm("-WordSize()").ptr
117 StoreI(slot, klass).Imm("WordSize()").ptr
[all …]

12345678910>>...18