Home
last modified time | relevance | path

Searched refs:TypeReference (Results 1 – 25 of 25) 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/libprofile/profile/
Dprofile_compilation_info_test.cc74 std::vector<TypeReference> types = {TypeReference(dex1, dex::TypeIndex(0))}; in GetTestInlineCaches()
79 std::vector<TypeReference> types = { in GetTestInlineCaches()
80 TypeReference(dex1, dex::TypeIndex(0)), in GetTestInlineCaches()
81 TypeReference(dex2, dex::TypeIndex(1)), in GetTestInlineCaches()
82 TypeReference(dex3, dex::TypeIndex(2))}; in GetTestInlineCaches()
89 std::vector<TypeReference> types = { in GetTestInlineCaches()
90 TypeReference(dex1, dex::TypeIndex(0)), in GetTestInlineCaches()
91 TypeReference(dex1, dex::TypeIndex(1)), in GetTestInlineCaches()
92 TypeReference(dex1, dex::TypeIndex(2)), in GetTestInlineCaches()
93 TypeReference(dex1, dex::TypeIndex(3)), in GetTestInlineCaches()
[all …]
Dprofile_compilation_info.h51 const std::vector<TypeReference>& profile_classes,
64 const std::vector<TypeReference> classes;
326 dex::TypeIndex FindOrCreateTypeIndex(const DexFile& dex_file, TypeReference class_ref);
1023 const SafeMap<TypeReference, ItemMetadata>& GetClassData() const { in GetClassData()
1041 SafeMap<TypeReference, ItemMetadata> class_metadata_;
Dprofile_test_helper.h132 [&](const TypeReference& type_ref) { in EqualInlineCaches()
Dprofile_compilation_info.cc673 TypeReference class_ref) { in FindOrCreateTypeIndex()
1258 for (const TypeReference& class_ref : cache.classes) { in AddMethod()
2935 TypeReference ref(dex_file.get(), type_index); in ExtractProfileData()
2969 const TypeReference& otherRef = it.first; in MergeData()
/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()
Dprofman.cc1041 /*out*/ TypeReference* class_ref) { in FindClassDef()
1048 *class_ref = TypeReference(dex_file.get(), type_index); in FindClassDef()
1061 /*out*/ TypeReference* class_ref) { in FindClass()
1066 *class_ref = TypeReference(dex_file, dex_file->GetIndexForTypeId(*type_id)); in FindClass()
1074 uint32_t FindMethodIndex(const TypeReference& class_ref, in FindMethodIndex()
1114 void VisitAllInstructions(const TypeReference& class_ref, uint16_t method_idx, Visitor visitor) { in VisitAllInstructions()
1135 void GetAllInvokes(const TypeReference& class_ref, in GetAllInvokes()
1163 bool HasSingleInvoke(const TypeReference& class_ref, in HasSingleInvoke()
1262 TypeReference type_;
1281 std::optional<ClassMethodReference> ResolveMethod(TypeReference class_ref, in ResolveMethod()
[all …]
Dprofile_assistant_test.cc44 using TypeReferenceSet = std::set<TypeReference, TypeReferenceValueComparator>;
119 std::vector<TypeReference> types = {TypeReference(dex_file1, dex::TypeIndex(0))}; in GetTestInlineCaches()
124 std::vector<TypeReference> types = { in GetTestInlineCaches()
125 TypeReference(dex_file1, dex::TypeIndex(0)), in GetTestInlineCaches()
126 TypeReference(dex_file2, dex::TypeIndex(1)), in GetTestInlineCaches()
127 TypeReference(dex_file3, dex::TypeIndex(2))}; in GetTestInlineCaches()
133 std::vector<TypeReference> types = { in GetTestInlineCaches()
134 TypeReference(dex_file1, dex::TypeIndex(0)), in GetTestInlineCaches()
135 TypeReference(dex_file1, dex::TypeIndex(1)), in GetTestInlineCaches()
136 TypeReference(dex_file1, dex::TypeIndex(2)), in GetTestInlineCaches()
[all …]
/art/runtime/jit/
Dprofiling_info_test.cc112 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
118 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
126 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
134 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
Djit_code_cache.cc1514 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/dex2oat/linker/
Doat_writer.h453 SafeMap<TypeReference, size_t, TypeReferenceValueComparator> bss_type_entries_;
458 SafeMap<TypeReference, size_t, TypeReferenceValueComparator> bss_public_type_entries_;
463 SafeMap<TypeReference, size_t, TypeReferenceValueComparator> bss_package_type_entries_;
Doat_writer.cc911 TypeReference target_type(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); in VisitMethod()
917 TypeReference target_type(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); in VisitMethod()
923 TypeReference target_type(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); in VisitMethod()
1841 TypeReference ref(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); in VisitMethod()
1850 TypeReference ref(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); in VisitMethod()
1860 TypeReference ref(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); in VisitMethod()
2169 const SafeMap<TypeReference, size_t, TypeReferenceValueComparator>& bss_entries) { in CalculateIndexBssMappingSize() argument
2851 const SafeMap<TypeReference, size_t, TypeReferenceValueComparator>& bss_entries) { in WriteIndexBssMapping() argument
/art/runtime/
Dcommon_runtime_test.h43 class TypeReference; variable
170 const std::function<void(TypeReference)>& class_visitor,
Dcommon_runtime_test.cc542 const std::function<void(TypeReference)>& class_visitor, in VisitDexes()
566 class_visitor(TypeReference(dex_file.get(), dex::TypeIndex(i))); in VisitDexes()
588 [&profile](TypeReference ref) { in GenerateProfile()
/art/compiler/optimizing/
Dcode_generator.cc178 void ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass) { in ReserveJitClassRoot()
182 uint64_t GetJitClassRootIndex(TypeReference type_reference) const { in GetJitClassRootIndex()
223 ScopedArenaSafeMap<TypeReference, uint64_t, TypeReferenceValueComparator> jit_class_roots_;
278 void CodeGenerator::ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass) { in ReserveJitClassRoot()
283 uint64_t CodeGenerator::GetJitClassRootIndex(TypeReference type_reference) { in GetJitClassRootIndex()
Dcode_generator.h789 void ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass);
790 uint64_t GetJitClassRootIndex(TypeReference type_reference);
Dcode_generator_arm_vixl.h642 void LoadTypeForBootImageIntrinsic(vixl::aarch32::Register reg, TypeReference type_reference);
902 using TypeToLiteralMap = ArenaSafeMap<TypeReference,
Dcode_generator_arm64.h816 void LoadTypeForBootImageIntrinsic(vixl::aarch64::Register reg, TypeReference type_reference);
1037 using TypeToLiteralMap = ArenaSafeMap<TypeReference,
Dcode_generator_arm64.cc4927 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral()
4929 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
4986 TypeReference target_type) { in LoadTypeForBootImageIntrinsic()
5004 LoadTypeForBootImageIntrinsic(reg, TypeReference(target_method.dex_file, type_idx)); in LoadIntrinsicDeclaringClass()
5016 TypeReference target_type(&klass->GetDexFile(), klass->GetDexTypeIndex()); in LoadClassRootForIntrinsic()
6862 const TypeReference& type_reference = entry.first; in EmitJitRootPatches()
Dcode_generator_arm_vixl.cc9468 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral()
9470 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
9498 TypeReference target_type) { in LoadTypeForBootImageIntrinsic()
9511 LoadTypeForBootImageIntrinsic(reg, TypeReference(target_method.dex_file, type_idx)); in LoadIntrinsicDeclaringClass()
9523 TypeReference target_type(&klass->GetDexFile(), klass->GetDexTypeIndex()); in LoadClassRootForIntrinsic()
9873 const TypeReference& type_reference = entry.first; in EmitJitRootPatches()
Dcode_generator_x86_64.cc6273 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in NewJitRootClassPatch()
8017 TypeReference type_reference(info.target_dex_file, dex::TypeIndex(info.offset_or_index)); in EmitJitRootPatches()
Dcode_generator_x86.cc7138 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in NewJitRootClassPatch()
8991 TypeReference type_reference(info.target_dex_file, dex::TypeIndex(info.offset_or_index)); in EmitJitRootPatches()
/art/dex2oat/
Ddex2oat_image_test.cc241 [&](TypeReference ref) { in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver.cc896 void FindExceptionTypesToResolve(std::set<TypeReference>* exceptions_to_resolve) in FindExceptionTypesToResolve()
909 std::set<TypeReference>* exceptions_to_resolve) in FindExceptionTypesToResolveForMethod()
1054 std::set<TypeReference> unresolved_exception_types; in LoadImageClasses()