Searched refs:pmi (Results 1 – 4 of 4) sorted by relevance
136 ProfileMethodInfo pmi(MethodReference(method->GetDexFile(), in SaveProfilingInfoWithFakeInlineCaches() local139 profile_methods.push_back(pmi); in SaveProfilingInfoWithFakeInlineCaches()140 profile_methods_map->Put(method, pmi); in SaveProfilingInfoWithFakeInlineCaches()158 const ProfileMethodInfo& pmi) { in ConvertProfileMethodInfo() argument162 for (const auto& inline_cache : pmi.inline_caches) { in ConvertProfileMethodInfo()289 const ProfileMethodInfo& pmi = profile_methods_map.find(m)->second; in TEST_F() local294 ConvertProfileMethodInfo(pmi); in TEST_F()
338 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> pmi = in AssertInlineCaches() local341 ASSERT_TRUE(pmi != nullptr); in AssertInlineCaches()342 ASSERT_EQ(pmi->inline_caches->size(), 1u); in AssertInlineCaches()343 const ProfileCompilationInfo::DexPcData& dex_pc_data = pmi->inline_caches->begin()->second; in AssertInlineCaches()352 pmi->dex_references[class_ref.dex_profile_index]; in AssertInlineCaches()730 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> pmi = in TEST_F() local732 ASSERT_TRUE(pmi != nullptr) << method.PrettyMethod(); in TEST_F()1183 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> pmi = in TEST_F() local1185 ASSERT_TRUE(pmi != nullptr); in TEST_F()1186 ASSERT_EQ(pmi->inline_caches->size(), 1u); in TEST_F()[all …]
714 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, in AddMethod() argument717 DexFileData* const data = GetOrAddDexFileData(pmi.ref.dex_file, annotation); in AddMethod()721 if (!data->AddMethod(flags, pmi.ref.index)) { in AddMethod()734 InlineCacheMap* inline_cache = data->FindOrAddHotMethod(pmi.ref.index); in AddMethod()737 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod()1614 std::unique_ptr<OfflineProfileMethodInfo> pmi(new OfflineProfileMethodInfo(inline_caches)); in GetHotMethodInfo() local1616 pmi->dex_references.resize(info_.size()); in GetHotMethodInfo()1618 pmi->dex_references[dex_data->profile_index].profile_key = dex_data->profile_key; in GetHotMethodInfo()1619 pmi->dex_references[dex_data->profile_index].dex_checksum = dex_data->checksum; in GetHotMethodInfo()1620 pmi->dex_references[dex_data->profile_index].num_method_ids = dex_data->num_method_ids; in GetHotMethodInfo()[all …]
362 bool AddMethod(const ProfileMethodInfo& pmi,