Home
last modified time | relevance | path

Searched refs:layout (Results 1 - 25 of 39) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dshared_builtins.cpp425 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); in CreateSObjectFunctionHClass() local
430 layout->AddKey(thread_, index++, keyString.GetTaggedValue(), attributes); in CreateSObjectFunctionHClass()
434 JSHandle<JSTaggedValue>(sFuncPrototype), JSHandle<JSTaggedValue>(layout)); in CreateSObjectFunctionHClass()
451 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); in CreateSObjectPrototypeHClass() local
456 layout->AddKey(thread_, index++, keyString.GetTaggedValue(), attributes); in CreateSObjectPrototypeHClass()
461 JSHandle<JSTaggedValue>(layout)); in CreateSObjectPrototypeHClass()
473 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); in CreateSFunctionHClass() local
478 layout->AddKey(thread_, index++, keyString.GetTaggedValue(), attributes); in CreateSFunctionHClass()
482 JSHandle<JSTaggedValue>(sFuncPrototype), JSHandle<JSTaggedValue>(layout)); in CreateSFunctionHClass()
498 JSHandle<LayoutInfo> layout in CreateSArrayBufferFunctionHClass() local
527 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSSetFunctionHClass() local
556 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSMapFunctionHClass() local
584 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSFunctionPrototypeHClass() local
613 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSArrayBufferPrototypeHClass() local
642 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSSetPrototypeHClass() local
673 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSMapPrototypeHClass() local
704 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSArrayPrototypeHClass() local
735 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSArrayFunctionHClass() local
909 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(1); InitializeArrayPrototypeHClass() local
1115 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSTypedArrayPrototypeHClass() local
1146 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSTypedArrayFunctionHClass() local
1174 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSSpecificTypedArrayFuncHClass() local
1197 JSHandle<LayoutInfo> layout = factory_->CreateSLayoutInfo(length); CreateSSpecificTypedArrayInstanceHClass() local
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Djs_hclass.cpp200 uint32_t inlinedProps, const JSHandle<JSTaggedValue> &layout) in Initialize()
204 SetLayout(thread, layout); in Initialize()
371 JSTaggedValue layout = newJsHClass->GetLayout(); in TransitionProto() local
373 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, layout); in TransitionProto()
534 JSTaggedValue layout = newProtoClass->GetLayout(); in OptimizePrototypeForIC() local
535 // If the type of object is JSObject, the layout info value is initialized to the default value, in OptimizePrototypeForIC()
536 // if the value is not JSObject, the layout info value is initialized to null. in OptimizePrototypeForIC()
537 if (!layout.IsNull()) { in OptimizePrototypeForIC()
538 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, layout); in OptimizePrototypeForIC()
590 // 2. If it is dictionary, migrate should change layout in OptimizeAsFastProperties()
199 Initialize(const JSThread *thread, uint32_t size, JSType type, uint32_t inlinedProps, const JSHandle<JSTaggedValue> &layout) Initialize() argument
786 auto layout = LayoutInfo::Cast(current->GetLayout().GetTaggedObject()); VisitAndUpdateLayout() local
814 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); ConvertOrTransitionWithRep() local
1274 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(maxNum, MemSpaceType::SEMI_SPACE, GrowMode::KEEP); CreateRootHClassFromPGO() local
1304 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(maxNum, MemSpaceType::SEMI_SPACE, GrowMode::KEEP); CreateRootHClassWithCached() local
1376 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); DumpRootHClassByPGO() local
1422 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); UpdateRootLayoutDescByPGO() local
1438 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); DumpToString() local
1564 auto layout = factory->CreateSLayoutInfo(length + parentLength); CreateSInlinedLayout() local
[all...]
H A Djs_hclass-inl.h347 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in FindPropertyEntry() local
349 int entry = layout->FindElementWithCache(thread, hclass, key, propsNumber); in FindPropertyEntry()
H A Djs_object-inl.h271 auto layout = LayoutInfo::Cast(GetJSHClass()->GetLayout().GetTaggedObject()); in SetPropertyInlinedPropsWithRep() local
272 auto attr = layout->GetAttr(index); in SetPropertyInlinedPropsWithRep()
H A Dobject_factory.cpp166 const JSHandle<JSTaggedValue> &prototype, const JSHandle<JSTaggedValue> &layout) in NewEcmaHClass()
172 newClass->Initialize(thread_, size, type, inlinedProps, layout); in NewEcmaHClass()
646 auto layout = LayoutInfo::Cast(klass->GetLayout().GetTaggedObject()); in CloneObjectLiteral() local
648 if (!layout->GetAttr(i).IsTaggedRep() || (!value.IsJSFunction() && !value.IsAccessorData())) { in CloneObjectLiteral()
758 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in CloneClassCtor() local
760 if (!layout->GetAttr(i).IsTaggedRep() || !value.IsJSFunction()) { in CloneClassCtor()
1862 // set hclass layout in CreateBoundFunctionClass()
1898 JSHandle<LayoutInfo> layout = CreateLayoutInfo(size, MemSpaceType::OLD_SPACE, GrowMode::KEEP); in CreateDefaultClassPrototypeHClass() local
1904 layout->AddKey(thread_, ClassInfoExtractor::CONSTRUCTOR_INDEX, in CreateDefaultClassPrototypeHClass()
1908 defaultHclass->SetLayout(thread_, layout); in CreateDefaultClassPrototypeHClass()
165 NewEcmaHClass(uint32_t size, uint32_t inlinedProps, JSType type, const JSHandle<JSTaggedValue> &prototype, const JSHandle<JSTaggedValue> &layout) NewEcmaHClass() argument
1918 JSHandle<LayoutInfo> layout = CreateLayoutInfo(size, MemSpaceType::OLD_SPACE, GrowMode::KEEP); CreateDefaultClassConstructorHClass() local
5088 LayoutInfo *layout = LayoutInfo::Cast(layoutHandle.GetTaggedValue().GetTaggedObject()); CreateLargeJSObjectWithProperties() local
5191 LayoutInfo *layout = LayoutInfo::Cast(layoutHandle.GetTaggedValue().GetTaggedObject()); CreateLargeJSObjectWithNamedProperties() local
[all...]
H A Djs_object.cpp781 LayoutInfo *layout = LayoutInfo::Cast(GetJSHClass()->GetLayout().GetTaggedObject()); in GetNumberOfEnumKeys() local
782 return layout->GetNumOfEnumKeys(end, this); in GetNumberOfEnumKeys()
2797 auto layout = LayoutInfo::Cast(ihc->GetLayout().GetTaggedObject()); in CreateObjectFromPropertiesByIHClass() local
2799 auto attr = layout->GetAttr(i); in CreateObjectFromPropertiesByIHClass()
2810 auto layout = LayoutInfo::Cast(ihc->GetLayout().GetTaggedObject()); in CheckPropertiesForRep() local
2812 auto attr = layout->GetAttr(i); in CheckPropertiesForRep()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dclass_info_extractor.cpp208 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(length, MemSpaceType::OLD_SPACE, GrowMode::KEEP); in CreatePrototypeHClass() local
221 layout->AddKey(thread, index, key.GetTaggedValue(), attributes); in CreatePrototypeHClass()
226 hclass->SetLayout(thread, layout); in CreatePrototypeHClass()
258 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(length, MemSpaceType::OLD_SPACE, GrowMode::KEEP); in CreateConstructorHClass() local
290 layout->AddKey(thread, index, key.GetTaggedValue(), attributes); in CreateConstructorHClass()
295 hclass->SetLayout(thread, layout); in CreateConstructorHClass()
317 JSHandle<LayoutInfo> layout(thread, constructorHClass->GetLayout()); in CorrectConstructorHClass()
321 PropertyAttributes attr = layout->GetAttr(index); in CorrectConstructorHClass()
323 layout->SetNormalAttr(thread, index, attr); in CorrectConstructorHClass()
326 PropertyAttributes attr = layout in CorrectConstructorHClass()
350 JSHandle<LayoutInfo> layout = factory->CreateSLayoutInfo(length + extraLength); CreateSendableHClass() local
760 auto layout = JSHandle<LayoutInfo>(thread, constructorHClass->GetLayout()); DefineSendableClassFromExtractor() local
947 AddFieldTypeToHClass(JSThread *thread, const JSHandle<TaggedArray> &fieldTypeArray, uint32_t length, const JSHandle<LayoutInfo> &layout, const JSHandle<JSHClass> &hclass, size_t start, const JSHandle<NumberDictionary> &elementsDic, std::vector<JSHandle<JSTaggedValue>> &&propertyList) AddFieldTypeToHClass() argument
1028 JSHandle<LayoutInfo> layout = factory->CreateSLayoutInfo(fieldNum); DefineSendableInstanceHClass() local
1051 JSHandle<LayoutInfo> layout = factory->CopyAndReSortSLayoutInfo(baseLayout, baseLength, newLength); DefineSendableInstanceHClass() local
[all...]
H A Dclass_info_extractor.h178 uint32_t length, const JSHandle<LayoutInfo> &layout, const JSHandle<JSHClass> &hclass,
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler_layout.cpp95 HClassLayoutDesc *layout; in GetOrInsertHClassLayoutDesc() local
97 layout = new RootHClassLayoutDesc(type); in GetOrInsertHClassLayoutDesc()
99 layout = new ChildHClassLayoutDesc(type); in GetOrInsertHClassLayoutDesc()
101 transitionLayout_.emplace(type, layout); in GetOrInsertHClassLayoutDesc()
102 return layout; in GetOrInsertHClassLayoutDesc()
/arkcompiler/runtime_core/static_core/libllvmbackend/
H A Dllvm_irtoc_compiler.cpp174 auto layout = targetMachine_->createDataLayout(); in InitializeModule() local
177 module_->setDataLayout(layout); in InitializeModule()
197 module_->setDataLayout(layout); in InitializeModule()
H A Dllvm_aot_compiler.cpp131 ark::CFrameLayout layout {arch, SPILLS}; in GetFrameSlotSize()
132 return layout.GetSlotSize(); in GetFrameSlotSize()
455 auto layout = targetMachine->createDataLayout(); in CreateModule() local
456 module->setDataLayout(layout); in CreateModule()
/arkcompiler/runtime_core/static_core/static_linker/
H A Dlinker.h34 uint64_t layout {};
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
H A Dwalker.py103 async def layout(self, skip_scopes: Sequence[str] = ("global")) -> RenderableType: member in BreakpointWalker
114 LOG.info(msg, *args, **kwargs, rich=await self.layout(skip_scopes))
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dparallel_marker-inl.h36 auto layout = LayoutInfo::UncheckCast(hclass->GetLayout().GetTaggedObject()); in VisitBodyInObj() local
38 realEnd += layout->GetPropertiesCapacity(); in VisitBodyInObj()
41 auto attr = layout->GetAttr(index++); in VisitBodyInObj()
194 auto layout = LayoutInfo::UncheckCast(dst); in VisitBodyInObj() local
196 realEnd += layout->GetPropertiesCapacity(); in VisitBodyInObj()
199 auto attr = layout->GetAttr(index++); in VisitBodyInObj()
H A Dverification.cpp101 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VisitAllObjects()
102 auto attr = layout->GetAttr(index++); in VisitAllObjects()
597 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VerifyMark()
598 auto attr = layout->GetAttr(index++); in VerifyMark()
648 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VerifyMark()
649 auto attr = layout->GetAttr(index++); in VerifyMark()
709 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VerifySweep()
710 auto attr = layout->GetAttr(index++); in VerifySweep()
761 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VerifySweep()
762 auto attr = layout in VerifySweep()
[all...]
H A Dparallel_evacuator-inl.h63 auto layout = LayoutInfo::UncheckCast(dst); in VisitBodyInObj() local
65 realEnd += layout->GetPropertiesCapacity(); in VisitBodyInObj()
68 auto attr = layout->GetAttr(index++); in VisitBodyInObj()
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
H A Dshared_gc_marker-inl.h109 auto layout = LayoutInfo::UncheckCast(hclass->GetLayout().GetTaggedObject()); in VisitBodyInObj() local
111 realEnd += layout->GetPropertiesCapacity(); in VisitBodyInObj()
114 auto attr = layout->GetAttr(index++); in VisitBodyInObj()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_object_stub_builder.cpp360 GateRef layout = GetLayoutFromHClass(cls); in LayoutInfoAssignAllEnumProperty() local
373 GateRef key = GetKeyFromLayoutInfo(layout, *idx); in LayoutInfoAssignAllEnumProperty()
374 GateRef attr = GetPropAttrFromLayoutInfo(layout, *idx); in LayoutInfoAssignAllEnumProperty()
1038 GateRef layout = GetLayoutFromHClass(hclass); in GetAllEnumKeys() local
1039 GateRef numOfKeys = GetNumKeysFromLayoutInfo(obj, num, layout); in GetAllEnumKeys()
1060 LayoutInfoGetAllEnumKeys(num, Int32(EnumCache::ENUM_CACHE_HEADER_SIZE), keyArray, obj, layout); in GetAllEnumKeys()
1809 GateRef layout = GetLayoutFromHClass(hclass); in GetAllPropertyKeys() local
1820 GateRef key = GetKey(layout, *i); in GetAllPropertyKeys()
1824 BRANCH(IsUninitializedProperty(obj, *i, layout), &checkSymbol, &setValue); in GetAllPropertyKeys()
2000 GateRef layout in GetEnumPropertyEntries() local
2146 GateRef layout = GetLayoutFromHClass(cls); TestIntegrityLevel() local
2253 GateRef layout = GetLayoutFromHClass(hclass); GetOwnPropertyDescriptors() local
[all...]
/arkcompiler/ets_runtime/ecmascript/serializer/
H A Dbase_serializer.cpp341 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in SerializeInObjField() local
344 auto attr = layout->GetAttr(index++); in SerializeInObjField()
/arkcompiler/ets_runtime/ecmascript/base/
H A Djson_parser.cpp336 JSHandle<LayoutInfo> layout; in CreateSJsonObject() local
339 layout = factory_->CreateSLayoutInfo(fieldNum); in CreateSJsonObject()
341 JSHandle<JSTaggedValue>(jsonPrototype), JSHandle<JSTaggedValue>(layout)); in CreateSJsonObject()
345 layout = factory_->CreateSLayoutInfo(fieldNum); in CreateSJsonObject()
358 JSHandle<JSTaggedValue>(jsonPrototype), JSHandle<JSTaggedValue>(layout)); in CreateSJsonObject()
361 SendableClassDefiner::AddFieldTypeToHClass(thread_, propertyArray, size, layout, hclass, start, in CreateSJsonObject()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
H A Dsnapshot_constantpool_data.cpp173 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in CheckAOTPropertiesForRep() local
175 auto attr = layout->GetAttr(i); in CheckAOTPropertiesForRep()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Demit.h206 void EmitFuncLayoutInfo(const MIRSymbol &layout);
H A Dcgfunc.h643 void SetMemlayout(MemLayout &layout) in SetMemlayout() argument
645 memLayout = &layout; in SetMemlayout()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dstub_builder-inl.h2471 inline GateRef StubBuilder::GetPropAttrFromLayoutInfo(GateRef layout, GateRef entry) in GetPropAttrFromLayoutInfo() argument
2475 return GetInt64OfTInt(GetValueFromTaggedArray(layout, index)); in GetPropAttrFromLayoutInfo()
2530 inline GateRef StubBuilder::GetKeyFromLayoutInfo(GateRef layout, GateRef entry) in GetKeyFromLayoutInfo() argument
2533 return GetValueFromTaggedArray(layout, index); in GetKeyFromLayoutInfo()
2536 inline GateRef StubBuilder::GetPropertiesAddrFromLayoutInfo(GateRef layout) in GetPropertiesAddrFromLayoutInfo() argument
2538 return PtrAdd(layout, IntPtr(TaggedArray::DATA_OFFSET)); in GetPropertiesAddrFromLayoutInfo()
H A Dstub_builder.h609 GateRef GetPropAttrFromLayoutInfo(GateRef layout, GateRef entry);
611 GateRef GetPropertiesAddrFromLayoutInfo(GateRef layout);
614 GateRef GetKeyFromLayoutInfo(GateRef layout, GateRef entry);

Completed in 50 milliseconds

12