Lines Matching refs:pmi
709 const OfflineProfileMethodInfo& pmi, in AddMethod() argument
730 if (pmi.inline_caches == nullptr) { in AddMethod()
734 for (const auto& pmi_inline_cache_it : *pmi.inline_caches) { in AddMethod()
753 const DexReference& dex_ref = pmi.dex_references[class_ref.dex_profile_index]; in AddMethod()
767 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, MethodHotness::Flag flags) { in AddMethod() argument
768 DexFileData* const data = GetOrAddDexFileData(pmi.ref.dex_file); in AddMethod()
772 InlineCacheMap* inline_cache = data->FindOrAddMethod(pmi.ref.index); in AddMethod()
776 data->SetMethodHotness(pmi.ref.index, flags); in AddMethod()
778 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod()
1755 std::unique_ptr<OfflineProfileMethodInfo> pmi(new OfflineProfileMethodInfo(inline_caches)); in GetMethod() local
1757 pmi->dex_references.resize(info_.size()); in GetMethod()
1759 pmi->dex_references[dex_data->profile_index].dex_location = dex_data->profile_key; in GetMethod()
1760 pmi->dex_references[dex_data->profile_index].dex_checksum = dex_data->checksum; in GetMethod()
1761 pmi->dex_references[dex_data->profile_index].num_method_ids = dex_data->num_method_ids; in GetMethod()
1764 return pmi; in GetMethod()