Home
last modified time | relevance | path

Searched refs:ApEntityId (Results 1 – 22 of 22) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/
Dpgo_profile_type_pool.h45 ApEntityId GetEntryId() const in GetEntryId()
50 void SetEntryId(ApEntityId entryId) in SetEntryId()
91 ApEntityId entryId_ {0};
107 static ApEntityId GetReservedId([[maybe_unused]] const ProfileType &value) in GetReservedId()
110 return ApEntityId(static_cast<uint32_t>(ReservedType::NONE_CLASS_TYPE_REF)); in GetReservedId()
136 bool TryAdd(const ProfileType &profileType, ApEntityId &entryId) in TryAdd()
141 bool GetEntryId(const ProfileType &profileType, ApEntityId &entryId) const in GetEntryId()
146 const Entry *GetEntry(ApEntityId entryId) const in GetEntry()
156 … void Merge(const PGOProfileTypePool &profileTypePool, std::map<ApEntityId, ApEntityId> &idMapping) in Merge() argument
158 pool_->Merge(*profileTypePool.pool_, [&](ApEntityId oldEntryId, ApEntityId newEntryId) { in Merge()
Dpool_template.h36 using GetReservedIdCb = std::function<ApEntityId(const V &value)>;
49 bool TryAdd(const V &value, ApEntityId &entryId) in TryAdd()
58 entryId = ApEntityId(IsReserved(value) ? (++reservedUsed_, GetReservedId(value)) in TryAdd()
67 bool GetEntryId(const V &value, ApEntityId &entryId) const in GetEntryId()
78 const Entry *GetEntry(ApEntityId id) const in GetEntry()
87 bool GetEntryIdByNormalizedName(const V &value, ApEntityId &entryId) const in GetEntryIdByNormalizedName()
109 … void Merge(const PoolTemplate &pool, const std::function<void(ApEntityId, ApEntityId)> &callback) in Merge() argument
112 ApEntityId newId(0); in Merge()
129 stream.write(reinterpret_cast<const char *>(&(entry.first)), sizeof(ApEntityId)); in ProcessToBinary()
168 auto entryId = base::ReadBuffer<ApEntityId>(buffer, sizeof(ApEntityId)); in ParseFromBinary()
[all …]
Dpgo_record_pool.h43 ApEntityId GetEntryId() const in GetEntryId()
48 void SetEntryId(ApEntityId entryId) in SetEntryId()
78 ApEntityId entryId_ {0};
92 bool TryAdd(const CString &value, ApEntityId &entryId) in TryAdd()
97 bool GetEntryId(const CString &value, ApEntityId &entryId) const in GetEntryId()
102 const Entry *GetEntry(ApEntityId entryId) const in GetEntry()
107 bool GetEntryIdByNormalizedName(const CString &value, ApEntityId &entryId) const in GetEntryIdByNormalizedName()
151 stream.write(reinterpret_cast<const char *>(&(profileTypeRef)), sizeof(ApEntityId)); in ProcessToBinary()
167 ProfileTypeRef profileTypeRef(base::ReadBuffer<ApEntityId>(buffer, sizeof(ApEntityId))); in ParseFromBinary()
242 static ApEntityId GetReservedId([[maybe_unused]] const CString &value) in GetReservedId()
[all …]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.h58 static ProfileType CreateRecordProfileType(ApEntityId abcId, ApEntityId classId);
59 void ProfileCreateObject(JSTaggedType object, ApEntityId abcId, int32_t traceId);
108 void ProfileBytecode(ApEntityId abcId, const CString &recordName, JSTaggedValue value);
111 …void DumpICByName(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset…
113 …void DumpICByValue(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffse…
116 …void DumpICByNameWithPoly(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t …
118 …void DumpICByValueWithPoly(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t…
121 …void DumpICByNameWithHandler(ApEntityId abcId, const CString &recordName, EntityId methodId, int32…
123 …void DumpICByValueWithHandler(ApEntityId abcId, const CString &recordName, EntityId methodId, int3…
127 …void DumpOpType(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, …
[all …]
Dpgo_context.h43 virtual void AddAbcIdRemap(ApEntityId oldId, ApEntityId newId) const = 0;
44 virtual const std::map<ApEntityId, ApEntityId> &GetAbcIdRemap() const = 0;
Dpgo_profiler_info.h528 void AddAbcIdRemap(ApEntityId oldId, ApEntityId newId) const override in AddAbcIdRemap()
533 const std::map<ApEntityId, ApEntityId> &GetAbcIdRemap() const override in GetAbcIdRemap()
554 mutable std::map<ApEntityId, ApEntityId> abcIdRemap_;
712 const std::map<ApEntityId, ApEntityId> &GetAbcIdRemap() const override in GetAbcIdRemap()
717 void AddAbcIdRemap(ApEntityId oldId, ApEntityId newId) const override in AddAbcIdRemap()
737 mutable std::map<ApEntityId, ApEntityId> abcIdRemap_;
Dpgo_profiler.cpp40 void PGOProfiler::ProfileCreateObject(JSTaggedType object, ApEntityId abcId, int32_t traceId) in ProfileCreateObject()
358 void PGOProfiler::UpdateExtraProfileTypeInfo(ApEntityId abcId, in UpdateExtraProfileTypeInfo()
514 void PGOProfiler::ProfileBytecode(ApEntityId abcId, const CString &recordName, JSTaggedValue value) in ProfileBytecode()
728 void PGOProfiler::DumpICByName(ApEntityId abcId, const CString &recordName, EntityId methodId, int3… in DumpICByName()
751 void PGOProfiler::DumpICByValue(ApEntityId abcId, const CString &recordName, EntityId methodId, int… in DumpICByValue()
783 void PGOProfiler::DumpICByNameWithPoly(ApEntityId abcId, in DumpICByNameWithPoly()
807 void PGOProfiler::DumpICByValueWithPoly(ApEntityId abcId, in DumpICByValueWithPoly()
831 void PGOProfiler::DumpICByNameWithHandler(ApEntityId abcId, const CString &recordName, EntityId met… in DumpICByNameWithHandler()
916 void PGOProfiler::DumpICByValueWithHandler(ApEntityId abcId, const CString &recordName, EntityId me… in DumpICByValueWithHandler()
1023 void PGOProfiler::DumpOpType(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_… in DumpOpType()
[all …]
Dpgo_profiler_encoder.h69 bool GetPandaFileId(const CString &abcName, ApEntityId &entryId);
70 bool GetPandaFileDesc(ApEntityId abcId, CString &desc);
Dpgo_profiler_encoder.cpp89 ApEntityId entryId(0); in SamplePandaFileInfo()
93 bool PGOProfilerEncoder::GetPandaFileId(const CString &abcName, ApEntityId &entryId) in GetPandaFileId()
99 bool PGOProfilerEncoder::GetPandaFileDesc(ApEntityId abcId, CString &desc) in GetPandaFileDesc()
Dpgo_profiler_decoder.h171 bool GetAbcNameById(ApEntityId abcId, CString &abcName) const in GetAbcNameById()
188 bool GetABCIdByJSPandaFile(const JSPandaFile *jsPandaFile, ApEntityId &entryId) const in GetABCIdByJSPandaFile()
Dpgo_utils.h27 using ApEntityId = uint32_t; variable
Dpgo_profiler_manager.h152 bool GetPandaFileId(const CString &abcName, ApEntityId &entryId) const in GetPandaFileId()
160 bool GetPandaFileDesc(ApEntityId abcId, CString &desc) const in GetPandaFileDesc()
Dpgo_profiler_info.cpp738 ApEntityId recordId(0); in ParseFromBinary()
741 … auto recordTypeRef = ProfileTypeRef(base::ReadBuffer<ApEntityId>(&addr, sizeof(ApEntityId))); in ParseFromBinary()
745 recordId = base::ReadBuffer<ApEntityId>(&addr, sizeof(ApEntityId)); in ParseFromBinary()
880 ApEntityId recordId(0); in ParseFromText()
990 … auto recordTypeRef = ProfileTypeRef(base::ReadBuffer<ApEntityId>(&addr, sizeof(ApEntityId))); in ParseFromBinary()
999 auto recordId = base::ReadBuffer<ApEntityId>(&addr, sizeof(ApEntityId)); in ParseFromBinary()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_context_mock.h71 void AddAbcIdRemap(ApEntityId oldId, ApEntityId newId) const override in AddAbcIdRemap()
76 const std::map<ApEntityId, ApEntityId> &GetAbcIdRemap() const override in GetAbcIdRemap()
87 mutable std::map<ApEntityId, ApEntityId> abcIdRemap_;
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/
Dpgo_profile_type.h38 using ApEntityId = pgo::ApEntityId; variable
157 ProfileType(ApEntityId abcId, uint32_t type, Kind kind = Kind::ClassId, bool root = false)
176 static ProfileType CreateBuiltinsArray(ApEntityId abcId, JSType type, ElementsKind kind, in CreateBuiltinsArray()
184 static ProfileType CreateBuiltinsTypedArray(ApEntityId abcId, JSType type, OnHeapMode onHeap) in CreateBuiltinsTypedArray()
190 static ProfileType CreateBuiltins(ApEntityId abcId, JSType type) in CreateBuiltins()
263 ApEntityId GetAbcId() const in GetAbcId()
268 void UpdateAbcId(ApEntityId abcId) in UpdateAbcId()
384 explicit ProfileTypeRef(ApEntityId type) in ProfileTypeRef()
413 ApEntityId GetId() const in GetId()
433 void UpdateId(ApEntityId typeId) in UpdateId()
[all …]
Dpgo_profile_type.cpp28 ApEntityId apId(0); in ProfileTypeRef()
Dpgo_profiler_type.h109 static PGOSampleTemplate CreateProfileType(ApEntityId recordId, int32_t profileType,
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
Dsnapshot_constantpool_data.h24 using ApEntityId = pgo::ApEntityId; variable
69 bool TryGetABCId(ApEntityId &abcId);
Daot_snapshot.cpp75 pgo::ApEntityId fileId = INVALID_INDEX; in StoreConstantPoolInfo()
Dsnapshot_constantpool_data.cpp33 bool BaseSnapshotInfo::TryGetABCId(ApEntityId &abcId) in TryGetABCId()
119 ApEntityId abcId = INVALID_INDEX; in StoreDataToGlobalData()
155 ApEntityId abcId = INVALID_INDEX; in StoreDataToGlobalData()
189 ApEntityId abcId = INVALID_INDEX; in StoreDataToGlobalData()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dprogram_object.h351 pgo::ApEntityId abcId(0); in GetLiteralFromCache()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dfile_generators.cpp406 pgo::ApEntityId abcId = INVALID_INDEX; in CollectCodeInfo()