Home
last modified time | relevance | path

Searched refs:dex_pc_data (Results 1 – 5 of 5) sorted by relevance

/art/libprofile/profile/
Dprofile_test_helper.h109 const ProfileCompilationInfo::DexPcData& dex_pc_data = it->second; in EqualInlineCaches() local
113 if (dex_pc_data.is_missing_types != expected_it->is_missing_types) { in EqualInlineCaches()
115 } else if (dex_pc_data.is_missing_types) { in EqualInlineCaches()
121 if (dex_pc_data.is_megamorphic != expected_is_megamorphic) { in EqualInlineCaches()
123 } else if (dex_pc_data.is_megamorphic) { in EqualInlineCaches()
126 if (dex_pc_data.classes.size() != expected_it->classes.size()) { in EqualInlineCaches()
129 for (dex::TypeIndex type_index : dex_pc_data.classes) { in EqualInlineCaches()
Dprofile_compilation_info.cc1264 DexPcData* dex_pc_data = FindOrAddDexPc(inline_cache, cache.dex_pc); in AddMethod() local
1265 if (dex_pc_data->is_missing_types || dex_pc_data->is_megamorphic) { in AddMethod()
1271 dex_pc_data->AddClass(type_index); in AddMethod()
1274 dex_pc_data->SetIsMissingTypes(); in AddMethod()
1339 const DexPcData& dex_pc_data = inline_cache_it.second; in VerifyProfileData() local
1340 if (dex_pc_data.is_missing_types || dex_pc_data.is_megamorphic) { in VerifyProfileData()
1342 CHECK(dex_pc_data.classes.empty()); in VerifyProfileData()
1346 for (const dex::TypeIndex& type_index : dex_pc_data.classes) { in VerifyProfileData()
1918 DexPcData* dex_pc_data = FindOrAddDexPc(inline_cache, other_dex_pc); in MergeWith() local
1920 dex_pc_data->SetIsMissingTypes(); in MergeWith()
[all …]
Dprofile_compilation_info_test.cc672 const ProfileCompilationInfo::DexPcData& dex_pc_data = inline_cache_map->begin()->second; in TEST_F() local
673 ASSERT_FALSE(dex_pc_data.is_missing_types); in TEST_F()
674 ASSERT_FALSE(dex_pc_data.is_megamorphic); in TEST_F()
675 ASSERT_EQ(1u, dex_pc_data.classes.size()); in TEST_F()
676 dex::TypeIndex type_index = *dex_pc_data.classes.begin(); in TEST_F()
/art/profman/
Dprofile_assistant_test.cc380 const ProfileCompilationInfo::DexPcData& dex_pc_data, in AssertInlineCaches() argument
384 ASSERT_EQ(dex_pc_data.is_megamorphic, is_megamorphic); in AssertInlineCaches()
385 ASSERT_EQ(dex_pc_data.is_missing_types, is_missing_types); in AssertInlineCaches()
386 ASSERT_EQ(expected_clases.size(), dex_pc_data.classes.size()); in AssertInlineCaches()
392 for (dex::TypeIndex type_index : dex_pc_data.classes) { in AssertInlineCaches()
401 for (dex::TypeIndex type_index : dex_pc_data.classes) { in AssertInlineCaches()
1581 const ProfileCompilationInfo::DexPcData& dex_pc_data = inline_caches->begin()->second; in TEST_F() local
1583 ASSERT_EQ(1u, dex_pc_data.classes.size()); in TEST_F()
1584 ASSERT_EQ(target_type_index, *dex_pc_data.classes.begin()); in TEST_F()
/art/compiler/optimizing/
Dinliner.cc666 const ProfileCompilationInfo::DexPcData& dex_pc_data = it->second; in GetInlineCacheAOT() local
667 if (dex_pc_data.is_missing_types) { in GetInlineCacheAOT()
670 if (dex_pc_data.is_megamorphic) { in GetInlineCacheAOT()
673 DCHECK_LE(dex_pc_data.classes.size(), InlineCache::kIndividualCacheSize); in GetInlineCacheAOT()
678 for (const dex::TypeIndex& type_index : dex_pc_data.classes) { in GetInlineCacheAOT()