Home
last modified time | relevance | path

Searched refs:inline_caches (Results 1 – 10 of 10) sorted by relevance

/art/libprofile/profile/
Dprofile_compilation_info_test.cc77 std::vector<ProfileInlineCache> inline_caches; in GetTestInlineCaches() local
81 inline_caches.push_back(ProfileInlineCache(dex_pc, /*missing_types=*/ false, types)); in GetTestInlineCaches()
89 inline_caches.push_back(ProfileInlineCache(dex_pc, /*missing_types=*/ false, types)); in GetTestInlineCaches()
101 inline_caches.push_back(ProfileInlineCache(dex_pc, /*missing_types=*/ false, types)); in GetTestInlineCaches()
106 inline_caches.push_back(ProfileInlineCache(dex_pc, /*missing_types=*/ true, types)); in GetTestInlineCaches()
109 return inline_caches; in GetTestInlineCaches()
112 void MakeMegamorphic(/*out*/std::vector<ProfileInlineCache>* inline_caches) { in MakeMegamorphic() argument
113 for (ProfileInlineCache& cache : *inline_caches) { in MakeMegamorphic()
125 void SetIsMissingTypes(/*out*/std::vector<ProfileInlineCache>* inline_caches) { in SetIsMissingTypes() argument
126 for (ProfileInlineCache& cache : *inline_caches) { in SetIsMissingTypes()
[all …]
Dprofile_test_helper.h61 const std::vector<ProfileInlineCache>& inline_caches,
63 return AddMethod(info, dex, method_idx, inline_caches, Hotness::kFlagHot, annotation);
70 const std::vector<ProfileInlineCache>& inline_caches,
73 return info->AddMethod(ProfileMethodInfo(MethodReference(dex, method_idx), inline_caches),
Dprofile_compilation_info.h72 inline_caches(caches) {} in ProfileMethodInfo()
75 std::vector<ProfileInlineCache> inline_caches; member
Dprofile_compilation_info.cc1358 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod()
/art/runtime/jit/
Dprofiling_info.cc36 InlineCache* inline_caches = GetInlineCaches(); in ProfilingInfo() local
37 memset(inline_caches, 0, number_of_inline_caches_ * sizeof(InlineCache)); in ProfilingInfo()
39 inline_caches[i].dex_pc_ = inline_cache_entries[i]; in ProfilingInfo()
Dprofiling_info_test.cc270 pmi.inline_caches, method_ref.dex_file, offline_hotness, info)); in TEST_F()
Djit_code_cache.cc1471 std::vector<ProfileMethodInfo::ProfileInlineCache> inline_caches; in GetProfiledMethods() local
1486 MethodReference(dex_file, method->GetDexMethodIndex()), inline_caches); in GetProfiledMethods()
1539 inline_caches.emplace_back(/*ProfileMethodInfo::ProfileInlineCache*/ in GetProfiledMethods()
1545 MethodReference(dex_file, method->GetDexMethodIndex()), inline_caches); in GetProfiledMethods()
/art/profman/
Dprofile_assistant_test.cc76 std::vector<ProfileInlineCache> inline_caches = in SetupProfile() local
81 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile()
82 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile()
84 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile()
85 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile()
118 std::vector<ProfileInlineCache> inline_caches; in GetTestInlineCaches() local
122 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ false, types)); in GetTestInlineCaches()
130 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ false, types)); in GetTestInlineCaches()
141 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ false, types)); in GetTestInlineCaches()
146 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ true, types)); in GetTestInlineCaches()
[all …]
Dprofman.cc818 const ProfileCompilationInfo::InlineCacheMap* inline_caches = hotness.GetInlineCacheMap(); in GetInlineCacheLine() local
833 for (const auto& [pc, ic_data] : *inline_caches) { in GetInlineCacheLine()
1536 std::vector<ProfileMethodInfo::ProfileInlineCache> inline_caches; in ProcessLine() local
1602 inline_caches.emplace_back(dex_pc, missing_types, classes, megamorphic_types); in ProcessLine()
1609 if (!inline_caches.empty() && in ProcessLine()
1625 ProfileMethodInfo(resolved_ref, inline_caches), in ProcessLine()
1634 ProfileMethodInfo(ref, inline_caches), in ProcessLine()
/art/compiler/optimizing/
Dinliner.cc750 const ProfileCompilationInfo::InlineCacheMap* inline_caches = hotness.GetInlineCacheMap(); in GetInlineCacheAOT() local
751 DCHECK(inline_caches != nullptr); in GetInlineCacheAOT()
758 const auto it = inline_caches->find(invoke_instruction->GetDexPc()); in GetInlineCacheAOT()
759 if (it == inline_caches->end()) { in GetInlineCacheAOT()