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_test.cc90 ProfileCompilationInfo::DexPcData dex_pc_data(allocator_.get()); in GetOfflineProfileMethodInfo() local
91 dex_pc_data.AddClass(0, dex::TypeIndex(0)); in GetOfflineProfileMethodInfo()
92 ic_map->Put(dex_pc, dex_pc_data); in GetOfflineProfileMethodInfo()
96 ProfileCompilationInfo::DexPcData dex_pc_data(allocator_.get()); in GetOfflineProfileMethodInfo() local
97 dex_pc_data.AddClass(0, dex::TypeIndex(0)); in GetOfflineProfileMethodInfo()
98 dex_pc_data.AddClass(1, dex::TypeIndex(1)); in GetOfflineProfileMethodInfo()
99 dex_pc_data.AddClass(2, dex::TypeIndex(2)); in GetOfflineProfileMethodInfo()
101 ic_map->Put(dex_pc, dex_pc_data); in GetOfflineProfileMethodInfo()
105 ProfileCompilationInfo::DexPcData dex_pc_data(allocator_.get()); in GetOfflineProfileMethodInfo() local
106 dex_pc_data.SetIsMegamorphic(); in GetOfflineProfileMethodInfo()
[all …]
Dprofile_compilation_info.cc545 const DexPcData dex_pc_data = inline_cache_it.second; in AddInlineCacheToBuffer() local
546 const ClassSet& classes = dex_pc_data.classes; in AddInlineCacheToBuffer()
556 if (dex_pc_data.is_missing_types) { in AddInlineCacheToBuffer()
557 DCHECK(!dex_pc_data.is_megamorphic); // at this point the megamorphic flag should not be set. in AddInlineCacheToBuffer()
561 } else if (dex_pc_data.is_megamorphic) { in AddInlineCacheToBuffer()
737 DexPcData* dex_pc_data = FindOrAddDexPc(inline_cache, pmi_ic_dex_pc); in AddMethod() local
738 if (dex_pc_data->is_missing_types || dex_pc_data->is_megamorphic) { in AddMethod()
744 dex_pc_data->SetIsMissingTypes(); in AddMethod()
748 dex_pc_data->SetIsMegamorphic(); in AddMethod()
761 dex_pc_data->AddClass(class_dex_data->profile_index, class_ref.type_index); in AddMethod()
[all …]
/art/profman/
Dprofile_assistant_test.cc161 ProfileCompilationInfo::DexPcData dex_pc_data(allocator_.get()); in GetOfflineProfileMethodInfo() local
162 dex_pc_data.AddClass(0, dex::TypeIndex(0)); in GetOfflineProfileMethodInfo()
163 ic_map->Put(dex_pc, dex_pc_data); in GetOfflineProfileMethodInfo()
167 ProfileCompilationInfo::DexPcData dex_pc_data(allocator_.get()); in GetOfflineProfileMethodInfo() local
168 dex_pc_data.AddClass(0, dex::TypeIndex(0)); in GetOfflineProfileMethodInfo()
169 dex_pc_data.AddClass(1, dex::TypeIndex(1)); in GetOfflineProfileMethodInfo()
171 ic_map->Put(dex_pc, dex_pc_data); in GetOfflineProfileMethodInfo()
175 ProfileCompilationInfo::DexPcData dex_pc_data(allocator_.get()); in GetOfflineProfileMethodInfo() local
176 dex_pc_data.SetIsMegamorphic(); in GetOfflineProfileMethodInfo()
177 ic_map->Put(dex_pc, dex_pc_data); in GetOfflineProfileMethodInfo()
[all …]
/art/runtime/jit/
Dprofiling_info_test.cc195 ProfileCompilationInfo::DexPcData& dex_pc_data = in ConvertProfileMethodInfo() local
199 dex_pc_data.SetIsMissingTypes(); in ConvertProfileMethodInfo()
204 dex_pc_data.AddClass(dex_profile_index, class_ref.TypeIndex()); in ConvertProfileMethodInfo()
/art/compiler/optimizing/
Dinliner.cc724 const ProfileCompilationInfo::DexPcData& dex_pc_data = it->second; in ExtractClassesFromOfflineProfile() local
726 if (dex_pc_data.is_missing_types) { in ExtractClassesFromOfflineProfile()
729 if (dex_pc_data.is_megamorphic) { in ExtractClassesFromOfflineProfile()
733 DCHECK_LE(dex_pc_data.classes.size(), InlineCache::kIndividualCacheSize); in ExtractClassesFromOfflineProfile()
760 for (const ProfileCompilationInfo::ClassReference& class_ref : dex_pc_data.classes) { in ExtractClassesFromOfflineProfile()