Home
last modified time | relevance | path

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

/art/libprofile/profile/
Dprofile_test_helper.h113 const ProfileCompilationInfo::DexPcData& dex_pc_data = it->second; in EqualInlineCaches() local
117 if (dex_pc_data.is_missing_types != expected_it->is_missing_types) { in EqualInlineCaches()
119 } else if (dex_pc_data.is_missing_types) { in EqualInlineCaches()
125 if (dex_pc_data.is_megamorphic != expected_is_megamorphic) { in EqualInlineCaches()
127 } else if (dex_pc_data.is_megamorphic) { in EqualInlineCaches()
130 if (dex_pc_data.classes.size() != expected_it->classes.size()) { in EqualInlineCaches()
133 for (dex::TypeIndex type_index : dex_pc_data.classes) { in EqualInlineCaches()
Dprofile_compilation_info.cc1378 DexPcData* dex_pc_data = FindOrAddDexPc(inline_cache, cache.dex_pc); in AddMethod() local
1379 if (dex_pc_data->is_missing_types || dex_pc_data->is_megamorphic) { in AddMethod()
1385 dex_pc_data->AddClass(type_index); in AddMethod()
1388 dex_pc_data->SetIsMissingTypes(); in AddMethod()
1453 const DexPcData& dex_pc_data = inline_cache_it.second; in VerifyProfileData() local
1454 if (dex_pc_data.is_missing_types || dex_pc_data.is_megamorphic) { in VerifyProfileData()
1456 CHECK(dex_pc_data.classes.empty()); in VerifyProfileData()
1460 for (const dex::TypeIndex& type_index : dex_pc_data.classes) { in VerifyProfileData()
2032 DexPcData* dex_pc_data = FindOrAddDexPc(inline_cache, other_dex_pc); in MergeWith() local
2034 dex_pc_data->SetIsMissingTypes(); in MergeWith()
[all …]
Dprofile_compilation_info_test.cc684 const ProfileCompilationInfo::DexPcData& dex_pc_data = inline_cache_map->begin()->second; in TEST_F() local
685 ASSERT_FALSE(dex_pc_data.is_missing_types); in TEST_F()
686 ASSERT_FALSE(dex_pc_data.is_megamorphic); in TEST_F()
687 ASSERT_EQ(1u, dex_pc_data.classes.size()); in TEST_F()
688 dex::TypeIndex type_index = *dex_pc_data.classes.begin(); in TEST_F()
/art/test/common/
Druntime_state.cc571 for (const auto& [dex_pc, dex_pc_data] : *hotness.GetInlineCacheMap()) { in Java_Main_hasInlineCacheInProfile()
578 if (dex_pc_data.classes.find(expected_index) == dex_pc_data.classes.end()) { in Java_Main_hasInlineCacheInProfile()
/art/profman/
Dprofile_assistant_test.cc382 const ProfileCompilationInfo::DexPcData& dex_pc_data, in AssertInlineCaches() argument
386 ASSERT_EQ(dex_pc_data.is_megamorphic, is_megamorphic); in AssertInlineCaches()
387 ASSERT_EQ(dex_pc_data.is_missing_types, is_missing_types); in AssertInlineCaches()
388 ASSERT_EQ(expected_clases.size(), dex_pc_data.classes.size()); in AssertInlineCaches()
394 for (dex::TypeIndex type_index : dex_pc_data.classes) { in AssertInlineCaches()
404 for (dex::TypeIndex type_index : dex_pc_data.classes) { in AssertInlineCaches()
1560 const ProfileCompilationInfo::DexPcData& dex_pc_data = inline_caches->begin()->second; in TEST_F() local
1562 ASSERT_EQ(1u, dex_pc_data.classes.size()); in TEST_F()
1563 ASSERT_EQ(target_type_index, *dex_pc_data.classes.begin()); in TEST_F()
/art/compiler/optimizing/
Dinliner.cc763 const ProfileCompilationInfo::DexPcData& dex_pc_data = it->second; in GetInlineCacheAOT() local
764 if (dex_pc_data.is_missing_types) { in GetInlineCacheAOT()
767 if (dex_pc_data.is_megamorphic) { in GetInlineCacheAOT()
770 DCHECK_LE(dex_pc_data.classes.size(), InlineCache::kIndividualCacheSize); in GetInlineCacheAOT()
776 for (const dex::TypeIndex& type_index : dex_pc_data.classes) { in GetInlineCacheAOT()