Home
last modified time | relevance | path

Searched refs:transPhc (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
H A Dpgo_hclass_generator.cpp100 for (auto &transPhc : transPhcs) { in CaculateMaxNumOfObjIncludeProtoTransition()
101 PGOSampleType transType(transPhc); in CaculateMaxNumOfObjIncludeProtoTransition()
106 auto rootHClassDesc = desc->GetHClassLayoutDesc(transPhc); in CaculateMaxNumOfObjIncludeProtoTransition()
H A Dpgo_type_manager.cpp174 JSTaggedValue transPhc = QueryHClass(protoTransType.transPhcType, protoTransType.transPhcType); in GenProtoTransitionInfo() local
175 if (ihc.IsUndefined() || baseIhc.IsUndefined() || transIhc.IsUndefined() || transPhc.IsUndefined()) { in GenProtoTransitionInfo()
183 JSHandle<JSTaggedValue>(thread_, transPhc)); in GenProtoTransitionInfo()
187 // For this case, baseIhc is transPhc in GenProtoTransitionInfo()
190 JSHandle<JSTaggedValue>(thread_, transPhc), in GenProtoTransitionInfo()
192 JSHandle<JSTaggedValue>(thread_, transPhc)); in GenProtoTransitionInfo()
/arkcompiler/ets_runtime/ecmascript/
H A Dtagged_dictionary.cpp498 JSHandle<JSTaggedValue> transPhc) in InsertTransitionItem()
511 thread, insertEntry, baseIhc.GetTaggedValue(), transIhc.GetTaggedValue(), transPhc.GetTaggedValue()); in InsertTransitionItem()
517 thread, insertEntry, baseIhc.GetTaggedValue(), transIhc.GetTaggedValue(), transPhc.GetTaggedValue()); in InsertTransitionItem()
600 JSTaggedValue transPhc) in SetEntry()
608 Set(thread, phcIndex, transPhc); in SetEntry()
622 JSTaggedValue transPhc = Get(entryIndex + TRANS_PHC_INDEX); in GetTransition() local
623 return std::make_pair(transIhc, transPhc); in GetTransition()
633 JSTaggedValue transPhc = Get(index + TRANS_PHC_INDEX); in FindTransition() local
634 return std::make_pair(transIhc, transPhc); in FindTransition()
494 InsertTransitionItem(const JSThread *thread, JSHandle<JSTaggedValue> ihc, JSHandle<JSTaggedValue> baseIhc, JSHandle<JSTaggedValue> transIhc, JSHandle<JSTaggedValue> transPhc) InsertTransitionItem() argument
599 SetEntry(const JSThread *thread, uint32_t index, JSTaggedValue key, JSTaggedValue transIhc, JSTaggedValue transPhc) SetEntry() argument
H A Dtagged_dictionary.h212 JSHandle<JSTaggedValue> transPhc);
234 JSTaggedValue transPhc);
H A Djs_hclass.cpp401 JSHandle<JSTaggedValue> transPhc(thread, transHc.second); in FindTransitionProtoForAOT()
402 if (transIhc->IsUndefined() || transPhc->IsUndefined()) { in FindTransitionProtoForAOT()
405 ReBuildFunctionInheritanceRelationship(thread, proto, JSHandle<JSTaggedValue>(baseIhc), transIhc, transPhc); in FindTransitionProtoForAOT()
414 const JSHandle<JSTaggedValue> &transPhc) in ReBuildFunctionInheritanceRelationship()
417 if (baseIhc.GetTaggedType() == transPhc.GetTaggedType()) { in ReBuildFunctionInheritanceRelationship()
420 // use transPhc to replace the hclass of proto in ReBuildFunctionInheritanceRelationship()
422 proto->GetTaggedObject()->SynchronizedSetClass(thread, JSHClass::Cast(transPhc->GetTaggedObject())); in ReBuildFunctionInheritanceRelationship()
423 ASSERT(JSHClass::Cast(transPhc->GetTaggedObject())->IsPrototype()); in ReBuildFunctionInheritanceRelationship()
425 JSHClass::Cast(transPhc->GetTaggedObject())->SetPrototype(thread, oldPhc->GetPrototype()); in ReBuildFunctionInheritanceRelationship()
427 JSTaggedValue phcPrototype = JSHClass::Cast(transPhc in ReBuildFunctionInheritanceRelationship()
410 ReBuildFunctionInheritanceRelationship(const JSThread *thread, const JSHandle<JSTaggedValue> &proto, const JSHandle<JSTaggedValue> &baseIhc, const JSHandle<JSTaggedValue> &transIhc, const JSHandle<JSTaggedValue> &transPhc) ReBuildFunctionInheritanceRelationship() argument
[all...]
H A Djs_hclass.h460 const JSHandle<JSTaggedValue> &transPhc);
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler.cpp163 JSHandle<JSTaggedValue> transPhc(thread, prototype->GetTaggedObject()->GetClass()); in ProfileProtoTransitionPrototype()
164 if (JSHandle<JSHClass>(baseIhc)->IsDictionaryMode() || JSHandle<JSHClass>(transPhc)->IsDictionaryMode()) { in ProfileProtoTransitionPrototype()
168 bool success = transitionTable->TryInsertFakeParentItem(transPhc.GetTaggedType(), baseIhc.GetTaggedType()); in ProfileProtoTransitionPrototype()
180 ProfileClassRootHClass(func.GetTaggedType(), transPhc.GetTaggedType(), ProfileType::Kind::TransitionPrototypeId); in ProfileProtoTransitionPrototype()

Completed in 14 milliseconds