Home
last modified time | relevance | path

Searched refs:LayoutInfo (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
Dlayout_info-inl.h25 inline int LayoutInfo::GetPropertiesCapacity() const in GetPropertiesCapacity()
30 inline int LayoutInfo::NumberOfElements() const in NumberOfElements()
35 inline void LayoutInfo::SetNumberOfElements([[maybe_unused]] const JSThread *thread, int properties) in SetNumberOfElements()
40 inline uint32_t LayoutInfo::GetKeyIndex(int index) const in GetKeyIndex()
45 inline uint32_t LayoutInfo::GetAttrIndex(int index) const in GetAttrIndex()
50 inline void LayoutInfo::SetPropertyInit(const JSThread *thread, int index, const JSTaggedValue &key, in SetPropertyInit()
58 inline void LayoutInfo::SetNormalAttr(const JSThread *thread, int index, const PropertyAttributes &… in SetNormalAttr()
66 inline JSTaggedValue LayoutInfo::GetKey(int index) const in GetKey()
72 inline PropertyAttributes LayoutInfo::GetAttr(int index) const in GetAttr()
78 inline JSTaggedValue LayoutInfo::GetSortedKey(int index) const in GetSortedKey()
[all …]
Dlayout_info.cpp25 void LayoutInfo::Initialize(const JSThread *thread, int num) in Initialize()
35 void LayoutInfo::AddKey(const JSThread *thread, [[maybe_unused]] int index, const JSTaggedValue &ke… in AddKey()
58 void LayoutInfo::GetAllKeys(const JSThread *thread, int end, int offset, TaggedArray *keyArray, in GetAllKeys()
88 void LayoutInfo::GetAllKeysByFilter(const JSThread *thread, uint32_t numberOfProps, uint32_t &keyAr… in GetAllKeysByFilter()
130 void LayoutInfo::GetAllKeys(int end, std::vector<JSTaggedValue> &keyVector, const JSHandle<JSObject… in GetAllKeys()
144 void LayoutInfo::GetAllEnumKeys(const JSThread *thread, int end, int offset, TaggedArray *keyArray, in GetAllEnumKeys()
166 bool LayoutInfo::IsUninitializedProperty(const JSHandle<JSObject> object, uint32_t index) in IsUninitializedProperty()
177 void LayoutInfo::DumpFieldIndexForProfile(int index, PGOHClassLayoutDesc &desc, PGOObjKind kind) in DumpFieldIndexForProfile()
Djs_hclass-inl.h46 LayoutInfo *layoutInfo = LayoutInfo::Cast(cachedHClass->GetLayout().GetTaggedObject()); in AddTransitions()
78 LayoutInfo *layoutInfo = LayoutInfo::Cast(cachedHClass->GetLayout().GetTaggedObject()); in AddProtoTransitions()
102 LayoutInfo *layoutInfo = LayoutInfo::Cast(cachedHClass->GetLayout().GetTaggedObject()); in FindTransitions()
154 LayoutInfo *layoutInfo = LayoutInfo::Cast(GetLayout().GetTaggedObject()); in UpdatePropertyMetaData()
240 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in FindPropertyEntry()
Dsubtyping_operator-inl.h30 LayoutInfo *objLayout = LayoutInfo::Cast(obj->GetLayout().GetTaggedObject()); in GetElementByKey()
57 LayoutInfo *objLayout = LayoutInfo::Cast(obj->GetLayout().GetTaggedObject()); in IsLegalElement()
Dlayout_info.h29 class LayoutInfo : private TaggedArray {
36 inline static LayoutInfo *Cast(TaggedObject *obj) in Cast()
39 return reinterpret_cast<LayoutInfo *>(obj); in Cast()
Dvtable.cpp24 LayoutInfo *layoutInfo = LayoutInfo::Cast(phcPoint->GetLayout().GetTaggedObject()); in CreateTuple()
Djs_hclass.cpp229 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, newJsHClass->GetLayout()); in SetPropertyOfObjHClass()
266 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, newJsHClass->GetLayout()); in AddProperty()
309 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, attrs); in TransitionExtension()
339 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, layout); in TransitionProto()
402 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, layout); in ShouldUpdateProtoClass()
446 JSHandle<LayoutInfo> oldLayout(thread, newHClass->GetLayout()); in TransitionForRepChange()
448 JSHandle<LayoutInfo> newLayout(factory->CopyLayoutInfo(oldLayout)); in TransitionForRepChange()
738 … PropertyAttributes attr = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject())->GetAttr(entry); in LookupPropertyInAotHClass()
797 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in DumpForProfile()
Dobject_factory.h93 class LayoutInfo; variable
372 …JSHandle<LayoutInfo> CreateLayoutInfo(int properties, MemSpaceType type = MemSpaceType::SEMI_SPACE,
375 JSHandle<LayoutInfo> ExtendLayoutInfo(const JSHandle<LayoutInfo> &old, int properties);
377 JSHandle<LayoutInfo> CopyLayoutInfo(const JSHandle<LayoutInfo> &old);
379 JSHandle<LayoutInfo> CopyAndReSort(const JSHandle<LayoutInfo> &old, int end, int capacity);
Dobject_operator.cpp358 LayoutInfo *layoutInfo = LayoutInfo::Cast(attrs.GetTaggedObject()); in LookupPropertyInlinedProps()
524LayoutInfo *layoutInfo = LayoutInfo::Cast(receiver->GetJSHClass()->GetLayout().GetTaggedObject()); in UpdateDataValue()
809 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in AddPropertyInternal()
Dobject_fast_operator-inl.h72 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in GetPropertyByName()
141 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in SetPropertyByName()
205LayoutInfo *receiverLayoutInfo = LayoutInfo::Cast(receiverHClass->GetLayout().GetTaggedObject()); in SetPropertyByName()
Djs_object-inl.h228 auto layout = LayoutInfo::Cast(GetJSHClass()->GetLayout().GetTaggedObject()); in ConvertValueWithRep()
252 auto layout = LayoutInfo::Cast(GetJSHClass()->GetLayout().GetTaggedObject()); in SetPropertyInlinedPropsWithRep()
Dobject_factory.cpp562 auto layout = LayoutInfo::Cast(klass->GetLayout().GetTaggedObject()); in CloneObjectLiteral()
606 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in CloneClassCtor()
674 JSHandle<LayoutInfo> layoutInfoHandle = CreateLayoutInfo(1); in CreateJSRegExpInstanceClass()
698 JSHandle<LayoutInfo> layoutInfoHandle = CreateLayoutInfo(1); in CreateJSArrayInstanceClass()
726 …JSHandle<LayoutInfo> layoutInfoHandle = CreateLayoutInfo(JSArguments::LENGTH_OF_INLINE_PROPERTIES); in CreateJSArguments()
1455 … JSHandle<LayoutInfo> layoutInfoHandle = CreateLayoutInfo(JSFunction::LENGTH_OF_INLINE_PROPERTIES); in CreateFunctionClass()
1505 JSHandle<LayoutInfo> layout = CreateLayoutInfo(size, MemSpaceType::OLD_SPACE, GrowMode::KEEP); in CreateDefaultClassPrototypeHClass()
1525 JSHandle<LayoutInfo> layout = CreateLayoutInfo(size, MemSpaceType::OLD_SPACE, GrowMode::KEEP); in CreateDefaultClassConstructorHClass()
2425 JSHandle<LayoutInfo> ObjectFactory::CreateLayoutInfo(int properties, MemSpaceType type, GrowMode mo… in CreateLayoutInfo()
2428 …mode == GrowMode::GROW ? static_cast<int>(LayoutInfo::ComputeGrowCapacity(properties)) : propertie… in CreateLayoutInfo()
[all …]
Djs_object.cpp153 JSHandle<LayoutInfo> layoutInfoHandle(thread, jshclass->GetLayout()); in TransitionToDictionary()
227 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in IsArrayLengthWritable()
324 LayoutInfo::Cast(obj->GetJSHClass()->GetLayout().GetTaggedObject()) in GetAllKeys()
348 LayoutInfo::Cast(obj->GetJSHClass()->GetLayout().GetTaggedObject())-> in GetAllKeysByFilter()
372LayoutInfo::Cast(obj->GetJSHClass()->GetLayout().GetTaggedObject())->GetAllKeys(end, keyVector, ob… in GetAllKeys()
403 LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()) in GetAllEnumKeys()
427 LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()) in GetAllEnumKeys()
1858 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in ToPropertyDescriptorFast()
/arkcompiler/ets_runtime/ecmascript/tests/
Dlayout_info_test.cpp54 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0()
68 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0()
84 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0()
105 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0()
120 …JSHandle<LayoutInfo> newLayoutInfo = factory->ExtendLayoutInfo(layoutInfoHandle, newPropertiesLeng… in HWTEST_F_L0()
146 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0()
175 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dts_class_analysis.cpp107 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in AnalyzeProperties()
Dts_hclass_generator.cpp69 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in UpdateTSHClassFromPGO()
91 auto superLayout = LayoutInfo::Cast(superHClass->GetLayout().GetTaggedObject()); in UpdateTSHClassFromPGO()
183 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(numOfProps); in CreateIHClass()
250 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(keysLen); in CreatePHClass()
296 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(numOfProps); in CreateCHClass()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_env.cpp72 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in HandleObjectField()
/arkcompiler/ets_runtime/ecmascript/mem/
Dverification.cpp35 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VisitAllObjects()
Dparallel_evacuator-inl.h49 auto layout = LayoutInfo::Cast(dst); in VisitBodyInObj()
Dparallel_marker-inl.h39 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VisitBodyInObj()
150 auto layout = LayoutInfo::Cast(dst); in VisitBodyInObj()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_lazy_callback.cpp224 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in ITERATE_INTL()
Dbuiltins_ark_tools.cpp145 … PropertyAttributes attr = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject())->GetAttr(entry); in IsNotHoleProperty()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_stringifier.cpp733 LayoutInfo *layoutInfo = LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()); in SerializeKeys()
758 LayoutInfo *layoutInfo = LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()); in SerializeKeys()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp190 …JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(length, MemSpaceType::OLD_SPACE, GrowMode:… in CreatePrototypeHClass()
246 …JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(length, MemSpaceType::OLD_SPACE, GrowMode:… in CreateConstructorHClass()
303 JSHandle<LayoutInfo> layout(thread, constructorHClass->GetLayout()); in CorrectConstructorHClass()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type_parser.cpp862 …JSHandle<LayoutInfo> newLayout = factory->CopyLayoutInfo(JSHandle<LayoutInfo>(thread_, hclass->Get… in ParseObjectPGOType()
874 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VerifyObjIhcPGOType()

12