Home
last modified time | relevance | path

Searched refs:class_ref (Results 1 – 6 of 6) sorted by relevance

/art/profman/
Dprofman.cc806 /*out*/TypeReference* class_ref) { in FindClass() argument
814 *class_ref = TypeReference(dex_file, dex::TypeIndex(kInvalidTypeIndex)); in FindClass()
832 *class_ref = TypeReference(dex_file, type_index); in FindClass()
839 uint32_t FindMethodIndex(const TypeReference& class_ref, in FindMethodIndex() argument
841 const DexFile* dex_file = class_ref.dex_file; in FindMethodIndex()
876 dex_file->GetTypeId(class_ref.TypeIndex()), *name_id, *proto_id); in FindMethodIndex()
891 bool HasSingleInvoke(const TypeReference& class_ref, in HasSingleInvoke() argument
894 const DexFile* dex_file = class_ref.dex_file; in HasSingleInvoke()
896 *dex_file->FindClassDef(class_ref.TypeIndex()), in HasSingleInvoke()
974 TypeReference class_ref(/* dex_file= */ nullptr, dex::TypeIndex()); in ProcessLine() local
[all …]
Dprofile_assistant_test.cc365 for (const auto& class_ref : dex_pc_data.classes) { in AssertInlineCaches() local
367 pmi->dex_references[class_ref.dex_profile_index]; in AssertInlineCaches()
368 if (dex_ref.MatchesDex(type_ref.dex_file) && class_ref.type_index == type_ref.TypeIndex()) { in AssertInlineCaches()
/art/runtime/jit/
Dprofiling_info_test.cc201 for (const auto& class_ref : inline_cache.classes) { in ConvertProfileMethodInfo() local
202 uint8_t dex_profile_index = dex_map.FindOrAdd(const_cast<DexFile*>(class_ref.dex_file), in ConvertProfileMethodInfo()
204 dex_pc_data.AddClass(dex_profile_index, class_ref.TypeIndex()); in ConvertProfileMethodInfo()
208 class_ref.dex_file->GetLocation()); in ConvertProfileMethodInfo()
210 class_ref.dex_file->GetLocationChecksum(), in ConvertProfileMethodInfo()
211 class_ref.dex_file->NumMethodIds()); in ConvertProfileMethodInfo()
/art/libprofile/profile/
Dprofile_compilation_info.cc752 for (const ClassReference& class_ref : pmi_ic_dex_pc_data.classes) { in AddMethod() local
753 const DexReference& dex_ref = pmi.dex_references[class_ref.dex_profile_index]; in AddMethod()
761 dex_pc_data->AddClass(class_dex_data->profile_index, class_ref.type_index); in AddMethod()
783 for (const TypeReference& class_ref : cache.classes) { in AddMethod() local
784 DexFileData* class_dex_data = GetOrAddDexFileData(class_ref.dex_file); in AddMethod()
793 dex_pc_data->AddClass(class_dex_data->profile_index, class_ref.TypeIndex()); in AddMethod()
1834 for (const ClassReference& class_ref : inline_cache_it.second.classes) { in DumpInfo() local
1835 os << "(" << static_cast<uint32_t>(class_ref.dex_profile_index) in DumpInfo()
1836 << "," << class_ref.type_index.index_ << ")"; in DumpInfo()
2076 for (const ClassReference& class_ref : dex_pc_data.classes) { in operator ==() local
[all …]
/art/compiler/optimizing/
Dinliner.cc760 for (const ProfileCompilationInfo::ClassReference& class_ref : dex_pc_data.classes) { in ExtractClassesFromOfflineProfile() local
762 dex_profile_index_to_dex_cache[class_ref.dex_profile_index]; in ExtractClassesFromOfflineProfile()
765 if (!dex_cache->GetDexFile()->IsTypeIndexValid(class_ref.type_index)) { in ExtractClassesFromOfflineProfile()
766 VLOG(compiler) << "Profile data corrupt: type index " << class_ref.type_index in ExtractClassesFromOfflineProfile()
771 class_ref.type_index, in ExtractClassesFromOfflineProfile()
781 .GetDexFile()->StringByTypeIdx(class_ref.type_index); in ExtractClassesFromOfflineProfile()
/art/dex2oat/linker/
Doat_writer.cc970 ClassReference class_ref(dex_file_, class_def_index_); in EndClass() local
972 bool found = writer_->compiler_driver_->GetCompiledClass(class_ref, &status); in EndClass()
975 if (results != nullptr && results->IsClassRejected(class_ref)) { in EndClass()