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.cc1259 DexPcData* dex_pc_data = FindOrAddDexPc(inline_cache, cache.dex_pc); in AddMethod() local
1260 if (dex_pc_data->is_missing_types || dex_pc_data->is_megamorphic) { in AddMethod()
1266 dex_pc_data->AddClass(type_index); in AddMethod()
1269 dex_pc_data->SetIsMissingTypes(); in AddMethod()
1334 const DexPcData& dex_pc_data = inline_cache_it.second; in VerifyProfileData() local
1335 if (dex_pc_data.is_missing_types || dex_pc_data.is_megamorphic) { in VerifyProfileData()
1337 CHECK(dex_pc_data.classes.empty()); in VerifyProfileData()
1341 for (const dex::TypeIndex& type_index : dex_pc_data.classes) { in VerifyProfileData()
1910 DexPcData* dex_pc_data = FindOrAddDexPc(inline_cache, other_dex_pc); in MergeWith() local
1912 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.cc660 const ProfileCompilationInfo::DexPcData& dex_pc_data = it->second; in GetInlineCacheAOT() local
661 if (dex_pc_data.is_missing_types) { in GetInlineCacheAOT()
664 if (dex_pc_data.is_megamorphic) { in GetInlineCacheAOT()
667 DCHECK_LE(dex_pc_data.classes.size(), InlineCache::kIndividualCacheSize); in GetInlineCacheAOT()
672 for (const dex::TypeIndex& type_index : dex_pc_data.classes) { in GetInlineCacheAOT()