Home
last modified time | relevance | path

Searched refs:TypeReference (Results 1 – 24 of 24) sorted by relevance

/art/libdexfile/dex/
Dtype_reference.h32 class TypeReference : public DexFileReference {
34 TypeReference(const DexFile* dex_file, dex::TypeIndex index) in TypeReference() function
44 bool operator()(const TypeReference& tr1, const TypeReference& tr2) const { in operator()
/art/profman/
Dboot_image_profile.cc42 static std::string GetTypeDescriptor(const TypeReference& ref) { in GetTypeDescriptor()
61 static std::string BootImageRepresentation(const TypeReference& ref) { in BootImageRepresentation()
66 static std::string PreloadedClassesRepresentation(const TypeReference& ref) { in PreloadedClassesRepresentation()
120 static bool MaybeIsClassClean(const TypeReference& ref) { in MaybeIsClassClean()
176 static bool IncludeClassInProfile(const TypeReference& type_ref, in IncludeClassInProfile()
242 const TypeReference& type_ref = it.first; in GenerateBootImageProfile()
Dprofile_assistant_test.cc38 using TypeReferenceSet = std::set<TypeReference, TypeReferenceValueComparator>;
142 std::vector<TypeReference> types = {TypeReference(dex_file1, dex::TypeIndex(0))}; in GetTestInlineCaches()
147 std::vector<TypeReference> types = { in GetTestInlineCaches()
148 TypeReference(dex_file1, dex::TypeIndex(0)), in GetTestInlineCaches()
149 TypeReference(dex_file2, dex::TypeIndex(1)), in GetTestInlineCaches()
150 TypeReference(dex_file3, dex::TypeIndex(2))}; in GetTestInlineCaches()
156 std::vector<TypeReference> types = { in GetTestInlineCaches()
157 TypeReference(dex_file1, dex::TypeIndex(0)), in GetTestInlineCaches()
158 TypeReference(dex_file1, dex::TypeIndex(1)), in GetTestInlineCaches()
159 TypeReference(dex_file1, dex::TypeIndex(2)), in GetTestInlineCaches()
[all …]
Dprofman.cc904 /*out*/TypeReference* class_ref) { in FindClass()
912 *class_ref = TypeReference(dex_file, dex::TypeIndex(kInvalidTypeIndex)); in FindClass()
926 *class_ref = TypeReference(dex_file, type_index); in FindClass()
945 uint32_t FindMethodIndex(const TypeReference& class_ref, in FindMethodIndex()
997 bool HasSingleInvoke(const TypeReference& class_ref, in HasSingleInvoke()
1104 TypeReference class_ref(/* dex_file= */ nullptr, dex::TypeIndex()); in ProcessLine()
1168 std::vector<TypeReference> classes(inline_cache_elems.size(), in ProcessLine()
1169 TypeReference(/* dex_file= */ nullptr, dex::TypeIndex())); in ProcessLine()
1203 TypeReference class_ref(/* dex_file= */ nullptr, dex::TypeIndex()); in ProcessBootLine()
/art/libprofile/profile/
Dprofile_compilation_info_test.cc125 std::vector<TypeReference> types = {TypeReference(dex1, dex::TypeIndex(0))}; in GetTestInlineCaches()
130 std::vector<TypeReference> types = { in GetTestInlineCaches()
131 TypeReference(dex1, dex::TypeIndex(0)), in GetTestInlineCaches()
132 TypeReference(dex2, dex::TypeIndex(1)), in GetTestInlineCaches()
133 TypeReference(dex3, dex::TypeIndex(2))}; in GetTestInlineCaches()
139 std::vector<TypeReference> types = { in GetTestInlineCaches()
140 TypeReference(dex1, dex::TypeIndex(0)), in GetTestInlineCaches()
141 TypeReference(dex1, dex::TypeIndex(1)), in GetTestInlineCaches()
142 TypeReference(dex1, dex::TypeIndex(2)), in GetTestInlineCaches()
143 TypeReference(dex1, dex::TypeIndex(3)), in GetTestInlineCaches()
[all …]
Dprofile_compilation_info.h47 const std::vector<TypeReference>& profile_classes) in ProfileInlineCache()
52 const std::vector<TypeReference> classes;
1021 const SafeMap<TypeReference, ItemMetadata>& GetClassData() const { in GetClassData()
1039 SafeMap<TypeReference, ItemMetadata> class_metadata_;
Dprofile_compilation_info.cc742 for (const TypeReference& class_ref : cache.classes) { in AddMethod()
1986 for (const TypeReference& type_ref : runtime_cache->classes) { in operator ==()
2344 TypeReference ref(dex_file.get(), type_index); in ExtractProfileData()
2378 const TypeReference& otherRef = it.first; in MergeData()
/art/runtime/jit/
Dprofiling_info_test.cc111 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
117 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
125 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
133 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
Djit_code_cache.cc1641 std::vector<TypeReference> profile_classes; in GetProfiledMethods()
/art/compiler/utils/
Datomic_dex_ref_map-inl.h37 std::is_same<DexFileReferenceType, TypeReference>::value, in NumberOfDexIndices()
45 if (std::is_same<DexFileReferenceType, TypeReference>::value) { in NumberOfDexIndices()
/art/runtime/
Dcommon_runtime_test.h43 class TypeReference; variable
170 const std::function<void(TypeReference)>& class_visitor,
Dcommon_runtime_test.cc548 const std::function<void(TypeReference)>& class_visitor, in VisitDexes()
572 class_visitor(TypeReference(dex_file.get(), dex::TypeIndex(i))); in VisitDexes()
593 [&profile](TypeReference ref) { in GenerateProfile()
/art/compiler/optimizing/
Dcode_generator.cc177 void ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass) { in ReserveJitClassRoot()
181 uint64_t GetJitClassRootIndex(TypeReference type_reference) const { in GetJitClassRootIndex()
222 ScopedArenaSafeMap<TypeReference, uint64_t, TypeReferenceValueComparator> jit_class_roots_;
277 void CodeGenerator::ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass) { in ReserveJitClassRoot()
282 uint64_t CodeGenerator::GetJitClassRootIndex(TypeReference type_reference) { in GetJitClassRootIndex()
Dcode_generator.h784 void ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass);
785 uint64_t GetJitClassRootIndex(TypeReference type_reference);
Dcode_generator_arm_vixl.h887 using TypeToLiteralMap = ArenaSafeMap<TypeReference,
Dcode_generator_arm64.h989 using TypeToLiteralMap = ArenaSafeMap<TypeReference,
Dcode_generator_arm64.cc4742 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral()
4744 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
6638 const TypeReference& type_reference = entry.first; in EmitJitRootPatches()
Dcode_generator_arm_vixl.cc9319 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral()
9321 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
9711 const TypeReference& type_reference = entry.first; in EmitJitRootPatches()
Dcode_generator_x86_64.cc6138 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in NewJitRootClassPatch()
7878 TypeReference type_reference(info.target_dex_file, dex::TypeIndex(info.offset_or_index)); in EmitJitRootPatches()
Dcode_generator_x86.cc6804 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in NewJitRootClassPatch()
8653 TypeReference type_reference(info.target_dex_file, dex::TypeIndex(info.offset_or_index)); in EmitJitRootPatches()
/art/dex2oat/linker/
Doat_writer.h455 SafeMap<TypeReference, size_t, TypeReferenceValueComparator> bss_type_entries_;
Doat_writer.cc915 TypeReference target_type(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); in VisitMethod()
1833 TypeReference ref(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); in VisitMethod()
/art/dex2oat/
Ddex2oat_image_test.cc241 [&](TypeReference ref) { in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver.cc979 void FindExceptionTypesToResolve(std::set<TypeReference>* exceptions_to_resolve) in FindExceptionTypesToResolve()
992 std::set<TypeReference>* exceptions_to_resolve) in FindExceptionTypesToResolveForMethod()
1137 std::set<TypeReference> unresolved_exception_types; in LoadImageClasses()