Home
last modified time | relevance | path

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

/art/libprofile/profile/
Dprofile_compilation_info_test.cc71 std::vector<ProfileInlineCache> inline_caches; in GetTestInlineCaches() local
75 inline_caches.push_back(ProfileInlineCache(dex_pc, /*missing_types=*/ false, types)); in GetTestInlineCaches()
83 inline_caches.push_back(ProfileInlineCache(dex_pc, /*missing_types=*/ false, types)); in GetTestInlineCaches()
95 inline_caches.push_back(ProfileInlineCache(dex_pc, /*missing_types=*/ false, types)); in GetTestInlineCaches()
100 inline_caches.push_back(ProfileInlineCache(dex_pc, /*missing_types=*/ true, types)); in GetTestInlineCaches()
103 return inline_caches; in GetTestInlineCaches()
106 void MakeMegamorphic(/*out*/std::vector<ProfileInlineCache>* inline_caches) { in MakeMegamorphic() argument
107 for (ProfileInlineCache& cache : *inline_caches) { in MakeMegamorphic()
119 void SetIsMissingTypes(/*out*/std::vector<ProfileInlineCache>* inline_caches) { in SetIsMissingTypes() argument
120 for (ProfileInlineCache& cache : *inline_caches) { in SetIsMissingTypes()
[all …]
Dprofile_test_helper.h59 const std::vector<ProfileInlineCache>& inline_caches,
61 return AddMethod(info, dex, method_idx, inline_caches, Hotness::kFlagHot, annotation);
68 const std::vector<ProfileInlineCache>& inline_caches,
72 ProfileMethodInfo(MethodReference(dex, method_idx), inline_caches), flags, annotation);
Dprofile_compilation_info.h72 inline_caches(caches) {} in ProfileMethodInfo()
75 std::vector<ProfileInlineCache> inline_caches; member
Dprofile_compilation_info.cc1254 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod()
/art/profman/
Dprofile_assistant_test.cc74 std::vector<ProfileInlineCache> inline_caches = in SetupProfile() local
79 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile()
80 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile()
82 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile()
83 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile()
116 std::vector<ProfileInlineCache> inline_caches; in GetTestInlineCaches() local
120 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ false, types)); in GetTestInlineCaches()
128 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ false, types)); in GetTestInlineCaches()
139 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ false, types)); in GetTestInlineCaches()
144 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ true, types)); in GetTestInlineCaches()
[all …]
Dprofman.cc804 const ProfileCompilationInfo::InlineCacheMap* inline_caches = hotness.GetInlineCacheMap(); in GetInlineCacheLine() local
815 for (const auto& [pc, ic_data] : *inline_caches) { in GetInlineCacheLine()
1489 std::vector<ProfileMethodInfo::ProfileInlineCache> inline_caches; in ProcessLine() local
1556 inline_caches.emplace_back(dex_pc, missing_types, classes, megamorphic_types); in ProcessLine()
1563 if (!inline_caches.empty() && in ProcessLine()
1579 ProfileMethodInfo(resolved_ref, inline_caches), in ProcessLine()
1588 ProfileMethodInfo(ref, inline_caches), in ProcessLine()
/art/runtime/jit/
Dprofiling_info_test.cc264 pmi.inline_caches, method_ref.dex_file, offline_hotness, info)); in TEST_F()
Djit_code_cache.cc1520 std::vector<ProfileMethodInfo::ProfileInlineCache> inline_caches; in GetProfiledMethods() local
1530 MethodReference(dex_file, method->GetDexMethodIndex()), inline_caches); in GetProfiledMethods()
1583 inline_caches.emplace_back(/*ProfileMethodInfo::ProfileInlineCache*/ in GetProfiledMethods()
1588 MethodReference(dex_file, method->GetDexMethodIndex()), inline_caches); in GetProfiledMethods()
/art/compiler/optimizing/
Dinliner.cc659 const ProfileCompilationInfo::InlineCacheMap* inline_caches = hotness.GetInlineCacheMap(); in GetInlineCacheAOT() local
660 DCHECK(inline_caches != nullptr); in GetInlineCacheAOT()
661 const auto it = inline_caches->find(invoke_instruction->GetDexPc()); in GetInlineCacheAOT()
662 if (it == inline_caches->end()) { in GetInlineCacheAOT()