Home
last modified time | relevance | path

Searched defs:hclass (Results 1 – 25 of 205) sorted by relevance

123456789

/arkcompiler/ets_runtime/ecmascript/mem/
Dtagged_object-inl.h28 inline void TaggedObject::SetClassWithoutBarrier(JSHClass *hclass) in SetClassWithoutBarrier()
33 inline void TaggedObject::SetClass(const JSThread *thread, JSHClass *hclass) in SetClass()
38 inline void TaggedObject::SetClass(const JSThread *thread, JSHandle<JSHClass> hclass) in SetClass()
43 inline void TaggedObject::SynchronizedSetClass(const JSThread *thread, JSHClass *hclass) in SynchronizedSetClass()
Dheap-inl.h202 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass) in AllocateYoungOrHugeObject()
242 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass, size_t size) in AllocateYoungOrHugeObject()
253 void BaseHeap::SetHClassAndDoAllocateEvent(JSThread *thread, TaggedObject *object, JSHClass *hclass, in SetHClassAndDoAllocateEvent()
292 TaggedObject *Heap::TryAllocateYoungGeneration(JSHClass *hclass, size_t size) in TryAllocateYoungGeneration()
308 TaggedObject *Heap::AllocateOldOrHugeObject(JSHClass *hclass) in AllocateOldOrHugeObject()
321 TaggedObject *Heap::AllocateOldOrHugeObject(JSHClass *hclass, size_t size) in AllocateOldOrHugeObject()
338 TaggedObject *Heap::AllocateReadOnlyOrHugeObject(JSHClass *hclass) in AllocateReadOnlyOrHugeObject()
348 TaggedObject *Heap::AllocateReadOnlyOrHugeObject(JSHClass *hclass, size_t size) in AllocateReadOnlyOrHugeObject()
366 TaggedObject *Heap::AllocateNonMovableOrHugeObject(JSHClass *hclass) in AllocateNonMovableOrHugeObject()
379 TaggedObject *Heap::AllocateNonMovableOrHugeObject(JSHClass *hclass, size_t size) in AllocateNonMovableOrHugeObject()
[all …]
Dlayout_visitor.h30 auto hclass = root->SynchronizedGetClass(); in IterateBody() local
/arkcompiler/ets_runtime/ecmascript/base/
Dfast_json_stringifier.h111 inline int32_t FindCache(JSHClass *hclass, size_t numOfKeys) in FindCache()
130 … inline void SetCache(JSHClass *hclass, size_t numOfKeys, CVector<std::pair<CString, int>> &value) in SetCache()
144 inline size_t GetHash(JSHClass *hclass, size_t numOfKeys) in GetHash()
/arkcompiler/ets_runtime/ecmascript/jit/
Djit_profiler.cpp361 JSHClass* hclass = nullptr; in ConvertNewObjRange() local
425 auto hclass = JSHClass::Cast(trackInfo->GetCachedHClass().GetTaggedObject()); in ConvertCreateObject() local
451 JSHClass *hclass = JSHClass::Cast(object); in ConvertICByName() local
460 JSHClass *hclass, in ConvertICByNameWithHandler()
472 JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) in HandleLoadType()
482 JSHClass *hclass, JSTaggedValue &secondValue) in HandleLoadTypeInt()
497JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) in HandleLoadTypePrototypeHandler()
535 JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) in HandleOtherTypes()
553 JSHClass *hclass, JSTaggedValue &secondValue) in HandleTransitionHandler()
564 JSHClass *hclass, JSTaggedValue &secondValue) in HandleTransWithProtoHandler()
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/rawheap_translate/
Dmetadata_parse.cpp29 uint32_t Meta::GetNativateSize(char *obj, char *hclass) in GetNativateSize()
38 std::string Meta::GetTypeNameFromHClass(char *hclass) in GetTypeNameFromHClass()
57 bool Meta::IsString(char *hclass) in IsString()
68 bool Meta::IsDictionaryMode(char *hclass) in IsDictionaryMode()
73 bool Meta::IsJSObject(char *hclass) in IsJSObject()
84 bool Meta::IsGlobalEnv(char *hclass) in IsGlobalEnv()
89 NodeType Meta::GetNodeTypeFromHClass(char *hclass) in GetNodeTypeFromHClass()
146 JSType Meta::GetObjTypeFromHClass(char *hclass) in GetObjTypeFromHClass()
/arkcompiler/ets_runtime/ecmascript/
Djs_hclass.cpp473 const JSHandle<JSHClass> &hclass, in SetPrototypeWithNotification()
491 JSHandle<JSHClass> hclass(thread, object->GetJSHClass()); in SetPrototypeTransition() local
510 JSHandle<JSHClass> hclass(thread, proto->GetTaggedObject()->GetClass()); in OptimizePrototypeForIC() local
644 auto hclass = JSHClass::Cast(newHClass.GetTaggedValue().GetTaggedObject()); in TransitionForRepChange() local
668 JSHClass *hclass = JSHClass::Cast(hclassVal.GetTaggedObject()); in IsInitialArrayHClassWithElementsKind() local
690 JSHClass *hclass = JSHClass::Cast(hclassVal.GetTaggedObject()); in TransitToElementsKindUncheck() local
750 void JSHClass::UpdateFieldType(JSHClass *hclass, const PropertyAttributes &attr) in UpdateFieldType()
757 JSHClass *JSHClass::FindFieldOwnHClass(JSHClass *hclass, const PropertyAttributes &attr) in FindFieldOwnHClass()
810 auto hclass = receiver->GetJSHClass(); in ConvertOrTransitionWithRep() local
936 void JSHClass::NotifyAccessorChanged(const JSThread *thread, JSHandle<JSHClass> hclass) in NotifyAccessorChanged()
[all …]
Djs_hclass-inl.h31 const JSHandle<JSHClass> hclass) in ProtoIsFastJSArray()
181 inline JSHClass *JSHClass::CheckHClassForRep(JSHClass *hclass, const Representation &rep) in CheckHClassForRep()
302 inline JSHClass *JSHClass::FindRootHClass(JSHClass *hclass) in FindRootHClass()
315 inline JSTaggedValue JSHClass::FindProtoHClass(JSHClass *hclass) in FindProtoHClass()
325 inline JSTaggedValue JSHClass::FindProtoRootHClass(JSHClass *hclass) in FindProtoRootHClass()
344 inline int JSHClass::FindPropertyEntry(const JSThread *thread, JSHClass *hclass, JSTaggedValue key) in FindPropertyEntry()
Dshared_object_factory.cpp95 JSHandle<JSHClass> ObjectFactory::NewSEcmaHClass(JSHClass *hclass, uint32_t size, JSType type, uint… in NewSEcmaHClass()
113 JSHandle<JSHClass> hclass(thread_, newClass); in NewSEcmaHClass() local
131 JSHandle<JSHClass> hclass(thread_, newClass); in NewSEcmaHClassDictMode() local
142 JSHandle<JSHClass> ObjectFactory::NewSEcmaHClassClass(JSHClass *hclass, uint32_t size, JSType type) in NewSEcmaHClassClass()
151 JSHandle<JSHClass> ObjectFactory::NewSEcmaReadOnlyHClass(JSHClass *hclass, uint32_t size, JSType ty… in NewSEcmaReadOnlyHClass()
165 … JSHClass *hclass = reinterpret_cast<JSHClass *>(hClassHandle.GetTaggedValue().GetTaggedObject()); in InitSClassClass() local
237 const JSHandle<JSHClass> &hclass) in NewSFunctionByHClass()
254 …nction> ObjectFactory::NewSFunctionWithAccessor(const void *func, const JSHandle<JSHClass> &hclass, in NewSFunctionWithAccessor()
263 …JSFunction> ObjectFactory::NewSFunctionByHClass(const void *func, const JSHandle<JSHClass> &hclass, in NewSFunctionByHClass()
275 TaggedObject *ObjectFactory::NewSharedOldSpaceObject(const JSHandle<JSHClass> &hclass) in NewSharedOldSpaceObject()
[all …]
Dfree_object.cpp54 auto hclass = GetClass(); in Available() local
Dobject_factory.cpp136 JSHandle<JSHClass> ObjectFactory::NewEcmaHClassClass(JSHClass *hclass, uint32_t size, JSType type) in NewEcmaHClassClass()
149 … JSHClass *hclass = reinterpret_cast<JSHClass *>(hClassHandle.GetTaggedValue().GetTaggedObject()); in InitClassClass() local
154 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(JSHClass *hclass, uint32_t size, JSType type, uint3… in NewEcmaHClass()
173 JSHandle<JSHClass> hclass(thread_, newClass); in NewEcmaHClass() local
183 JSHandle<JSHClass> ObjectFactory::NewEcmaReadOnlyHClass(JSHClass *hclass, uint32_t size, JSType typ… in NewEcmaReadOnlyHClass()
476 JSHandle<JSHClass> hclass(thread_, newClass); in NewEcmaHClass() local
744 JSHandle<JSHClass> hclass(thread_, ctor->GetClass()); in CloneClassCtor() local
792 JSHandle<JSPrimitiveRef> ObjectFactory::NewJSPrimitiveRef(const JSHandle<JSHClass> &hclass, in NewJSPrimitiveRef()
807 JSHandle<JSArray> ObjectFactory::NewJSArray(size_t length, JSHandle<JSHClass> &hclass) in NewJSArray()
838 JSHandle<JSHClass> hclass(env->GetForinIteratorClass()); in NewJSForinIterator() local
[all …]
Djs_object-inl.h291 JSTaggedValue JSObject::GetPropertyInlinedPropsWithRep(const JSHClass *hclass, uint32_t index, in GetPropertyInlinedPropsWithRep()
309 void JSObject::SetPropertyInlinedProps(const JSThread *thread, const JSHClass *hclass, uint32_t ind… in SetPropertyInlinedProps()
321 JSTaggedValue JSObject::GetPropertyInlinedProps(const JSHClass *hclass, uint32_t index) const in GetPropertyInlinedProps()
327 JSTaggedValue JSObject::GetProperty(const JSHClass *hclass, PropertyAttributes attr) const in GetProperty()
337 void JSObject::SetProperty(const JSThread *thread, const JSHClass *hclass, PropertyAttributes attr,… in SetProperty()
518 JSHClass *hclass = obj.GetTaggedObject()->GetClass(); in GetPrototype() local
Dobject_fast_operator-inl.h103 auto *hclass = receiver.GetTaggedObject()->GetClass(); in HasOwnProperty() local
149 auto *hclass = receiver.GetTaggedObject()->GetClass(); in TryFastHasProperty() local
206 auto *hclass = holder.GetTaggedObject()->GetClass(); in TryFastGetPropertyByIndex() local
224 auto *hclass = receiver.GetTaggedObject()->GetClass(); in TryGetPropertyByNameThroughCacheAtLocal() local
259 auto *hclass = holder.GetTaggedObject()->GetClass(); in GetPropertyByName() local
348 auto *hclass = receiver.GetTaggedObject()->GetClass(); in TrySetPropertyByNameThroughCacheAtLocal() local
415 auto *hclass = holder.GetTaggedObject()->GetClass(); in SetPropertyByName() local
576 auto *hclass = holder.GetTaggedObject()->GetClass(); in GetPropertyByIndex() local
637 auto *hclass = holder.GetTaggedObject()->GetClass(); in SetPropertyByIndex() local
Dlayout_info.h48 static LayoutInfo* GetLayoutInfoFromHClass(const JSHClass* hclass) in GetLayoutInfoFromHClass()
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime.cpp45 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateLoadHandler() local
98 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateLoadStringHandler() local
109 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateTypedArrayHandler() local
127 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateStoreHandler() local
137 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateStoreHandler() local
Dprofile_type_info.cpp19 void ProfileTypeAccessor::AddElementHandler(JSHandle<JSTaggedValue> hclass, JSHandle<JSTaggedValue>… in AddElementHandler()
39 void ProfileTypeAccessor::AddWithoutKeyPoly(JSHandle<JSTaggedValue> hclass, JSHandle<JSTaggedValue>… in AddWithoutKeyPoly()
62 void ProfileTypeAccessor::AddHandlerWithoutKey(JSHandle<JSTaggedValue> hclass, JSHandle<JSTaggedVal… in AddHandlerWithoutKey()
93 …ProfileTypeAccessor::AddHandlerWithKey(JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> hclass, in AddHandlerWithKey()
Dic_handler.h372 auto hclass = JSObject::Cast(op.GetReceiver()->GetTaggedObject())->GetJSHClass(); in StoreTransition() local
396 const JSHandle<JSHClass> &hclass) in LoadPrototype()
429 const JSHandle<JSHClass> &hclass) in StorePrototype()
483 const JSHandle<JSHClass> &hclass) in StoreTransition()
517 const JSHandle<JSHClass> &hclass) in StoreAOT()
/arkcompiler/ets_runtime/ecmascript/serializer/
Dbase_serializer-inl.h52 JSHClass *hclass = object->GetClass(); in SerializeTaggedObject() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.cpp47 auto hclass = GetGlobalConstantValue( in NewLexicalEnv() local
69 GateRef NewObjectStubBuilder::NewJSArrayWithSize(GateRef hclass, GateRef size) in NewJSArrayWithSize()
111 GateRef method, GateRef hclass, FunctionKind targetKind) in NewJSFunctionByHClass()
123 GateRef method, GateRef hclass, FunctionKind targetKind) in NewSFunctionByHClass()
135 GateRef hclass = LoadHClass(value); in CloneJSFunction() local
177 GateRef hclass = LoadHClass(elements); in CloneProperties() local
183 GateRef hclass = LoadHClass(elements); in CloneProperties() local
235 GateRef hclass = GetGlobalConstantValue( in NewAccessorData() local
260 GateRef hclass = LoadHClass(literal); in CloneObjectLiteral() local
389 void NewObjectStubBuilder::NewJSObject(Variable *result, Label *exit, GateRef hclass) in NewJSObject()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_proxy_test.cpp47 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
74 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in SetPropertyCommon() local
164 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in PropertyCommon() local
292 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
330 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
367 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
403 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
509 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
545 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HandlerConstruct() local
557 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HandlerConFunc() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
Dpgo_type_manager.cpp73 JSHClass* hclass = JSHClass::Cast(JSTaggedValue(child.second).GetTaggedObject()); in GetSymbolCountFromHClassData() local
103 JSHClass* hclass = JSHClass::Cast(JSTaggedValue(child.second).GetTaggedObject()); in GenSymbolInfo() local
145 JSTaggedType hclass = child.second; in GenHClassInfo() local
224 void PGOTypeManager::RecordHClass(ProfileType rootType, ProfileType childType, JSTaggedType hclass,… in RecordHClass()
324 int PGOTypeManager::RecordAndGetHclassIndexForJIT(JSHClass* hclass) in RecordAndGetHclassIndexForJIT()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_sharedobject_test.cpp44 JSHClass *hclass = sharedObjectPrototype->GetTaggedObject()->GetClass(); in HWTEST_F_L0() local
116 JSHClass *hclass = method->GetTaggedObject()->GetClass(); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisgenerator_fuzzer/
Djsvaluerefisgenerator_fuzzer.cpp48 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in IsGeneratorObjectFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/publicapigeneratorobjectref_fuzzer/
Dpublicapigeneratorobjectref_fuzzer.cpp45 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in GetGeneratorReceiverFuzzTest() local
/arkcompiler/ets_runtime/ecmascript/stubs/
Dtest_runtime_stubs.cpp109 JSHandle<JSTaggedValue> hclass(thread, function); in DEF_RUNTIME_STUBS() local
131 JSHandle<JSTaggedValue> hclass(thread, function); in DEF_RUNTIME_STUBS() local

123456789