| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | tagged_object-inl.h | 28 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()
|
| D | heap-inl.h | 197 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass) in AllocateYoungOrHugeObject() 231 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass, size_t size) in AllocateYoungOrHugeObject() 242 void BaseHeap::SetHClassAndDoAllocateEvent(JSThread *thread, TaggedObject *object, JSHClass *hclass, in SetHClassAndDoAllocateEvent() 286 TaggedObject *Heap::TryAllocateYoungGeneration(JSHClass *hclass, size_t size) in TryAllocateYoungGeneration() 302 TaggedObject *Heap::AllocateOldOrHugeObject(JSHClass *hclass) in AllocateOldOrHugeObject() 329 TaggedObject *Heap::AllocateOldOrHugeObject(JSHClass *hclass, size_t size) in AllocateOldOrHugeObject() 339 TaggedObject *Heap::AllocateReadOnlyOrHugeObject(JSHClass *hclass) in AllocateReadOnlyOrHugeObject() 349 TaggedObject *Heap::AllocateReadOnlyOrHugeObject(JSHClass *hclass, size_t size) in AllocateReadOnlyOrHugeObject() 367 TaggedObject *Heap::AllocateNonMovableOrHugeObject(JSHClass *hclass) in AllocateNonMovableOrHugeObject() 380 TaggedObject *Heap::AllocateNonMovableOrHugeObject(JSHClass *hclass, size_t size) in AllocateNonMovableOrHugeObject() [all …]
|
| D | incremental_gc_visitor-inl.h | 34 void IncrementalOldGCMarkObjectVisitor::VisitObjectHClassImpl(TaggedObject *hclass) in VisitObjectHClassImpl()
|
| D | layout_visitor.h | 31 auto hclass = root->SynchronizedGetClass(); in IterateBody() local
|
| D | old_gc_visitor-inl.h | 80 JSHClass *hclass = root->SynchronizedGetClass(); in VisitObjectRangeImpl() local 100 void OldGCMarkObjectVisitor::VisitObjectHClassImpl(TaggedObject *hclass) in VisitObjectHClassImpl()
|
| /arkcompiler/ets_runtime/ecmascript/jit/ |
| D | jit_profiler.cpp | 373 JSHClass* hclass = nullptr; in ConvertNewObjRange() local 437 auto hclass = JSHClass::Cast(trackInfo->GetCachedHClass().GetTaggedObject()); in ConvertCreateObject() local 464 JSHClass *hclass = JSHClass::Cast(object); in ConvertICByName() local 473 JSHClass *hclass, in ConvertICByNameWithHandler() 485 JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) in HandleLoadType() 495 JSHClass *hclass, JSTaggedValue &secondValue) in HandleLoadTypeInt() 510 … JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) in HandleLoadTypePrototypeHandler() 548 JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) in HandleOtherTypes() 566 JSHClass *hclass, JSTaggedValue &secondValue) in HandleTransitionHandler() 577 JSHClass *hclass, JSTaggedValue &secondValue) in HandleTransWithProtoHandler() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/rawheap_translate/ |
| D | metadata_parse.cpp | 29 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/ |
| D | js_hclass.cpp | 504 const JSHandle<JSHClass> &hclass, in SetPrototypeWithNotification() 522 JSHandle<JSHClass> hclass(thread, object->GetJSHClass()); in SetPrototypeTransition() local 544 JSHandle<JSHClass> hclass(thread, proto->GetTaggedObject()->GetClass()); in OptimizePrototypeForIC() local 678 auto hclass = JSHClass::Cast(newHClass.GetTaggedValue().GetTaggedObject()); in TransitionForRepChange() local 695 JSHClass *hclass = thread->GetArrayInstanceHClass(targetKind, false); in IsInitialArrayHClassWithElementsKind() local 707 JSHClass *hclass = thread->GetArrayInstanceHClass(newKind, objHclass->IsPrototype()); in TransitToElementsKindUncheck() local 774 void JSHClass::UpdateFieldType(JSHClass *hclass, const PropertyAttributes &attr) in UpdateFieldType() 781 JSHClass *JSHClass::FindFieldOwnHClass(JSHClass *hclass, const PropertyAttributes &attr) in FindFieldOwnHClass() 894 auto hclass = receiver->GetJSHClass(); in ConvertOrTransitionWithRep() local 1053 void JSHClass::NotifyAccessorChanged(const JSThread *thread, JSHandle<JSHClass> hclass) in NotifyAccessorChanged() [all …]
|
| D | shared_object_factory.cpp | 99 JSHandle<JSHClass> ObjectFactory::NewSEcmaHClass(JSHClass *hclass, uint32_t size, JSType type, uint… in NewSEcmaHClass() 117 JSHandle<JSHClass> hclass(thread_, newClass); in NewSEcmaHClass() local 135 JSHandle<JSHClass> hclass(thread_, newClass); in NewSEcmaHClassDictMode() local 146 JSHandle<JSHClass> ObjectFactory::NewSEcmaHClassClass(JSHClass *hclass, uint32_t size, JSType type) in NewSEcmaHClassClass() 155 JSHandle<JSHClass> ObjectFactory::NewSEcmaReadOnlyHClass(JSHClass *hclass, uint32_t size, JSType ty… in NewSEcmaReadOnlyHClass() 169 … JSHClass *hclass = reinterpret_cast<JSHClass *>(hClassHandle.GetTaggedValue().GetTaggedObject()); in InitSClassClass() local 246 const JSHandle<JSHClass> &hclass) in NewSFunctionByHClass() 264 JSHandle<JSFunction> ObjectFactory::NewNativeSFunctionByHClass(const JSHandle<JSHClass> &hclass, in NewNativeSFunctionByHClass() 278 …nction> ObjectFactory::NewSFunctionWithAccessor(const void *func, const JSHandle<JSHClass> &hclass, in NewSFunctionWithAccessor() 290 …JSFunction> ObjectFactory::NewSFunctionByHClass(const void *func, const JSHandle<JSHClass> &hclass, in NewSFunctionByHClass() [all …]
|
| D | js_hclass-inl.h | 32 const JSHandle<JSHClass> hclass) in ProtoIsFastJSArray() 182 inline JSHClass *JSHClass::CheckHClassForRep(JSHClass *hclass, const Representation &rep) in CheckHClassForRep() 303 inline JSHClass *JSHClass::FindRootHClass(JSHClass *hclass) in FindRootHClass() 316 inline JSTaggedValue JSHClass::FindProtoHClass(JSHClass *hclass) in FindProtoHClass() 326 inline JSTaggedValue JSHClass::FindProtoRootHClass(JSHClass *hclass) in FindProtoRootHClass() 345 inline int JSHClass::FindPropertyEntry(const JSThread *thread, JSHClass *hclass, JSTaggedValue key) in FindPropertyEntry()
|
| D | free_object.cpp | 54 auto hclass = GetClass(); in Available() local
|
| D | object_factory.cpp | 135 JSHandle<JSHClass> ObjectFactory::NewEcmaHClassClass(JSHClass *hclass, uint32_t size, JSType type) in NewEcmaHClassClass() 148 … JSHClass *hclass = reinterpret_cast<JSHClass *>(hClassHandle.GetTaggedValue().GetTaggedObject()); in InitClassClass() local 153 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(JSHClass *hclass, uint32_t size, JSType type, uint3… in NewEcmaHClass() 172 JSHandle<JSHClass> hclass(thread_, newClass); in NewEcmaHClass() local 182 JSHandle<JSHClass> ObjectFactory::NewEcmaReadOnlyHClass(JSHClass *hclass, uint32_t size, JSType typ… in NewEcmaReadOnlyHClass() 475 JSHandle<JSHClass> hclass(thread_, newClass); in NewEcmaHClass() local 743 JSHandle<JSHClass> hclass(thread_, ctor->GetClass()); in CloneClassCtor() local 791 JSHandle<JSPrimitiveRef> ObjectFactory::NewJSPrimitiveRef(const JSHandle<JSHClass> &hclass, in NewJSPrimitiveRef() 806 JSHandle<JSArray> ObjectFactory::NewJSArray(size_t length, JSHandle<JSHClass> &hclass) in NewJSArray() 837 JSHandle<JSHClass> hclass(env->GetForinIteratorClass()); in NewJSForinIterator() local [all …]
|
| D | object_fast_operator-inl.h | 103 auto *hclass = receiver.GetTaggedObject()->GetClass(); in HasOwnProperty() local 149 auto *hclass = receiver.GetTaggedObject()->GetClass(); in TryFastHasProperty() local 208 auto *hclass = holder.GetTaggedObject()->GetClass(); in TryFastGetPropertyByIndex() local 226 auto *hclass = receiver.GetTaggedObject()->GetClass(); in TryGetPropertyByNameThroughCacheAtLocal() local 261 auto *hclass = holder.GetTaggedObject()->GetClass(); in GetPropertyByName() local 351 JSHClass *hclass = receiverVal.GetTaggedObject()->GetClass(); in TrySetPropertyByNameThroughCacheAtLocal() local 423 auto *hclass = holder.GetTaggedObject()->GetClass(); in SetPropertyByName() local 605 auto *hclass = holder.GetTaggedObject()->GetClass(); in GetPropertyByIndex() local 666 auto *hclass = holder.GetTaggedObject()->GetClass(); in SetPropertyByIndex() local
|
| D | js_object-inl.h | 307 JSTaggedValue JSObject::GetPropertyInlinedPropsWithRep(const JSHClass *hclass, uint32_t index, in GetPropertyInlinedPropsWithRep() 332 void JSObject::SetPropertyInlinedProps(const JSThread *thread, const JSHClass *hclass, uint32_t ind… in SetPropertyInlinedProps() 344 JSTaggedValue JSObject::GetPropertyInlinedProps(const JSHClass *hclass, uint32_t index) const in GetPropertyInlinedProps() 350 JSTaggedValue JSObject::GetProperty(const JSHClass *hclass, PropertyAttributes attr) const in GetProperty() 360 void JSObject::SetProperty(const JSThread *thread, const JSHClass *hclass, PropertyAttributes attr,… in SetProperty() 543 JSHClass *hclass = obj.GetTaggedObject()->GetClass(); in GetPrototype() local
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | ic_runtime.cpp | 32 bool ICRuntime::GetHandler(const ObjectOperator &op, const JSHandle<JSHClass> &hclass, in GetHandler() 114 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateLoadHandler() local 146 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateLoadStringHandler() local 157 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateTypedArrayHandler() local 172 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateStoreHandler() local 182 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateStoreHandler() local
|
| D | ic_handler.cpp | 144 auto hclass = JSObject::Cast(op.GetReceiver()->GetTaggedObject())->GetJSHClass(); in StoreTransition() local 150 const JSHandle<JSHClass> &hclass) in LoadPrototype() 184 const JSHandle<JSHClass> &hclass) in StorePrototype() 214 const JSHandle<JSHClass> &hclass) in StoreTransition()
|
| D | profile_type_info.cpp | 25 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/ |
| D | js_proxy_test.cpp | 47 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/ |
| D | new_object_stub_builder.cpp | 41 auto hclass = GetGlobalConstantValue( in NewLexicalEnv() local 63 GateRef NewObjectStubBuilder::NewJSArrayWithSize(GateRef hclass, GateRef size) in NewJSArrayWithSize() 103 GateRef NewObjectStubBuilder::NewJSArrayWithHClass(GateRef hclass, GateRef length) in NewJSArrayWithHClass() 135 GateRef method, GateRef hclass, FunctionKind targetKind) in NewJSFunctionByHClass() 147 GateRef method, GateRef hclass, FunctionKind targetKind) in NewSFunctionByHClass() 159 GateRef hclass = LoadHClass(value); in CloneJSFunction() local 201 GateRef hclass = LoadHClass(elements); in CloneProperties() local 207 GateRef hclass = LoadHClass(elements); in CloneProperties() local 259 GateRef hclass = GetGlobalConstantValue( in NewAccessorData() local 284 GateRef hclass = LoadHClass(literal); in CloneObjectLiteral() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/shared_heap/ |
| D | shared_full_gc-inl.h | 66 JSHClass *hclass = root->SynchronizedGetClass(); in VisitObjectRangeImpl() local 86 void SharedFullGCMarkObjectVisitor::VisitObjectHClassImpl([[maybe_unused]] TaggedObject *hclass) in VisitObjectHClassImpl()
|
| D | shared_gc_marker.cpp | 107 JSHClass *hclass = obj->SynchronizedGetClass(); in ProcessMarkStack() local 138 JSHClass *hclass = obj->SynchronizedGetClass(); in ProcessMarkStack() local
|
| D | shared_gc_visitor-inl.h | 74 JSHClass *hclass = root->SynchronizedGetClass(); in VisitObjectRangeImpl() local 94 void SharedGCMarkObjectVisitor::VisitObjectHClassImpl(TaggedObject *hclass) in VisitObjectHClassImpl()
|
| /arkcompiler/ets_runtime/ecmascript/serializer/ |
| D | base_serializer-inl.h | 60 JSHClass *hclass = object->GetClass(); in SerializeTaggedObject() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/ |
| D | pgo_type_manager.cpp | 72 JSHClass* hclass = JSHClass::Cast(JSTaggedValue(child.second).GetTaggedObject()); in GetSymbolCountFromHClassData() local 102 JSHClass* hclass = JSHClass::Cast(JSTaggedValue(child.second).GetTaggedObject()); in GenSymbolInfo() local 164 JSTaggedType hclass = child.second; in GenHClassInfo() local 248 void PGOTypeManager::RecordHClass(ProfileType rootType, ProfileType childType, JSTaggedType hclass,… in RecordHClass() 348 int PGOTypeManager::RecordAndGetHclassIndexForJIT(JSHClass* hclass) in RecordAndGetHclassIndexForJIT()
|
| /arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisgenerator_fuzzer/ |
| D | jsvaluerefisgenerator_fuzzer.cpp | 48 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in IsGeneratorObjectFuzzTest() local
|