| /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 | 202 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 …]
|
| D | layout_visitor.h | 30 auto hclass = root->SynchronizedGetClass(); in IterateBody() local
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | fast_json_stringifier.h | 111 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/ |
| D | jit_profiler.cpp | 361 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() 497 … JSHClass *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/ |
| 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 | 473 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 …]
|
| D | js_hclass-inl.h | 31 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()
|
| D | shared_object_factory.cpp | 95 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 …]
|
| D | free_object.cpp | 54 auto hclass = GetClass(); in Available() local
|
| D | object_factory.cpp | 136 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 …]
|
| D | js_object-inl.h | 291 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
|
| D | object_fast_operator-inl.h | 103 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
|
| D | layout_info.h | 48 static LayoutInfo* GetLayoutInfoFromHClass(const JSHClass* hclass) in GetLayoutInfoFromHClass()
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | ic_runtime.cpp | 45 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
|
| D | profile_type_info.cpp | 19 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()
|
| D | ic_handler.h | 372 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/ |
| D | base_serializer-inl.h | 52 JSHClass *hclass = object->GetClass(); in SerializeTaggedObject() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | new_object_stub_builder.cpp | 47 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/ |
| 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/pgo_type/ |
| D | pgo_type_manager.cpp | 73 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/ |
| D | builtins_sharedobject_test.cpp | 44 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/ |
| D | jsvaluerefisgenerator_fuzzer.cpp | 48 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in IsGeneratorObjectFuzzTest() local
|
| /arkcompiler/ets_runtime/test/fuzztest/publicapigeneratorobjectref_fuzzer/ |
| D | publicapigeneratorobjectref_fuzzer.cpp | 45 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in GetGeneratorReceiverFuzzTest() local
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | test_runtime_stubs.cpp | 109 JSHandle<JSTaggedValue> hclass(thread, function); in DEF_RUNTIME_STUBS() local 131 JSHandle<JSTaggedValue> hclass(thread, function); in DEF_RUNTIME_STUBS() local
|