/art/libprofile/profile/ |
D | profile_compilation_info_test.cc | 71 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 …]
|
D | profile_test_helper.h | 59 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);
|
D | profile_compilation_info.h | 72 inline_caches(caches) {} in ProfileMethodInfo() 75 std::vector<ProfileInlineCache> inline_caches; member
|
D | profile_compilation_info.cc | 1249 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod()
|
/art/profman/ |
D | profile_assistant_test.cc | 74 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 …]
|
D | profman.cc | 804 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/ |
D | profiling_info_test.cc | 264 pmi.inline_caches, method_ref.dex_file, offline_hotness, info)); in TEST_F()
|
D | jit_code_cache.cc | 1502 std::vector<ProfileMethodInfo::ProfileInlineCache> inline_caches; in GetProfiledMethods() local 1509 MethodReference(dex_file, method->GetDexMethodIndex()), inline_caches); in GetProfiledMethods() 1562 inline_caches.emplace_back(/*ProfileMethodInfo::ProfileInlineCache*/ in GetProfiledMethods() 1567 MethodReference(dex_file, method->GetDexMethodIndex()), inline_caches); in GetProfiledMethods()
|
/art/compiler/optimizing/ |
D | inliner.cc | 653 const ProfileCompilationInfo::InlineCacheMap* inline_caches = hotness.GetInlineCacheMap(); in GetInlineCacheAOT() local 654 DCHECK(inline_caches != nullptr); in GetInlineCacheAOT() 655 const auto it = inline_caches->find(invoke_instruction->GetDexPc()); in GetInlineCacheAOT() 656 if (it == inline_caches->end()) { in GetInlineCacheAOT()
|