Lines Matching defs:methodId
175 PGOMethodId methodId(jsMethod->GetMethodId());
176 auto result = methodInfos_.find(methodId);
191 auto info = new (infoAddr) PGOMethodInfo(methodId, 0, mode, methodName.c_str());
193 methodInfos_.emplace(methodId, info);
196 methodsChecksum_.emplace(methodId, checksum);
201 PGOMethodTypeSet *PGOMethodInfoMap::GetOrInsertMethodTypeSet(Chunk *chunk, PGOMethodId methodId)
203 auto typeInfoSetIter = methodTypeInfos_.find(methodId);
208 methodTypeInfos_.emplace(methodId, typeInfoSet);
213 bool PGOMethodInfoMap::AddType(Chunk *chunk, PGOMethodId methodId, int32_t offset, PGOSampleType type)
215 auto typeInfoSet = GetOrInsertMethodTypeSet(chunk, methodId);
221 bool PGOMethodInfoMap::AddCallTargetType(Chunk *chunk, PGOMethodId methodId, int32_t offset, PGOSampleType type)
223 auto typeInfoSet = GetOrInsertMethodTypeSet(chunk, methodId);
229 bool PGOMethodInfoMap::AddObjectInfo(Chunk *chunk, PGOMethodId methodId, int32_t offset, const PGOObjectInfo &info)
231 auto typeInfoSet = GetOrInsertMethodTypeSet(chunk, methodId);
237 bool PGOMethodInfoMap::AddDefine(Chunk *chunk, PGOMethodId methodId, int32_t offset, PGODefineOpType type)
239 auto typeInfoSet = GetOrInsertMethodTypeSet(chunk, methodId);
248 auto methodId = iter->first;
251 auto result = methodInfos_.find(methodId);
260 methodId, fromMethodInfo->GetCount(), fromMethodInfo->GetSampleMode(), fromMethodInfo->GetMethodName());
261 methodInfos_.emplace(methodId, newMethodInfo);
267 auto methodId = iter->first;
270 auto result = methodTypeInfos_.find(methodId);
277 methodTypeInfos_.emplace(methodId, typeInfoSet);
282 auto methodId = iter->first;
283 auto result = methodsChecksum_.find(methodId);
285 methodsChecksum_.emplace(methodId, iter->second);
393 uint32_t methodId;
394 if (!StringHelper::StrToUInt32(infoStrings[PGOMethodInfo::METHOD_ID_INDEX].c_str(), &methodId)) {
401 auto info = new (infoAddr) PGOMethodInfo(PGOMethodId(methodId), count, mode, methodName.c_str());
402 methodInfos_.emplace(methodId, info);
592 bool PGORecordDetailInfos::AddType(ProfileType recordProfileType, PGOMethodId methodId, int32_t offset,
597 return curMethodInfos->AddType(chunk_.get(), methodId, offset, type);
600 bool PGORecordDetailInfos::AddCallTargetType(ProfileType recordProfileType, PGOMethodId methodId, int32_t offset,
605 return curMethodInfos->AddCallTargetType(chunk_.get(), methodId, offset, type);
609 ProfileType recordProfileType, EntityId methodId, int32_t offset, const PGOObjectInfo &info)
613 return curMethodInfos->AddObjectInfo(chunk_.get(), methodId, offset, info);
617 ProfileType recordProfileType, PGOMethodId methodId, int32_t offset, PGODefineOpType type)
621 curMethodInfos->AddDefine(chunk_.get(), methodId, offset, type);
987 bool PGORecordSimpleInfos::Match(const CString &abcNormalizedDesc, const CString &recordName, EntityId methodId)
1000 return methodIdsIter->second->Match(methodId);