/arkcompiler/ets_runtime/ecmascript/mem/ |
D | tagged_object-inl.h | 29 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()
|
D | heap-inl.h | 130 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 …]
|
D | layout_visitor.h | 30 auto hclass = root->SynchronizedGetClass(); in IterateBody() local
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | object_access_helper.cpp | 53 …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
|
D | ts_hclass_generator.cpp | 94 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
|
D | ic_stub_builder.cpp | 43 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
|
D | new_object_stub_builder.cpp | 49 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/ |
D | pgo_type_generator.h | 29 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/ |
D | fast_json_stringifier.h | 90 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/ |
D | js_proxy_test.cpp | 70 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/ |
D | ic_runtime.cpp | 49 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
|
D | profile_type_info.cpp | 23 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()
|
D | ic_handler.h | 350 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/ |
D | js_hclass.cpp | 381 … const 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 …]
|
D | object_factory.cpp | 175 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 …]
|
D | js_hclass-inl.h | 246 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()
|
D | js_object-inl.h | 282 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
|
D | free_object.h | 58 auto hclass = GetClass(); in Available() local
|
/arkcompiler/ets_runtime/ecmascript/serializer/ |
D | base_serializer-inl.h | 52 JSHClass *hclass = object->GetClass(); in SerializeTaggedObject() local
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_sharedobject_test.cpp | 58 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/ |
D | jsvaluerefisgenerator_fuzzer.cpp | 46 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in IsGeneratorObjectFuzzTest() local
|
/arkcompiler/ets_runtime/test/fuzztest/publicapigeneratorobjectref_fuzzer/ |
D | publicapigeneratorobjectref_fuzzer.cpp | 42 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in GetGeneratorReceiverFuzzTest() local
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | test_runtime_stubs.cpp | 108 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/ |
D | builtinsarraybufferisview_fuzzer.cpp | 36 JSHandle<JSTaggedValue> hclass(thread, newTgt); in CreateEcmaRuntimeCallInfo() local
|
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/ |
D | pgo_type_manager.cpp | 62 JSTaggedType hclass = y.second; in GenHClassInfo() local 93 void PGOTypeManager::RecordHClass(ProfileType rootType, ProfileType childType, JSTaggedType hclass) in RecordHClass()
|