/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/ |
D | pgo_profile_type_pool.h | 45 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()
|
D | pool_template.h | 36 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 …]
|
D | pgo_record_pool.h | 43 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/ |
D | pgo_profiler.h | 58 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 …]
|
D | pgo_context.h | 43 virtual void AddAbcIdRemap(ApEntityId oldId, ApEntityId newId) const = 0; 44 virtual const std::map<ApEntityId, ApEntityId> &GetAbcIdRemap() const = 0;
|
D | pgo_profiler_info.h | 528 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_;
|
D | pgo_profiler.cpp | 40 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 …]
|
D | pgo_profiler_encoder.h | 69 bool GetPandaFileId(const CString &abcName, ApEntityId &entryId); 70 bool GetPandaFileDesc(ApEntityId abcId, CString &desc);
|
D | pgo_profiler_encoder.cpp | 89 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()
|
D | pgo_profiler_decoder.h | 171 bool GetAbcNameById(ApEntityId abcId, CString &abcName) const in GetAbcNameById() 188 bool GetABCIdByJSPandaFile(const JSPandaFile *jsPandaFile, ApEntityId &entryId) const in GetABCIdByJSPandaFile()
|
D | pgo_utils.h | 27 using ApEntityId = uint32_t; variable
|
D | pgo_profiler_manager.h | 152 bool GetPandaFileId(const CString &abcName, ApEntityId &entryId) const in GetPandaFileId() 160 bool GetPandaFileDesc(ApEntityId abcId, CString &desc) const in GetPandaFileDesc()
|
D | pgo_profiler_info.cpp | 738 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/ |
D | pgo_context_mock.h | 71 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/ |
D | pgo_profile_type.h | 38 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 …]
|
D | pgo_profile_type.cpp | 28 ApEntityId apId(0); in ProfileTypeRef()
|
D | pgo_profiler_type.h | 109 static PGOSampleTemplate CreateProfileType(ApEntityId recordId, int32_t profileType,
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/ |
D | snapshot_constantpool_data.h | 24 using ApEntityId = pgo::ApEntityId; variable 69 bool TryGetABCId(ApEntityId &abcId);
|
D | aot_snapshot.cpp | 75 pgo::ApEntityId fileId = INVALID_INDEX; in StoreConstantPoolInfo()
|
D | snapshot_constantpool_data.cpp | 33 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/ |
D | program_object.h | 351 pgo::ApEntityId abcId(0); in GetLiteralFromCache()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | file_generators.cpp | 406 pgo::ApEntityId abcId = INVALID_INDEX; in CollectCodeInfo()
|