Lines Matching refs:ProfileCompilationInfo

67   ProfileCompilationInfo::MethodHotness GetMethod(  in GetMethod()
68 const ProfileCompilationInfo& info, in GetMethod()
115 while (cache.classes.size() < ProfileCompilationInfo::kIndividualInlineCacheSize) { in MakeMegamorphic()
137 ProfileCompilationInfo saved_info; in TestProfileLoadFromZip()
161 ProfileCompilationInfo loaded_info; in TestProfileLoadFromZip()
172 bool IsEmpty(const ProfileCompilationInfo& info) { in IsEmpty()
177 ProfileCompilationInfo boot_profile(/*for_boot_image=*/ true); in SizeStressTest()
178 ProfileCompilationInfo reg_profile(/*for_boot_image=*/ false); in SizeStressTest()
218 ProfileCompilationInfo loaded_boot(/*for_boot_image=*/ true); in SizeStressTest()
219 ProfileCompilationInfo loaded_reg; in SizeStressTest()
250 std::vector<std::unique_ptr<ProfileCompilationInfo::InlineCacheMap>> used_inline_caches;
254 ProfileCompilationInfo info; in TEST_F()
289 ProfileCompilationInfo saved_info; in TEST_F()
299 ProfileCompilationInfo loaded_info; in TEST_F()
314 ProfileCompilationInfo loaded_info2; in TEST_F()
322 ProfileCompilationInfo info; in TEST_F()
331 ProfileCompilationInfo info1; in TEST_F()
334 ProfileCompilationInfo info2; in TEST_F()
344 ProfileCompilationInfo info1; in TEST_F()
347 ProfileCompilationInfo info2; in TEST_F()
371 ProfileCompilationInfo saved_info; in TEST_F()
387 ProfileCompilationInfo loaded_info; in TEST_F()
395 ProfileCompilationInfo saved_info; in TEST_F()
400 ProfileCompilationInfo loaded_info; in TEST_F()
408 ProfileCompilationInfo empty_info; in TEST_F()
410 ProfileCompilationInfo loaded_info; in TEST_F()
419 ProfileCompilationInfo loaded_info; in TEST_F()
427 ProfileCompilationInfo::kProfileMagic, kProfileMagicSize)); in TEST_F()
432 ProfileCompilationInfo loaded_info; in TEST_F()
439 ProfileCompilationInfo::kProfileMagic, kProfileMagicSize)); in TEST_F()
441 ProfileCompilationInfo::kProfileVersion, kProfileVersionSize)); in TEST_F()
447 ProfileCompilationInfo loaded_info; in TEST_F()
454 ProfileCompilationInfo::kProfileMagic, kProfileMagicSize)); in TEST_F()
456 ProfileCompilationInfo::kProfileVersion, kProfileVersionSize)); in TEST_F()
491 ProfileCompilationInfo loaded_info; in TEST_F()
498 ProfileCompilationInfo saved_info; in TEST_F()
514 ProfileCompilationInfo loaded_info; in TEST_F()
521 ProfileCompilationInfo saved_info; in TEST_F()
537 ProfileCompilationInfo loaded_info; in TEST_F()
542 ProfileCompilationInfo::MethodHotness loaded_hotness1 = in TEST_F()
546 ProfileCompilationInfo::MethodHotness loaded_hotness2 = in TEST_F()
553 ProfileCompilationInfo saved_info; in TEST_F()
566 ProfileCompilationInfo saved_info_extra; in TEST_F()
581 ProfileCompilationInfo loaded_info; in TEST_F()
586 ProfileCompilationInfo::MethodHotness loaded_hotness1 = in TEST_F()
594 ProfileCompilationInfo saved_info; in TEST_F()
607 ProfileCompilationInfo saved_info_extra; in TEST_F()
630 ProfileCompilationInfo loaded_info; in TEST_F()
635 ProfileCompilationInfo::MethodHotness loaded_hotness1 = in TEST_F()
644 ProfileCompilationInfo info; in TEST_F()
675 ProfileCompilationInfo info; in TEST_F()
680 const ProfileCompilationInfo::InlineCacheMap* inline_cache_map = hotness.GetInlineCacheMap(); in TEST_F()
684 const ProfileCompilationInfo::DexPcData& dex_pc_data = inline_cache_map->begin()->second; in TEST_F()
698 ProfileCompilationInfo info; in TEST_F()
699 ProfileCompilationInfo info_reindexed; in TEST_F()
728 ProfileCompilationInfo info_backup; in TEST_F()
734 ProfileCompilationInfo::MethodHotness loaded_hotness1 = GetMethod(info, dex1, method_idx); in TEST_F()
737 ProfileCompilationInfo::MethodHotness loaded_hotness2 = GetMethod(info, dex2, method_idx); in TEST_F()
744 ProfileCompilationInfo info; in TEST_F()
757 ProfileCompilationInfo info(/*for_boot_image=*/true); in TEST_F()
780 ProfileCompilationInfo info_megamorphic; in TEST_F()
784 ProfileCompilationInfo info_no_inline_cache; in TEST_F()
800 ProfileCompilationInfo info_missing_types; in TEST_F()
804 ProfileCompilationInfo info_no_inline_cache; in TEST_F()
815 ProfileCompilationInfo test_info; in TEST_F()
820 auto run_test = [&dex1 = dex1, &dex2 = dex2](const ProfileCompilationInfo& info) { in TEST_F()
838 ProfileCompilationInfo loaded_info; in TEST_F()
845 ProfileCompilationInfo merge_info; in TEST_F()
854 ProfileCompilationInfo info; in TEST_F()
921 ProfileCompilationInfo::kProfileMagic, kProfileMagicSize)); in TEST_F()
923 ProfileCompilationInfo::kProfileVersion, kProfileVersionSize)); in TEST_F()
945 ProfileCompilationInfo loaded_info; in TEST_F()
954 ProfileCompilationInfo info; in TEST_F()
965 ProfileCompilationInfo::MethodHotness loaded_hotness = in TEST_F()
981 ProfileCompilationInfo info; in TEST_F()
982 ProfileCompilationInfo::ProfileSampleAnnotation annotation("test.package"); in TEST_F()
993 ProfileCompilationInfo::MethodHotness loaded_hotness = in TEST_F()
1009 ProfileCompilationInfo info; in TEST_F()
1019 ProfileCompilationInfo::MethodHotness loaded_hotness = in TEST_F()
1037 ProfileCompilationInfo info; in TEST_F()
1047 ProfileCompilationInfo::MethodHotness loaded_hotness = GetMethod(info, dex3, /*method_idx=*/0); in TEST_F()
1051 ProfileCompilationInfo::MethodHotness loaded_hotness_2 = in TEST_F()
1067 ProfileCompilationInfo info; in TEST_F()
1087 ProfileCompilationInfo info; in TEST_F()
1107 ProfileCompilationInfo saved_info; in TEST_F()
1123 ProfileCompilationInfo loaded_info; in TEST_F()
1126 ProfileCompilationInfo::ProfileLoadFilterFn filter_fn = in TEST_F()
1147 ProfileCompilationInfo::MethodHotness loaded_hotness1 = in TEST_F()
1162 ProfileCompilationInfo saved_info; in TEST_F()
1178 ProfileCompilationInfo loaded_info; in TEST_F()
1181 ProfileCompilationInfo::ProfileLoadFilterFn filter_fn = in TEST_F()
1192 ProfileCompilationInfo saved_info; in TEST_F()
1208 ProfileCompilationInfo loaded_info; in TEST_F()
1211 ProfileCompilationInfo::ProfileLoadFilterFn filter_fn = in TEST_F()
1219 ProfileCompilationInfo::MethodHotness loaded_hotness1 = in TEST_F()
1225 ProfileCompilationInfo::MethodHotness loaded_hotness2 = in TEST_F()
1249 ProfileCompilationInfo saved_info; in TEST_F()
1261 ProfileCompilationInfo loaded_info; in TEST_F()
1262 ProfileCompilationInfo::ProfileLoadFilterFn filter_fn = in TEST_F()
1270 ProfileCompilationInfo expected_info; in TEST_F()
1281 ProfileCompilationInfo info; in TEST_F()
1291 ProfileCompilationInfo info; in TEST_F()
1302 ProfileCompilationInfo loaded_info; in TEST_F()
1308 ProfileCompilationInfo info; in TEST_F()
1311 ProfileCompilationInfo::kProfileVersion, in TEST_F()
1312 ProfileCompilationInfo::kProfileVersionSize), in TEST_F()
1316 ProfileCompilationInfo info1(/*for_boot_image=*/ true); in TEST_F()
1319 ProfileCompilationInfo::kProfileVersionForBootImage, in TEST_F()
1320 ProfileCompilationInfo::kProfileVersionSize), in TEST_F()
1326 ProfileCompilationInfo info(/*for_boot_image=*/ false); in TEST_F()
1327 ProfileCompilationInfo info1(/*for_boot_image=*/ true); in TEST_F()
1332 ProfileCompilationInfo info(/*for_boot_image=*/ true); in TEST_F()
1338 auto run_test = [&dex1 = dex1](const ProfileCompilationInfo& info) { in TEST_F()
1354 ProfileCompilationInfo loaded_info(/*for_boot_image=*/ true); in TEST_F()
1360 ProfileCompilationInfo info(/*for_boot_image=*/ true); in TEST_F()
1367 auto run_test = [&dex1 = dex1](const ProfileCompilationInfo& info) { in TEST_F()
1382 ProfileCompilationInfo loaded_info(/*for_boot_image=*/ true); in TEST_F()
1389 ProfileCompilationInfo info1(/*for_boot_image=*/ true); in TEST_F()
1390 ProfileCompilationInfo info2(/*for_boot_image=*/ true); in TEST_F()
1407 auto run_test = [&dex1 = dex1](const ProfileCompilationInfo& info) { in TEST_F()
1451 ProfileCompilationInfo loaded_info(/*for_boot_image=*/ true); in TEST_F()
1468 ProfileCompilationInfo info; in TEST_F()
1495 ProfileCompilationInfo info; in TEST_F()
1513 ProfileCompilationInfo::MethodHotness hot_hotness = GetMethod(info, dex1, hot.index); in TEST_F()
1524 ProfileCompilationInfo info; in TEST_F()
1535 ProfileCompilationInfo info; in TEST_F()
1547 auto run_test = [&dex1 = dex1, &psa1 = psa1, &psa2 = psa2](const ProfileCompilationInfo& info) { in TEST_F()
1592 ProfileCompilationInfo loaded_info; in TEST_F()
1602 ProfileCompilationInfo info; in TEST_F()
1614 auto run_test = [&dex1 = dex1, &psa1 = psa1, &psa2 = psa2](const ProfileCompilationInfo& info) { in TEST_F()
1650 ProfileCompilationInfo loaded_info; in TEST_F()
1660 ProfileCompilationInfo info1; in TEST_F()
1661 ProfileCompilationInfo info2; in TEST_F()
1678 ProfileCompilationInfo info; in TEST_F()
1703 ProfileCompilationInfo info1(/*for_boot_image=*/ true); in TEST_F()
1704 ProfileCompilationInfo info2(/*for_boot_image=*/ true); in TEST_F()
1741 ProfileCompilationInfo info_12(/*for_boot_image=*/ true); in TEST_F()
1749 ProfileCompilationInfo::MethodHotness loaded_ic_12 = in TEST_F()
1777 ProfileCompilationInfo info; in TEST_F()
1822 ProfileCompilationInfo info; in TEST_F()
1839 ProfileCompilationInfo info; in TEST_F()
1859 ProfileCompilationInfo info; in TEST_F()
1869 ProfileCompilationInfo info(/*for_boot_image=*/true); in TEST_F()
1888 ProfileCompilationInfo info; in TEST_F()
1951 ProfileCompilationInfo info1; in TEST_F()
1952 ProfileCompilationInfo info2; in TEST_F()