Home
last modified time | relevance | path

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

12345678910

/arkcompiler/ets_runtime/ecmascript/mem/
Dtagged_object-inl.h29 inline void TaggedObject::SetClassWithoutBarrier(JSHClass *hclass) in SetClassWithoutBarrier()
34 inline void TaggedObject::SetClass(const JSThread *thread, JSHClass *hclass) in SetClass()
39 inline void TaggedObject::SetClass(const JSThread *thread, JSHandle<JSHClass> hclass) in SetClass()
49 inline void TaggedObject::SynchronizedSetClass(const JSThread *thread, JSHClass *hclass) in SynchronizedSetClass()
Dheap-inl.h130 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass) in AllocateYoungOrHugeObject()
156 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass, size_t size) in AllocateYoungOrHugeObject()
179 TaggedObject *Heap::TryAllocateYoungGeneration(JSHClass *hclass, size_t size) in TryAllocateYoungGeneration()
192 TaggedObject *Heap::AllocateOldOrHugeObject(JSHClass *hclass) in AllocateOldOrHugeObject()
198 TaggedObject *Heap::AllocateOldOrHugeObject(JSHClass *hclass, size_t size) in AllocateOldOrHugeObject()
211 TaggedObject *Heap::AllocateReadOnlyOrHugeObject(JSHClass *hclass) in AllocateReadOnlyOrHugeObject()
217 TaggedObject *Heap::AllocateReadOnlyOrHugeObject(JSHClass *hclass, size_t size) in AllocateReadOnlyOrHugeObject()
230 TaggedObject *Heap::AllocateNonMovableOrHugeObject(JSHClass *hclass) in AllocateNonMovableOrHugeObject()
236 TaggedObject *Heap::AllocateNonMovableOrHugeObject(JSHClass *hclass, size_t size) in AllocateNonMovableOrHugeObject()
249 TaggedObject *Heap::AllocateClassClass(JSHClass *hclass, size_t size) in AllocateClassClass()
[all …]
Dlayout_visitor.h30 auto hclass = root->SynchronizedGetClass(); in IterateBody() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dobject_access_helper.cpp53 …JSHClass *hclass = JSHClass::Cast(tsManager_->GetAOTHClassInfoByIndex(hclassIndex).GetTaggedObject… in ComputeForClassInstance() local
82 …JSHClass *hclass = JSHClass::Cast(tsManager_->GetAOTHClassInfoByIndex(hclassIndex).GetTaggedObject… in ComputeForClassOrObject() local
137 …JSHClass *hclass = JSHClass::Cast(ptManager->QueryHClass(type.first, type.second).GetTaggedObject(… in ComputeForClassInstance() local
158 …JSHClass *hclass = JSHClass::Cast(ptManager->QueryHClass(type.first, type.second).GetTaggedObject(… in ClassInstanceIsCallable() local
Dts_hclass_generator.cpp94 JSHandle<JSHClass> hclass(thread->GlobalConstants()->GetHandledUndefined()); in CreateHClass() local
124 JSHandle<JSHClass> hclass; in CreateIHClass() local
161 JSHandle<JSHClass> hclass; in CreatePHClass() local
236 JSHandle<JSHClass> hclass; in CreateCHClass() local
Dic_stub_builder.cpp43 GateRef hclass = LoadHClass(receiver_); in NamedICAccessor() local
76 GateRef hclass = LoadHClass(numberFunction); in NamedICAccessor() local
105 GateRef hclass = LoadHClass(receiver_); in ValuedICAccessor() local
221 GateRef hclass = LoadHClass(receiver_); in LoadICByValue() local
Dnew_object_stub_builder.cpp49 auto hclass = GetGlobalConstantValue( in NewLexicalEnv() local
68 GateRef NewObjectStubBuilder::NewJSArrayWithSize(GateRef hclass, GateRef size) in NewJSArrayWithSize()
85 void NewObjectStubBuilder::NewJSObject(Variable *result, Label *exit, GateRef hclass) in NewJSObject()
131 GateRef NewObjectStubBuilder::NewJSObject(GateRef glue, GateRef hclass) in NewJSObject()
171 auto hclass = GetGlobalConstantValue( in NewTaggedArrayChecked() local
404 …GateRef hclass = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, GlobalEnv::FOR_IN_ITERAT… in NewJSForinIterator() local
523 GateRef hclass = LoadHClassFromMethod(glue, method); in NewJSFunction() local
582 GateRef hclass = LoadHClass(func); in InitializeJSFunction() local
679 GateRef hclass = LoadHClass(*object); in EnumerateObjectProperties() local
768 GateRef hclass, GateRef trackInfo, bool isEmptyArray) in NewJSArrayLiteral()
[all …]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/
Dpgo_type_generator.h29 ProfileType GenerateProfileType(ProfileType rootType, JSTaggedType hclass) in GenerateProfileType()
47 ProfileType GetProfileType(JSTaggedType hclass) in GetProfileType()
57 void InsertProfileType(JSTaggedType hclass, ProfileType type) in InsertProfileType()
/arkcompiler/ets_runtime/ecmascript/base/
Dfast_json_stringifier.h90 inline int32_t FindCache(JSHClass *hclass, size_t numOfKeys) in FindCache()
109 … inline void SetCache(JSHClass *hclass, size_t numOfKeys, CVector<std::pair<CString, int>> &value) in SetCache()
123 inline size_t GetHash(JSHClass *hclass, size_t numOfKeys) in GetHash()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_proxy_test.cpp70 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
103 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
144 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
188 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
229 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
271 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
318 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
356 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
393 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
429 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime.cpp49 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateLoadHandler() local
99 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateLoadStringHandler() local
110 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateTypedArrayHandler() local
128 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateStoreHandler() local
138 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateStoreHandler() local
Dprofile_type_info.cpp23 void ProfileTypeAccessor::AddElementHandler(JSHandle<JSTaggedValue> hclass, JSHandle<JSTaggedValue>… in AddElementHandler()
42 void ProfileTypeAccessor::AddHandlerWithoutKey(JSHandle<JSTaggedValue> hclass, JSHandle<JSTaggedVal… in AddHandlerWithoutKey()
92 …ProfileTypeAccessor::AddHandlerWithKey(JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> hclass, in AddHandlerWithKey()
Dic_handler.h350 auto hclass = JSObject::Cast(op.GetReceiver()->GetTaggedObject())->GetJSHClass(); in StoreTransition() local
374 const JSHandle<JSHClass> &hclass) in LoadPrototype()
388 const JSHandle<JSHClass> &hclass) in StorePrototype()
421 const JSHandle<JSHClass> &hclass) in StoreTransition()
455 const JSHandle<JSHClass> &hclass) in StoreAOT()
/arkcompiler/ets_runtime/ecmascript/
Djs_hclass.cpp381const JSHandle<JSTaggedValue> &hclass, in SetPrototypeWithNotification()
400 JSHandle<JSHClass> hclass(thread, proto->GetTaggedObject()->GetClass()); in OptimizePrototypeForIC() local
520 auto hclass = JSHClass::Cast(newHClass.GetTaggedValue().GetTaggedObject()); in TransitionForRepChange() local
542 JSHClass *hclass = JSHClass::Cast(hclassVal.GetTaggedObject()); in GetInitialArrayHClassWithElementsKind() local
567 JSHClass *hclass = JSHClass::Cast(hclassVal.GetTaggedObject()); in TransitToElementsKind() local
595 JSHClass *hclass = JSHClass::Cast(hclassVal.GetTaggedObject()); in TransitToElementsKind() local
612 auto hclass = receiver->GetJSHClass(); in ConvertOrTransitionWithRep() local
713 void JSHClass::NotifyAccessorChanged(const JSThread *thread, JSHandle<JSHClass> hclass) in NotifyAccessorChanged()
902 PropertyLookupResult JSHClass::LookupPropertyInAotHClass(const JSThread *thread, JSHClass *hclass, … in LookupPropertyInAotHClass()
960 PropertyLookupResult JSHClass::LookupPropertyInPGOHClass(const JSThread *thread, JSHClass *hclass, … in LookupPropertyInPGOHClass()
[all …]
Dobject_factory.cpp175 JSHandle<JSHClass> ObjectFactory::NewEcmaHClassClass(JSHClass *hclass, uint32_t size, JSType type) in NewEcmaHClassClass()
188 … JSHClass *hclass = reinterpret_cast<JSHClass *>(hClassHandle.GetTaggedValue().GetTaggedObject()); in InitClassClass() local
193 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(JSHClass *hclass, uint32_t size, JSType type, uint3… in NewEcmaHClass()
203 JSHandle<JSHClass> ObjectFactory::NewEcmaReadOnlyHClass(JSHClass *hclass, uint32_t size, JSType typ… in NewEcmaReadOnlyHClass()
416 JSHandle<JSHClass> hclass(thread_, newClass); in NewEcmaHClass() local
628 JSHandle<JSHClass> hclass(thread_, ctor->GetClass()); in CloneClassCtor() local
676 JSHandle<JSPrimitiveRef> ObjectFactory::NewJSPrimitiveRef(const JSHandle<JSHClass> &hclass, in NewJSPrimitiveRef()
691 JSHandle<JSArray> ObjectFactory::NewJSArray(size_t length, JSHandle<JSHClass> &hclass) in NewJSArray()
722 JSHandle<JSHClass> hclass(env->GetForinIteratorClass()); in NewJSForinIterator() local
845 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetArgumentsClass()); in NewJSArguments() local
[all …]
Djs_hclass-inl.h246 inline JSHClass *JSHClass::FindRootHClass(JSHClass *hclass) in FindRootHClass()
257 inline JSTaggedValue JSHClass::FindProtoHClass(JSHClass *hclass) in FindProtoHClass()
267 inline JSTaggedValue JSHClass::FindProtoRootHClass(JSHClass *hclass) in FindProtoRootHClass()
286 inline int JSHClass::FindPropertyEntry(const JSThread *thread, JSHClass *hclass, JSTaggedValue key) in FindPropertyEntry()
Djs_object-inl.h282 JSTaggedValue JSObject::GetPropertyInlinedPropsWithRep(const JSHClass *hclass, uint32_t index, in GetPropertyInlinedPropsWithRep()
300 void JSObject::SetPropertyInlinedProps(const JSThread *thread, const JSHClass *hclass, uint32_t ind… in SetPropertyInlinedProps()
311 JSTaggedValue JSObject::GetPropertyInlinedProps(const JSHClass *hclass, uint32_t index) const in GetPropertyInlinedProps()
317 JSTaggedValue JSObject::GetProperty(const JSHClass *hclass, PropertyAttributes attr) const in GetProperty()
327 void JSObject::SetProperty(const JSThread *thread, const JSHClass *hclass, PropertyAttributes attr,… in SetProperty()
507 JSHClass *hclass = obj.GetTaggedObject()->GetClass(); in GetPrototype() local
Dfree_object.h58 auto hclass = GetClass(); in Available() local
/arkcompiler/ets_runtime/ecmascript/serializer/
Dbase_serializer-inl.h52 JSHClass *hclass = object->GetClass(); in SerializeTaggedObject() local
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_sharedobject_test.cpp58 JSHClass *hclass = sharedObjectPrototype->GetTaggedObject()->GetClass(); in HWTEST_F_L0() local
130 JSHClass *hclass = method->GetTaggedObject()->GetClass(); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisgenerator_fuzzer/
Djsvaluerefisgenerator_fuzzer.cpp46 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in IsGeneratorObjectFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/publicapigeneratorobjectref_fuzzer/
Dpublicapigeneratorobjectref_fuzzer.cpp42 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in GetGeneratorReceiverFuzzTest() local
/arkcompiler/ets_runtime/ecmascript/stubs/
Dtest_runtime_stubs.cpp108 JSHandle<JSTaggedValue> hclass(thread, function); in DEF_RUNTIME_STUBS() local
130 JSHandle<JSTaggedValue> hclass(thread, function); in DEF_RUNTIME_STUBS() local
/arkcompiler/ets_runtime/test/fuzztest/builtinsarraybufferisview_fuzzer/
Dbuiltinsarraybufferisview_fuzzer.cpp36 JSHandle<JSTaggedValue> hclass(thread, newTgt); in CreateEcmaRuntimeCallInfo() local
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
Dpgo_type_manager.cpp62 JSTaggedType hclass = y.second; in GenHClassInfo() local
93 void PGOTypeManager::RecordHClass(ProfileType rootType, ProfileType childType, JSTaggedType hclass) in RecordHClass()

12345678910