Lines Matching refs:pmi
81 const ProfileCompilationInfo::OfflineProfileMethodInfo& pmi, in AddMethod() argument
84 dex_location, checksum, method_index, kMaxMethodIds, pmi, Hotness::kFlagPostStartup); in AddMethod()
169 ProfileMethodInfo pmi(MethodReference(method->GetDexFile(), in SaveProfilingInfoWithFakeInlineCaches() local
172 profile_methods.push_back(pmi); in SaveProfilingInfoWithFakeInlineCaches()
173 profile_methods_map->Put(method, pmi); in SaveProfilingInfoWithFakeInlineCaches()
191 const ProfileMethodInfo& pmi) { in ConvertProfileMethodInfo() argument
195 for (const auto& inline_cache : pmi.inline_caches) { in ConvertProfileMethodInfo()
251 ProfileCompilationInfo::OfflineProfileMethodInfo pmi(ic_map); in GetOfflineProfileMethodInfo() local
253 pmi.dex_references.emplace_back("dex_location1", /* checksum */1, kMaxMethodIds); in GetOfflineProfileMethodInfo()
254 pmi.dex_references.emplace_back("dex_location2", /* checksum */2, kMaxMethodIds); in GetOfflineProfileMethodInfo()
255 pmi.dex_references.emplace_back("dex_location3", /* checksum */3, kMaxMethodIds); in GetOfflineProfileMethodInfo()
257 return pmi; in GetOfflineProfileMethodInfo()
260 void MakeMegamorphic(/*out*/ProfileCompilationInfo::OfflineProfileMethodInfo* pmi) { in MakeMegamorphic() argument
262 const_cast<ProfileCompilationInfo::InlineCacheMap*>(pmi->inline_caches); in MakeMegamorphic()
270 void SetIsMissingTypes(/*out*/ProfileCompilationInfo::OfflineProfileMethodInfo* pmi) { in SetIsMissingTypes() argument
272 const_cast<ProfileCompilationInfo::InlineCacheMap*>(pmi->inline_caches); in SetIsMissingTypes()
601 ProfileCompilationInfo::OfflineProfileMethodInfo pmi = GetOfflineProfileMethodInfo(); in TEST_F() local
607 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, method_idx, pmi, &saved_info)); in TEST_F()
609 ASSERT_TRUE(AddMethod("dex_location4", /* checksum */ 4, method_idx, pmi, &saved_info)); in TEST_F()
625 ASSERT_TRUE(*loaded_pmi1 == pmi); in TEST_F()
629 ASSERT_TRUE(*loaded_pmi2 == pmi); in TEST_F()
636 ProfileCompilationInfo::OfflineProfileMethodInfo pmi = GetOfflineProfileMethodInfo(); in TEST_F() local
640 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, method_idx, pmi, &saved_info)); in TEST_F()
651 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, method_idx, pmi, &saved_info_extra)); in TEST_F()
679 ProfileCompilationInfo::OfflineProfileMethodInfo pmi = GetOfflineProfileMethodInfo(); in TEST_F() local
683 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, method_idx, pmi, &saved_info)); in TEST_F()
694 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, method_idx, pmi, &saved_info_extra)); in TEST_F()
702 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, method_idx, pmi, &saved_info_extra)); in TEST_F()
754 const ProfileMethodInfo& pmi = profile_methods_map.find(m)->second; in TEST_F() local
761 ConvertProfileMethodInfo(pmi); in TEST_F()
789 ProfileCompilationInfo::OfflineProfileMethodInfo pmi(ic_map); in TEST_F() local
790 pmi.dex_references.emplace_back("dex_location1", /* checksum */ 1, kMaxMethodIds); in TEST_F()
791 pmi.dex_references.emplace_back("dex_location2", /* checksum */ 2, kMaxMethodIds); in TEST_F()
813 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, method_idx, pmi, &info)); in TEST_F()
814 ASSERT_TRUE(AddMethod("dex_location2", /* checksum */ 2, method_idx, pmi, &info)); in TEST_F()
833 ASSERT_TRUE(*loaded_pmi1 == pmi); in TEST_F()
837 ASSERT_TRUE(*loaded_pmi2 == pmi); in TEST_F()
856 ProfileCompilationInfo::OfflineProfileMethodInfo pmi(ic_map); in TEST_F() local
857 pmi.dex_references.emplace_back("dex_location1", /* checksum */ 1, kMaxMethodIds); in TEST_F()
866 pmi, in TEST_F()
886 ProfileCompilationInfo::OfflineProfileMethodInfo pmi(ic_map); in TEST_F() local
887 pmi.dex_references.emplace_back("dex_location1", /* checksum */ 1, kMaxMethodIds); in TEST_F()
896 pmi, in TEST_F()
1145 ProfileCompilationInfo::OfflineProfileMethodInfo pmi = GetOfflineProfileMethodInfo(); in TEST_F() local
1150 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, method_idx, pmi, &saved_info)); in TEST_F()
1151 ASSERT_TRUE(AddMethod("dex_location2", /* checksum */ 2, method_idx, pmi, &saved_info)); in TEST_F()
1153 ASSERT_TRUE(AddMethod("dex_location4", /* checksum */ 4, method_idx, pmi, &saved_info)); in TEST_F()
1235 ProfileCompilationInfo::OfflineProfileMethodInfo pmi = GetOfflineProfileMethodInfo(); in TEST_F() local
1240 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, method_idx, pmi, &saved_info)); in TEST_F()
1241 ASSERT_TRUE(AddMethod("dex_location2", /* checksum */ 2, method_idx, pmi, &saved_info)); in TEST_F()
1243 ASSERT_TRUE(AddMethod("dex_location4", /* checksum */ 4, method_idx, pmi, &saved_info)); in TEST_F()
1266 ProfileCompilationInfo::OfflineProfileMethodInfo pmi = GetOfflineProfileMethodInfo(); in TEST_F() local
1272 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, method_idx, pmi, &saved_info)); in TEST_F()
1274 ASSERT_TRUE(AddMethod("dex_location4", /* checksum */ 4, method_idx, pmi, &saved_info)); in TEST_F()
1296 ASSERT_TRUE(*loaded_pmi1 == pmi); in TEST_F()
1302 ASSERT_TRUE(*loaded_pmi2 == pmi); in TEST_F()