Home
last modified time | relevance | path

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

/art/libprofile/profile/
Dprofile_compilation_info.cc530 const DexPcData dex_pc_data = inline_cache_it.second; in AddInlineCacheToBuffer() local
531 const ClassSet& classes = dex_pc_data.classes; in AddInlineCacheToBuffer()
541 if (dex_pc_data.is_missing_types) { in AddInlineCacheToBuffer()
542 DCHECK(!dex_pc_data.is_megamorphic); // at this point the megamorphic flag should not be set. in AddInlineCacheToBuffer()
546 } else if (dex_pc_data.is_megamorphic) { in AddInlineCacheToBuffer()
747 DexPcData* dex_pc_data = FindOrAddDexPc(inline_cache, cache.dex_pc); in AddMethod() local
748 if (dex_pc_data->is_missing_types) { in AddMethod()
752 dex_pc_data->AddClass(class_dex_data->profile_index, class_ref.TypeIndex()); in AddMethod()
780 DexPcData* dex_pc_data = FindOrAddDexPc(inline_cache, dex_pc); in ReadInlineCache() local
782 dex_pc_data->SetIsMissingTypes(); in ReadInlineCache()
[all …]
Dprofile_compilation_info_test.cc1035 ProfileCompilationInfo::DexPcData dex_pc_data(allocator_.get()); in TEST_F() local
1036 dex_pc_data.AddClass(0, dex::TypeIndex(0)); in TEST_F()
1037 ic_map->Put(dex_pc, dex_pc_data); in TEST_F()
1042 ProfileCompilationInfo::DexPcData dex_pc_data(allocator_.get()); in TEST_F() local
1043 dex_pc_data.SetIsMissingTypes(); in TEST_F()
1044 ic_map->Put(dex_pc, dex_pc_data); in TEST_F()
1049 ProfileCompilationInfo::DexPcData dex_pc_data(allocator_.get()); in TEST_F() local
1050 dex_pc_data.SetIsMegamorphic(); in TEST_F()
1051 ic_map->Put(dex_pc, dex_pc_data); in TEST_F()
1055 ProfileCompilationInfo::DexPcData dex_pc_data(allocator_.get()); in TEST_F() local
[all …]
/art/runtime/jit/
Dprofiling_info_test.cc163 ProfileCompilationInfo::DexPcData& dex_pc_data = in ConvertProfileMethodInfo() local
167 dex_pc_data.SetIsMissingTypes(); in ConvertProfileMethodInfo()
172 dex_pc_data.AddClass(dex_profile_index, class_ref.TypeIndex()); in ConvertProfileMethodInfo()
/art/profman/
Dprofile_assistant_test.cc343 const ProfileCompilationInfo::DexPcData& dex_pc_data = pmi->inline_caches->begin()->second; in AssertInlineCaches() local
345 ASSERT_EQ(dex_pc_data.is_megamorphic, is_megamorphic); in AssertInlineCaches()
346 ASSERT_EQ(dex_pc_data.is_missing_types, is_missing_types); in AssertInlineCaches()
347 ASSERT_EQ(expected_clases.size(), dex_pc_data.classes.size()); in AssertInlineCaches()
350 for (const auto& class_ref : dex_pc_data.classes) { in AssertInlineCaches()
1187 const ProfileCompilationInfo::DexPcData& dex_pc_data = pmi->inline_caches->begin()->second; in TEST_F() local
1189 ASSERT_EQ(1u, dex_pc_data.classes.size()); in TEST_F()
1190 ASSERT_EQ(invalid_class_index, dex_pc_data.classes.begin()->type_index); in TEST_F()
/art/compiler/optimizing/
Dinliner.cc732 const ProfileCompilationInfo::DexPcData& dex_pc_data = it->second; in ExtractClassesFromOfflineProfile() local
734 if (dex_pc_data.is_missing_types) { in ExtractClassesFromOfflineProfile()
737 if (dex_pc_data.is_megamorphic) { in ExtractClassesFromOfflineProfile()
741 DCHECK_LE(dex_pc_data.classes.size(), InlineCache::kIndividualCacheSize); in ExtractClassesFromOfflineProfile()
767 for (const ProfileCompilationInfo::ClassReference& class_ref : dex_pc_data.classes) { in ExtractClassesFromOfflineProfile()