Home
last modified time | relevance | path

Searched refs:pmi (Results 1 – 4 of 4) sorted by relevance

/art/runtime/jit/
Dprofile_compilation_info_test.cc78 const ProfileCompilationInfo::OfflineProfileMethodInfo& pmi, in AddMethod() argument
80 return info->AddMethod(dex_location, checksum, method_index, kMaxMethodIds, pmi); in AddMethod()
163 ProfileMethodInfo pmi(MethodReference(method->GetDexFile(), in SaveProfilingInfoWithFakeInlineCaches() local
166 profile_methods.push_back(pmi); in SaveProfilingInfoWithFakeInlineCaches()
167 profile_methods_map->Put(method, pmi); in SaveProfilingInfoWithFakeInlineCaches()
184 const ProfileMethodInfo& pmi) { in ConvertProfileMethodInfo() argument
188 for (const auto& inline_cache : pmi.inline_caches) { in ConvertProfileMethodInfo()
244 ProfileCompilationInfo::OfflineProfileMethodInfo pmi(ic_map); in GetOfflineProfileMethodInfo() local
246 pmi.dex_references.emplace_back("dex_location1", /* checksum */1, kMaxMethodIds); in GetOfflineProfileMethodInfo()
247 pmi.dex_references.emplace_back("dex_location2", /* checksum */2, kMaxMethodIds); in GetOfflineProfileMethodInfo()
[all …]
Dprofile_compilation_info.cc604 const OfflineProfileMethodInfo& pmi) { in AddMethod() argument
614 if (pmi.inline_caches == nullptr) { in AddMethod()
618 for (const auto& pmi_inline_cache_it : *pmi.inline_caches) { in AddMethod()
637 const DexReference& dex_ref = pmi.dex_references[class_ref.dex_profile_index]; in AddMethod()
651 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi) { in AddMethod() argument
652 DexFileData* const data = GetOrAddDexFileData(pmi.ref.dex_file); in AddMethod()
656 InlineCacheMap* inline_cache = data->FindOrAddMethod(pmi.ref.dex_method_index); in AddMethod()
658 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod()
1285 std::unique_ptr<OfflineProfileMethodInfo> pmi(new OfflineProfileMethodInfo(inline_caches)); in GetMethod() local
1287 pmi->dex_references.resize(info_.size()); in GetMethod()
[all …]
Dprofile_compilation_info.h268 bool AddMethod(const ProfileMethodInfo& pmi);
501 const OfflineProfileMethodInfo& pmi);
/art/profman/
Dprofile_assistant_test.cc57 ProfileCompilationInfo::OfflineProfileMethodInfo pmi = in SetupProfile() local
61 ASSERT_TRUE(info->AddMethod(dex_location2, dex_location_checksum2, i, kMaxMethodIds, pmi)); in SetupProfile()
62 ASSERT_TRUE(info->AddMethod(dex_location1, dex_location_checksum1, i, kMaxMethodIds, pmi)); in SetupProfile()
64 ASSERT_TRUE(info->AddMethod(dex_location1, dex_location_checksum1, i, kMaxMethodIds, pmi)); in SetupProfile()
65 ASSERT_TRUE(info->AddMethod(dex_location2, dex_location_checksum2, i, kMaxMethodIds, pmi)); in SetupProfile()
119 ProfileCompilationInfo::OfflineProfileMethodInfo pmi(ic_map); in GetOfflineProfileMethodInfo() local
120 pmi.dex_references.emplace_back(dex_location1, dex_checksum1, kMaxMethodIds); in GetOfflineProfileMethodInfo()
121 pmi.dex_references.emplace_back(dex_location2, dex_checksum2, kMaxMethodIds); in GetOfflineProfileMethodInfo()
150 return pmi; in GetOfflineProfileMethodInfo()
312 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> pmi = in AssertInlineCaches() local
[all …]