Home
last modified time | relevance | path

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

123456789

/arkcompiler/ets_runtime/ecmascript/mem/
Dtagged_object-inl.h29 inline void TaggedObject::SetClassWithoutBarrier(JSHClass *hclass) in SetClassWithoutBarrier()
35 inline void TaggedObject::TransitionClassWithoutBarrier(JSHClass *hclass) in TransitionClassWithoutBarrier()
40 inline void TaggedObject::SetFreeObjectClass(JSHClass *hclass) in SetFreeObjectClass()
47 inline void TaggedObject::SetClass(const JSThread *thread, JSHClass *hclass) in SetClass()
58 inline void TaggedObject::SynchronizedTransitionClass(const JSThread *thread, JSHClass *hclass) in SynchronizedTransitionClass()
Dheap-inl.h205 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass) in AllocateYoungOrHugeObject()
243 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass, size_t size) in AllocateYoungOrHugeObject()
254 void BaseHeap::SetHClassAndDoAllocateEvent(JSThread *thread, TaggedObject *object, JSHClass *hclass, in SetHClassAndDoAllocateEvent()
343 TaggedObject *Heap::TryAllocateYoungGeneration(JSHClass *hclass, size_t size) in TryAllocateYoungGeneration()
364 TaggedObject *Heap::AllocateOldOrHugeObject(JSHClass *hclass) in AllocateOldOrHugeObject()
396 TaggedObject *Heap::AllocateOldOrHugeObject(JSHClass *hclass, size_t size) in AllocateOldOrHugeObject()
406 TaggedObject *Heap::AllocateReadOnlyOrHugeObject(JSHClass *hclass) in AllocateReadOnlyOrHugeObject()
416 TaggedObject *Heap::AllocateReadOnlyOrHugeObject(JSHClass *hclass, size_t size) in AllocateReadOnlyOrHugeObject()
444 TaggedObject *Heap::AllocateNonMovableOrHugeObject(JSHClass *hclass) in AllocateNonMovableOrHugeObject()
457 TaggedObject *Heap::AllocateNonMovableOrHugeObject(JSHClass *hclass, size_t size) in AllocateNonMovableOrHugeObject()
[all …]
Dincremental_gc_visitor-inl.h34 void IncrementalOldGCMarkObjectVisitor::VisitObjectHClassImpl(BaseObject *hclass) in VisitObjectHClassImpl()
Ddynamic_object_operator.h45 JSHClass *hclass = root->SynchronizedGetClass(); in VisitBodyInObj() local
98 auto hclass = taggedObject->GetClass(); in IsValidObject() local
Dlayout_visitor.h31 auto hclass = root->SynchronizedGetClass(); in IterateBody() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dlazy_deopt_dependency.cpp27 void CombinedDependencies::Register(JSHClass *hclass, DependentState state) in Register()
45 JSMutableHandle<JSHClass> hclass(thread, JSTaggedValue::Undefined()); in InstallAll() local
98 bool LazyDeoptAllDependencies::DependOnNotPrototype(JSHClass *hclass) in DependOnNotPrototype()
110 bool LazyDeoptAllDependencies::CheckStableHClass(JSHClass *hclass) in CheckStableHClass()
115 bool LazyDeoptAllDependencies::DependOnStableHClass(JSHClass *hclass) in DependOnStableHClass()
Dlazy_deopt_dependency.h93 NotPrototypeDependency(JSHClass *hclass) in NotPrototypeDependency()
114 StableHClassDependency(JSHClass *hclass) in StableHClassDependency()
118 static bool IsValid(JSHClass *hclass) in IsValid()
Dnew_object_stub_builder.cpp43 auto hclass = GetGlobalConstantValue( in NewLexicalEnv() local
78 GateRef NewObjectStubBuilder::NewJSArrayWithSize(GateRef hclass, GateRef size) in NewJSArrayWithSize()
121 GateRef NewObjectStubBuilder::NewJSArrayWithHClass(GateRef hclass, GateRef length) in NewJSArrayWithHClass()
153 GateRef method, GateRef hclass, FunctionKind targetKind) in NewJSFunctionByHClass()
165 GateRef method, GateRef hclass, FunctionKind targetKind) in NewSFunctionByHClass()
177 GateRef hclass = LoadHClass(glue, value); in CloneJSFunction() local
219 GateRef hclass = LoadHClass(glue, elements); in CloneProperties() local
225 GateRef hclass = LoadHClass(glue, elements); in CloneProperties() local
277 GateRef hclass = GetGlobalConstantValue( in NewAccessorData() local
302 GateRef hclass = LoadHClass(glue, literal); in CloneObjectLiteral() local
[all …]
/arkcompiler/ets_runtime/ecmascript/jit/
Djit_profiler.cpp392 JSHClass* hclass = nullptr; in ConvertNewObjRange() local
464 auto hclass = JSHClass::Cast(trackInfo->GetCachedHClass(mainThread_).GetTaggedObject()); in ConvertCreateObject() local
491 JSHClass *hclass = JSHClass::Cast(object); in ConvertICByName() local
500 JSHClass *hclass, in ConvertICByNameWithHandler()
512 JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) in HandleLoadType()
522 JSHClass *hclass, JSTaggedValue &secondValue) in HandleLoadTypeInt()
539 …JITProfiler::HandleLoadTypePrototypeHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, in HandleLoadTypePrototypeHandler()
595 JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) in HandleOtherTypes()
613 JSHClass *hclass, JSTaggedValue &secondValue) in HandleTransitionHandler()
624 JSHClass *hclass, JSTaggedValue &secondValue) in HandleTransWithProtoHandler()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_hclass.cpp489 const JSHandle<JSTaggedValue> proto, const JSHandle<JSHClass> hclass) in ProtoIsFastJSArray()
551 const JSHandle<JSHClass> &hclass, in SetPrototypeWithNotification()
569 JSHandle<JSHClass> hclass(thread, object->GetJSHClass()); in SetPrototypeTransition() local
592 JSHandle<JSHClass> hclass(thread, proto->GetTaggedObject()->GetClass()); in OptimizePrototypeForIC() local
727 auto hclass = JSHClass::Cast(newHClass.GetTaggedValue().GetTaggedObject()); in TransitionForRepChange() local
744 JSHClass *hclass = thread->GetArrayInstanceHClass(targetKind, false); in IsInitialArrayHClassWithElementsKind() local
756 JSHClass *hclass = thread->GetArrayInstanceHClass(newKind, objHclass->IsPrototype()); in TransitToElementsKindUncheck() local
823 void JSHClass::UpdateFieldType(const JSThread *thread, JSHClass *hclass, const PropertyAttributes &… in UpdateFieldType()
830 JSHClass *JSHClass::FindFieldOwnHClass(const JSThread *thread, JSHClass *hclass, const PropertyAttr… in FindFieldOwnHClass()
937 auto hclass = receiver->GetJSHClass(); in ConvertOrTransitionWithRep() local
[all …]
Dshared_object_factory.cpp113 JSHandle<JSHClass> ObjectFactory::NewSEcmaHClass(JSHClass *hclass, uint32_t size, JSType type, uint… in NewSEcmaHClass()
131 JSHandle<JSHClass> hclass(thread_, newClass); in NewSEcmaHClass() local
149 JSHandle<JSHClass> hclass(thread_, newClass); in NewSEcmaHClassDictMode() local
160 JSHandle<JSHClass> ObjectFactory::NewSEcmaHClassClass(JSHClass *hclass, uint32_t size, JSType type) in NewSEcmaHClassClass()
169 JSHandle<JSHClass> ObjectFactory::NewSEcmaReadOnlyHClass(JSHClass *hclass, uint32_t size, JSType ty… in NewSEcmaReadOnlyHClass()
180 JSHandle<JSHClass> ObjectFactory::NewSEcmaReadOnlySharedHClass(JSHClass *hclass, uint32_t size, JST… in NewSEcmaReadOnlySharedHClass()
189 JSTaggedValue ObjectFactory::InitHClassInCompositeBaseClass(JSHClass* hclass, common::CommonType ty… in InitHClassInCompositeBaseClass()
208 … JSHClass *hclass = reinterpret_cast<JSHClass *>(hClassHandle.GetTaggedValue().GetTaggedObject()); in InitSClassClass() local
285 const JSHandle<JSHClass> &hclass) in NewSFunctionByHClass()
303 JSHandle<JSFunction> ObjectFactory::NewNativeSFunctionByHClass(const JSHandle<JSHClass> &hclass, in NewNativeSFunctionByHClass()
[all …]
Dfree_object.cpp54 auto hclass = GetClass(); in Available() local
Dobject_fast_operator-inl.h108 auto *hclass = receiver.GetTaggedObject()->GetClass(); in HasOwnProperty() local
155 auto *hclass = receiver.GetTaggedObject()->GetClass(); in TryFastHasProperty() local
213 auto *hclass = holder.GetTaggedObject()->GetClass(); in TryFastGetPropertyByIndex() local
231 auto *hclass = receiver.GetTaggedObject()->GetClass(); in TryGetPropertyByNameThroughCacheAtLocal() local
267 auto *hclass = holder.GetTaggedObject()->GetClass(); in GetPropertyByName() local
370 JSHClass *hclass = receiverVal.GetTaggedObject()->GetClass(); in TrySetPropertyByNameThroughCacheAtLocal() local
443 auto *hclass = holder.GetTaggedObject()->GetClass(); in SetPropertyByName() local
641 JSHClass *hclass = objHandle->GetClass(); in SetJsonPropertyByName() local
687 auto *hclass = holder.GetTaggedObject()->GetClass(); in GetPropertyByIndex() local
748 auto *hclass = holder.GetTaggedObject()->GetClass(); in SetPropertyByIndex() local
Dobject_factory.cpp143 JSHandle<JSHClass> ObjectFactory::NewEcmaHClassClass(JSHClass *hclass, uint32_t size, JSType type) in NewEcmaHClassClass()
156 … JSHClass *hclass = reinterpret_cast<JSHClass *>(hClassHandle.GetTaggedValue().GetTaggedObject()); in InitClassClass() local
161 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(JSHClass *hclass, uint32_t size, JSType type, uint3… in NewEcmaHClass()
180 JSHandle<JSHClass> hclass(thread_, newClass); in NewEcmaHClass() local
190 JSHandle<JSHClass> ObjectFactory::NewEcmaReadOnlyHClass(JSHClass *hclass, uint32_t size, JSType typ… in NewEcmaReadOnlyHClass()
498 JSHandle<JSHClass> hclass(thread_, newClass); in NewEcmaHClass() local
768 JSHandle<JSHClass> hclass(thread_, ctor->GetClass()); in CloneClassCtor() local
816 JSHandle<JSPrimitiveRef> ObjectFactory::NewJSPrimitiveRef(const JSHandle<JSHClass> &hclass, in NewJSPrimitiveRef()
831 JSHandle<JSArray> ObjectFactory::NewJSArray(size_t length, JSHandle<JSHClass> &hclass) in NewJSArray()
864 JSHandle<JSHClass> hclass(env->GetForinIteratorClass()); in NewJSForinIterator() local
[all …]
Djs_object-inl.h308 …JSObject::GetPropertyInlinedPropsWithRep(const JSThread* thread, const JSHClass *hclass, uint32_t … in GetPropertyInlinedPropsWithRep()
333 void JSObject::SetPropertyInlinedProps(const JSThread *thread, const JSHClass *hclass, uint32_t ind… in SetPropertyInlinedProps()
345 JSTaggedValue JSObject::GetPropertyInlinedProps(const JSThread* thread, const JSHClass *hclass, uin… in GetPropertyInlinedProps()
351 JSTaggedValue JSObject::GetProperty(const JSThread* thread, const JSHClass *hclass, PropertyAttribu… in GetProperty()
361 void JSObject::SetProperty(const JSThread *thread, const JSHClass *hclass, PropertyAttributes attr,… in SetProperty()
521 JSHClass *hclass = obj.GetTaggedObject()->GetClass(); in GetPrototype() local
Djs_hclass-inl.h171 inline JSHClass *JSHClass::CheckHClassForRep(const JSThread *thread, JSHClass *hclass, const Repres… in CheckHClassForRep()
288 inline JSHClass *JSHClass::FindRootHClass(const JSThread *thread, JSHClass *hclass) in FindRootHClass()
301 inline JSTaggedValue JSHClass::FindProtoHClass(const JSThread *thread, JSHClass *hclass) in FindProtoHClass()
311 inline JSTaggedValue JSHClass::FindProtoRootHClass(const JSThread *thread, JSHClass *hclass) in FindProtoRootHClass()
330 inline int JSHClass::FindPropertyEntry(const JSThread *thread, JSHClass *hclass, JSTaggedValue key) in FindPropertyEntry()
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime.cpp32 bool ICRuntime::GetHandler(const ObjectOperator &op, const JSHandle<JSHClass> &hclass, in GetHandler()
119 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateLoadHandler() local
152 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateLoadStringHandler() local
163 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateTypedArrayHandler() local
178 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateStoreHandler() local
188 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateStoreHandler() local
Dic_handler.cpp151 auto hclass = JSObject::Cast(op.GetReceiver()->GetTaggedObject())->GetJSHClass(); in StoreTransition() local
157 const JSHandle<JSHClass> &hclass) in LoadPrototype()
191 const JSHandle<JSHClass> &hclass) in StorePrototype()
221 const JSHandle<JSHClass> &hclass) in StoreTransition()
Dprofile_type_info.cpp25 void ProfileTypeAccessor::AddElementHandler(JSHandle<JSTaggedValue> hclass, JSHandle<JSTaggedValue>… in AddElementHandler()
45 void ProfileTypeAccessor::AddWithoutKeyPoly(JSHandle<JSTaggedValue> hclass, JSHandle<JSTaggedValue>… in AddWithoutKeyPoly()
95 void ProfileTypeAccessor::AddHandlerWithoutKey(JSHandle<JSTaggedValue> hclass, JSHandle<JSTaggedVal… in AddHandlerWithoutKey()
128 …ProfileTypeAccessor::AddHandlerWithKey(JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> hclass, in AddHandlerWithKey()
/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
510 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
546 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HandlerConstruct() local
558 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HandlerConFunc() local
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
Dshared_full_gc-inl.h69 JSHClass *hclass = root->SynchronizedGetClass(); in VisitObjectRangeImpl() local
89 void SharedFullGCMarkObjectVisitor::VisitObjectHClassImpl([[maybe_unused]] BaseObject *hclass) in VisitObjectHClassImpl()
Dshared_gc_marker.cpp106 JSHClass *hclass = obj->SynchronizedGetClass(); in ProcessMarkStack() local
137 JSHClass *hclass = obj->SynchronizedGetClass(); in ProcessMarkStack() local
Dshared_gc_visitor-inl.h76 JSHClass *hclass = TaggedObject::Cast(root)->SynchronizedGetClass(); in VisitObjectRangeImpl() local
96 void SharedGCMarkObjectVisitor::VisitObjectHClassImpl(BaseObject *hclass) in VisitObjectHClassImpl()
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
Dpgo_type_manager.cpp74 JSHClass* hclass = JSHClass::Cast(JSTaggedValue(child.second).GetTaggedObject()); in GetSymbolCountFromHClassData() local
104 JSHClass* hclass = JSHClass::Cast(JSTaggedValue(child.second).GetTaggedObject()); in GenSymbolInfo() local
166 JSTaggedType hclass = child.second; in GenHClassInfo() local
250 void PGOTypeManager::RecordHClass(ProfileType rootType, ProfileType childType, JSTaggedType hclass,… in RecordHClass()
350 int PGOTypeManager::RecordAndGetHclassIndexForJIT(JSHClass* hclass) in RecordAndGetHclassIndexForJIT()
/arkcompiler/ets_runtime/ecmascript/cross_vm/unified_gc/
Dunified_gc_marker-inl.h83 JSHClass *hclass = TaggedObject::Cast(root)->SynchronizedGetClass(); in VisitObjectRangeImpl() local
123 void UnifiedGCMarkObjectVisitor::VisitObjectHClassImpl(BaseObject *hclass) in VisitObjectHClassImpl()

123456789