/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_profiler.h | 53 EntityId methodId, ApEntityId abcId, const uint8_t *pcStart, 98 void ConvertICByNameWithHandler(ApEntityId abcId, int32_t bcOffset, JSHClass *hclass, 100 void HandleLoadType(ApEntityId &abcId, int32_t &bcOffset, 102 void HandleLoadTypeInt(ApEntityId &abcId, int32_t &bcOffset, 104 void HandleLoadTypePrototypeHandler(ApEntityId &abcId, int32_t &bcOffset, 106 void HandleOtherTypes(ApEntityId &abcId, int32_t &bcOffset, 108 void HandleTransitionHandler(ApEntityId &abcId, int32_t &bcOffset, 110 void HandleTransWithProtoHandler(ApEntityId &abcId, int32_t &bcOffset, 112 void HandleOtherTypesPrototypeHandler(ApEntityId &abcId, int32_t &bcOffset, 114 void HandleStoreTSHandler(ApEntityId &abcId, int32_ [all...] |
H A D | jit_profiler.cpp | 34 EntityId methodId, ApEntityId abcId, const uint8_t *pcStart, uint32_t codeSize, in ProfileBytecode() 41 abcId_ = abcId; in ProfileBytecode() 459 void JITProfiler::ConvertICByNameWithHandler(ApEntityId abcId, int32_t bcOffset, in ConvertICByNameWithHandler() argument 464 HandleLoadType(abcId, bcOffset, hclass, secondValue, slotId); in ConvertICByNameWithHandler() 468 HandleOtherTypes(abcId, bcOffset, hclass, secondValue, slotId); in ConvertICByNameWithHandler() 471 void JITProfiler::HandleLoadType(ApEntityId &abcId, int32_t &bcOffset, in HandleLoadType() argument 475 HandleLoadTypeInt(abcId, bcOffset, hclass, secondValue); in HandleLoadType() 477 HandleLoadTypePrototypeHandler(abcId, bcOffset, hclass, secondValue, slotId); in HandleLoadType() 481 void JITProfiler::HandleLoadTypeInt(ApEntityId &abcId, int32_t &bcOffset, in HandleLoadTypeInt() argument 488 if (AddBuiltinsInfoByNameInInstance(abcId, bcOffse in HandleLoadTypeInt() 32 ProfileBytecode(JSThread *thread, const JSHandle<ProfileTypeInfo> &profileTypeInfo, ProfileTypeInfo *rawProfileTypeInfo, EntityId methodId, ApEntityId abcId, const uint8_t *pcStart, uint32_t codeSize, [[maybe_unused]]const panda_file::File::Header *header, bool useRawProfileTypeInfo) ProfileBytecode() argument 496 HandleLoadTypePrototypeHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) HandleLoadTypePrototypeHandler() argument 534 HandleOtherTypes(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) HandleOtherTypes() argument 552 HandleTransitionHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleTransitionHandler() argument 563 HandleTransWithProtoHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleTransWithProtoHandler() argument 580 HandleOtherTypesPrototypeHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue, uint32_t slotId) HandleOtherTypesPrototypeHandler() argument 607 HandleStoreTSHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleStoreTSHandler() argument 622 ConvertICByNameWithPoly(ApEntityId abcId, int32_t bcOffset, JSTaggedValue cacheValue, BCType type, uint32_t slotId) ConvertICByNameWithPoly() argument 674 ConvertICByValueWithHandler(ApEntityId abcId, int32_t bcOffset, JSHClass *hclass, JSTaggedValue secondValue, BCType type) ConvertICByValueWithHandler() argument 700 HandleStoreType(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleStoreType() argument 726 HandleTransition(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleTransition() argument 746 HandleTransWithProto(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandleTransWithProto() argument 765 HandlePrototypeHandler(ApEntityId &abcId, int32_t &bcOffset, JSHClass *hclass, JSTaggedValue &secondValue) HandlePrototypeHandler() argument 792 ConvertICByValueWithPoly(ApEntityId abcId, int32_t bcOffset, JSTaggedValue cacheValue, BCType type) ConvertICByValueWithPoly() argument 897 AddObjectInfo(ApEntityId abcId, int32_t bcOffset, JSHClass *receiver, JSHClass *hold, JSHClass *holdTra, uint32_t accessorMethodId) AddObjectInfo() argument 919 AddBuiltinsInfo(ApEntityId abcId, int32_t bcOffset, JSHClass *receiver, JSHClass *transitionHClass, OnHeapMode onHeap, bool everOutOfBounds) AddBuiltinsInfo() argument 942 AddBuiltinsGlobalInfo(ApEntityId abcId, int32_t bcOffset, GlobalIndex globalsId) AddBuiltinsGlobalInfo() argument 948 AddBuiltinsInfoByNameInInstance(ApEntityId abcId, int32_t bcOffset, JSHClass *receiver) AddBuiltinsInfoByNameInInstance() argument 992 AddBuiltinsInfoByNameInProt(ApEntityId abcId, int32_t bcOffset, JSHClass *receiver, JSHClass *hold) AddBuiltinsInfoByNameInProt() argument [all...] |
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler.cpp | 35 pgo::ApEntityId abcId(0); in RecordProfileType() 36 pgo::PGOProfilerManager::GetInstance()->GetPandaFileId(pandaFile->GetJSPandaFileDesc(), abcId); in RecordProfileType() 37 SetRootProfileType(hclass, abcId, traceId, ProfileType::Kind::ObjectLiteralId); in RecordProfileType() 62 auto abcId = GetMethodAbcId(ctorFunc); in ProfileDefineClass() local 64 SetRootProfileType(chc, abcId, entityId, ProfileType::Kind::ConstructorId); in ProfileDefineClass() 69 SetRootProfileType(ihc, abcId, entityId, ProfileType::Kind::ClassId); in ProfileDefineClass() 74 SetRootProfileType(phc, abcId, entityId, ProfileType::Kind::PrototypeId); in ProfileDefineClass() 103 auto abcId = GetMethodAbcId(ctorFunc); in ProfileClassRootHClass() local 104 SetRootProfileType(rootHc, abcId, entityId, kind); in ProfileClassRootHClass() 526 void PGOProfiler::UpdateExtraProfileTypeInfo(ApEntityId abcId, in UpdateExtraProfileTypeInfo() argument 580 ProcessExtraProfileTypeInfo(JSFunction *func, ApEntityId abcId, const CString &recordName, JSTaggedValue methodValue, WorkNode *current) ProcessExtraProfileTypeInfo() argument 661 auto abcId = GetMethodAbcId(func); HandlePGODumpByDumpThread() local 722 ProfileBytecode(ApEntityId abcId, const CString &recordName, JSTaggedValue funcValue) ProfileBytecode() argument 967 DumpICByName(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo, BCType type) DumpICByName() argument 990 DumpICByValue(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo, BCType type) DumpICByValue() argument 1018 DumpICByNameWithPoly(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSTaggedValue cacheValue, BCType type) DumpICByNameWithPoly() argument 1045 DumpICByValueWithPoly(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSTaggedValue cacheValue, BCType type) DumpICByValueWithPoly() argument 1069 DumpICByNameWithHandler(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSHClass *hclass, JSTaggedValue secondValue, BCType type) DumpICByNameWithHandler() argument 1122 DumpICLoadByNameWithHandler(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSHClass *hclass, JSTaggedValue secondValue) DumpICLoadByNameWithHandler() argument 1164 DumpICByValueWithHandler(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSHClass *hclass, JSTaggedValue secondValue, BCType type) DumpICByValueWithHandler() argument 1308 DumpOpType(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpOpType() argument 1327 DumpDefineClass(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpDefineClass() argument 1388 DumpCreateObject(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo, int32_t traceId) DumpCreateObject() argument 1429 DumpCall(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpCall() argument 1459 DumpGetIterator(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpGetIterator() argument 1477 DumpNewObjRange(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpNewObjRange() argument 1502 DumpInstanceof(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, ProfileTypeInfo *profileTypeInfo) DumpInstanceof() argument 1647 AddObjectInfo(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSHClass *receiver, JSHClass *hold, JSHClass *holdTra, uint32_t accessorMethodId) AddObjectInfo() argument 1681 AddObjectInfoWithMega( ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset) AddObjectInfoWithMega() argument 1690 AddBuiltinsInfoByNameInInstance(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSHClass *receiver) AddBuiltinsInfoByNameInInstance() argument 1734 AddBuiltinsInfoByNameInProt(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSHClass *receiver, JSHClass *hold) AddBuiltinsInfoByNameInProt() argument 1796 AddBuiltinsGlobalInfo(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, GlobalIndex globalsId) AddBuiltinsGlobalInfo() argument 1804 AddBuiltinsInfo( ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSHClass *receiver, JSHClass *transitionHClass, OnHeapMode onHeap, bool everOutOfBounds) AddBuiltinsInfo() argument 1843 SetRootProfileType(JSHClass *root, ApEntityId abcId, uint32_t type, ProfileType::Kind kind) SetRootProfileType() argument 1986 GetRecordProfileType(ApEntityId abcId, const CString &recordName) GetRecordProfileType() argument 1999 GetRecordProfileType(const std::shared_ptr<JSPandaFile> &pf, ApEntityId abcId, const CString &recordName) GetRecordProfileType() argument 2089 CreateRecordProfileType(ApEntityId abcId, ApEntityId classId) CreateRecordProfileType() argument [all...] |
H A D | pgo_profiler.h | 64 static ProfileType CreateRecordProfileType(ApEntityId abcId, ApEntityId classId); 124 void ProfileBytecode(ApEntityId abcId, const CString& recordName, JSTaggedValue funcValue); 163 void DumpICByName(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, uint32_t slotId, 165 void DumpICByValue(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, 168 void DumpICByNameWithPoly(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, 170 void DumpICByValueWithPoly(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, 173 bool DumpICByNameWithHandler(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, 175 bool DumpICLoadByNameWithHandler(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, 177 void DumpICByValueWithHandler(ApEntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, 184 void DumpOpType(ApEntityId abcId, cons [all...] |
H A D | pgo_profiler_decoder.h | 180 bool GetAbcNameById(ApEntityId abcId, CString &abcName) const in GetAbcNameById() argument 188 const auto *entry = abcFilePool_->GetPool()->GetEntry(abcId); in GetAbcNameById() 190 LOG_COMPILER(ERROR) << "Can not find abcId in pgo file. abcId: " << abcId; in GetAbcNameById()
|
H A D | pgo_profiler_manager.h | 161 bool GetPandaFileDesc(ApEntityId abcId, CString &desc) const in GetPandaFileDesc() argument 164 return encoder_->GetPandaFileDesc(abcId, desc); in GetPandaFileDesc()
|
H A D | pgo_profiler_encoder.cpp | 110 bool PGOProfilerEncoder::GetPandaFileDesc(ApEntityId abcId, CString &desc) in GetPandaFileDesc() argument 116 const auto *entry = abcFilePool_->GetEntry(abcId); in GetPandaFileDesc()
|
H A D | pgo_profiler_encoder.h | 70 bool GetPandaFileDesc(ApEntityId abcId, CString &desc);
|
H A D | pgo_profiler_info.cpp | 748 // step2: [abc pool merge] remap decoder's profileType pool's abcId field. in ParseFromBinary() 1013 // step2: [abc pool merge] remap decoder's profileType pool's abcId field. in ParseFromBinary() 1035 auto abcId = recordType.GetAbcId(); in ParseFromBinary() local 1036 const auto *entry = abcFilePool->GetPool()->GetEntry(abcId); in ParseFromBinary()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/ |
H A D | pgo_profile_type.h | 205 ProfileType(ApEntityId abcId, uint32_t type, Kind kind = Kind::ClassId, bool root = false, in ProfileType() argument 211 UpdateAbcId(abcId); in ProfileType() 235 static ProfileType CreateBuiltinsArray(ApEntityId abcId, JSType type, ElementsKind kind, in CreateBuiltinsArray() argument 240 return ProfileType(abcId, id, Kind::BuiltinsId, false, everOutOfBounds); in CreateBuiltinsArray() 243 static ProfileType CreateBuiltinsTypedArray(ApEntityId abcId, JSType type, OnHeapMode onHeap, in CreateBuiltinsTypedArray() argument 247 return ProfileType(abcId, id, Kind::BuiltinsId, false, everOutOfBounds); in CreateBuiltinsTypedArray() 250 static ProfileType CreateBuiltins(ApEntityId abcId, JSType type) in CreateBuiltins() argument 253 return ProfileType(abcId, id, Kind::BuiltinsId); in CreateBuiltins() 256 static ProfileType CreateGlobals(ApEntityId abcId, GlobalIndex globalsId) in CreateGlobals() argument 259 return ProfileType(abcId, i in CreateGlobals() 379 UpdateAbcId(ApEntityId abcId) UpdateAbcId() argument [all...] |
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/component/sheet/ |
H A D | TabPaneApSummary.js | 336 let abcId = this.abcFilePoolMap.get(String(item.abcId)); 337 if (abcId === undefined) { 338 abcId = '-'; 346 apAbcId: (item === null || item === void 0 ? void 0 : item.abcId) === undefined ? '-' : abcId, 361 return [item.abcId, fileName]; 415 this.abcId = '-';
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/ |
H A D | snapshot_constantpool_data.cpp | 31 bool BaseSnapshotInfo::TryGetABCId(ApEntityId &abcId) in TryGetABCId() argument 33 return pfDecoder_->GetABCIdByJSPandaFile(jsPandaFile_, abcId); in TryGetABCId() 237 ApEntityId abcId = INVALID_INDEX; in StoreDataToGlobalData() local 238 bool hasAbcId = TryGetABCId(abcId); in StoreDataToGlobalData() 252 ProfileType pt(abcId, methodOffset, ProfileType::Kind::ClassId, true); in StoreDataToGlobalData() 285 ApEntityId abcId = INVALID_INDEX; in StoreDataToGlobalData() local 286 bool hasAbcId = TryGetABCId(abcId); in StoreDataToGlobalData() 303 ProfileType pt(abcId, methodId, ProfileType::Kind::ClassId, true); in StoreDataToGlobalData() 304 ProfileType ctorPt(abcId, methodId, ProfileType::Kind::ConstructorId, true); in StoreDataToGlobalData() 333 ApEntityId abcId in StoreDataToGlobalData() local [all...] |
H A D | snapshot_constantpool_data.h | 69 bool TryGetABCId(ApEntityId &abcId);
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_symbol.h | 142 static uint64_t GeneratePrivateId(uint64_t abcId, uint64_t literalId, uint64_t slotIndex) in GeneratePrivateId() argument 144 return JSTaggedValueInternals::DOUBLE_ENCODE_OFFSET | (abcId << ABC_ID_OFFSET_BIT) | in GeneratePrivateId()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | compilation_driver.h | 154 const panda_file::File::Header *header, ApEntityId abcId, const Callback &cb) in CompileMethod() 172 methodOffset, methodPcInfo, methodInfo, module, pcStart, header, abcId); in CompileMethod() 152 CompileMethod(const JSPandaFile *jsPandaFile, MethodLiteral *methodLiteral, JSHandle<ProfileTypeInfo> &profileTypeInfo, const uint8_t *pcStart, const panda_file::File::Header *header, ApEntityId abcId, const Callback &cb) CompileMethod() argument
|
H A D | pass_manager.cpp | 57 ApEntityId abcId = compilationEnv_->GetMethodAbcId(); in Compile() local 74 return cmpDriver_->CompileMethod(jsPandaFile, methodLiteral, profileTypeInfo, pcStart, header, abcId, in Compile() 86 ApEntityId abcId) -> bool { in Compile() 110 methodLiteral->GetMethodId(), abcId, pcStart, in Compile()
|
H A D | file_generators.cpp | 446 pgo::ApEntityId abcId = INVALID_INDEX; in CollectCodeInfo() local 447 pgo::PGOProfilerManager::GetInstance()->GetPandaFileId(curCompileFileName_.c_str(), abcId); in CollectCodeInfo() 448 module->CollectFuncEntryInfo(addr2name, aotInfo_, abcId, moduleIdx, GetLog()); in CollectCodeInfo()
|
H A D | typed_bytecode_lowering.cpp | 1887 auto abcId = profileType->GetProfileType().GetAbcId(); in GetCalleePandaFile() local 1889 if (!decoder_->GetAbcNameById(abcId, fileDesc)) { in GetCalleePandaFile()
|
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/ |
H A D | pgo_type_recorder.cpp | 137 auto abcId = type.GetAbcId(); in IsValidPt() local 139 if (decoder_.GetAbcNameById(abcId, abcName)) { in IsValidPt()
|
/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/ |
H A D | opt_code_profiler.h | 46 // methodId, abcId, bcIndex, Value1(opcode, fastcount, slowcount),Value2(methodName, totalcount)
47 // key: methodId, abcId
90 Key(uint32_t abcId, uint32_t methodId)
in Key() 92 abcAndMethodId_ = (((uint64_t)abcId) << 32) + methodId; // 32: 32bit
in Key()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | frame_handler.cpp | 163 uint32_t abcId; in GetAbcId() local 164 if (!pm->GetPandaFileId(CString(abcName), abcId) && !abcName.empty()) { in GetAbcId() 167 return abcId; in GetAbcId()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs-inl.h | 3230 uint32_t abcId = frameHandler.GetAbcId(); 3234 uint64_t id = JSSymbol::GeneratePrivateId(abcId, literalId, index); 3273 uint64_t id = JSSymbol::GeneratePrivateId(abcId, literalId, index);
|