/art/libdexfile/dex/ |
D | type_reference.h | 32 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/ |
D | profile_compilation_info_test.cc | 80 std::vector<TypeReference> types = {TypeReference(dex1, dex::TypeIndex(0))}; in GetTestInlineCaches() 85 std::vector<TypeReference> types = { in GetTestInlineCaches() 86 TypeReference(dex1, dex::TypeIndex(0)), in GetTestInlineCaches() 87 TypeReference(dex2, dex::TypeIndex(1)), in GetTestInlineCaches() 88 TypeReference(dex3, dex::TypeIndex(2))}; in GetTestInlineCaches() 95 std::vector<TypeReference> types = { in GetTestInlineCaches() 96 TypeReference(dex1, dex::TypeIndex(0)), in GetTestInlineCaches() 97 TypeReference(dex1, dex::TypeIndex(1)), in GetTestInlineCaches() 98 TypeReference(dex1, dex::TypeIndex(2)), in GetTestInlineCaches() 99 TypeReference(dex1, dex::TypeIndex(3)), in GetTestInlineCaches() [all …]
|
D | profile_compilation_info.h | 51 const std::vector<TypeReference>& profile_classes, 64 const std::vector<TypeReference> classes; 338 dex::TypeIndex FindOrCreateTypeIndex(const DexFile& dex_file, TypeReference class_ref); 1131 const SafeMap<TypeReference, ItemMetadata>& GetClassData() const { in GetClassData() 1149 SafeMap<TypeReference, ItemMetadata> class_metadata_;
|
D | profile_test_helper.h | 136 [&](const TypeReference& type_ref) { in EqualInlineCaches()
|
D | profile_compilation_info.cc | 691 TypeReference class_ref) { in FindOrCreateTypeIndex() 1377 for (const TypeReference& class_ref : cache.classes) { in AddMethod() 3086 TypeReference ref(dex_file.get(), type_index); in ExtractProfileData() 3120 const TypeReference& otherRef = it.first; in MergeData()
|
/art/compiler/optimizing/ |
D | code_generation_data.h | 73 void ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass) { in ReserveJitClassRoot() 77 uint64_t GetJitClassRootIndex(TypeReference type_reference) const { in GetJitClassRootIndex() 118 ScopedArenaSafeMap<TypeReference, uint64_t, TypeReferenceValueComparator> jit_class_roots_;
|
D | jit_patches_arm64.cc | 65 const TypeReference& type_reference = entry.first; in EmitJitRootPatches() 95 code_generation_data->ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral() 97 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
|
D | jit_patches_arm64.h | 66 using TypeToLiteralMap = ArenaSafeMap<TypeReference,
|
D | code_generator_riscv64.h | 624 void LoadTypeForBootImageIntrinsic(XRegister dest, TypeReference target_type); 789 using TypeToLiteralMap = ArenaSafeMap<TypeReference, Literal*, TypeReferenceValueComparator>;
|
D | code_generator.h | 835 void ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass); 836 uint64_t GetJitClassRootIndex(TypeReference type_reference);
|
D | code_generator_arm_vixl.h | 738 void LoadTypeForBootImageIntrinsic(vixl::aarch32::Register reg, TypeReference type_reference); 998 using TypeToLiteralMap = ArenaSafeMap<TypeReference,
|
D | code_generator.cc | 202 void CodeGenerator::ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass) { in ReserveJitClassRoot() 207 uint64_t CodeGenerator::GetJitClassRootIndex(TypeReference type_reference) { in GetJitClassRootIndex()
|
D | code_generator_arm64.h | 893 void LoadTypeForBootImageIntrinsic(vixl::aarch64::Register reg, TypeReference type_reference);
|
D | code_generator_riscv64.cc | 6606 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral() 6608 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral() 6630 const TypeReference& type_reference = entry.first; in EmitJitRootPatches() 6742 TypeReference target_type) { in LoadTypeForBootImageIntrinsic() 6786 LoadTypeForBootImageIntrinsic(dest, TypeReference(target_method.dex_file, type_idx)); in LoadIntrinsicDeclaringClass() 6797 TypeReference target_type(&klass->GetDexFile(), klass->GetDexTypeIndex()); in LoadClassRootForIntrinsic()
|
/art/profman/ |
D | boot_image_profile.cc | 42 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()
|
D | profman.cc | 1069 /*out*/ TypeReference* class_ref) { in FindClassDef() 1076 *class_ref = TypeReference(dex_file.get(), type_index); in FindClassDef() 1089 /*out*/ TypeReference* class_ref) { in FindClass() 1094 *class_ref = TypeReference(dex_file, dex_file->GetIndexForTypeId(*type_id)); in FindClass() 1102 uint32_t FindMethodIndex(const TypeReference& class_ref, in FindMethodIndex() 1142 void VisitAllInstructions(const TypeReference& class_ref, uint16_t method_idx, Visitor visitor) { in VisitAllInstructions() 1163 void GetAllInvokes(const TypeReference& class_ref, in GetAllInvokes() 1191 bool HasSingleInvoke(const TypeReference& class_ref, in HasSingleInvoke() 1305 TypeReference type_; 1324 std::optional<ClassMethodReference> ResolveMethod(TypeReference class_ref, in ResolveMethod() [all …]
|
D | profile_assistant_test.cc | 46 using TypeReferenceSet = std::set<TypeReference, TypeReferenceValueComparator>; 121 std::vector<TypeReference> types = {TypeReference(dex_file1, dex::TypeIndex(0))}; in GetTestInlineCaches() 126 std::vector<TypeReference> types = { in GetTestInlineCaches() 127 TypeReference(dex_file1, dex::TypeIndex(0)), in GetTestInlineCaches() 128 TypeReference(dex_file2, dex::TypeIndex(1)), in GetTestInlineCaches() 129 TypeReference(dex_file3, dex::TypeIndex(2))}; in GetTestInlineCaches() 135 std::vector<TypeReference> types = { in GetTestInlineCaches() 136 TypeReference(dex_file1, dex::TypeIndex(0)), in GetTestInlineCaches() 137 TypeReference(dex_file1, dex::TypeIndex(1)), in GetTestInlineCaches() 138 TypeReference(dex_file1, dex::TypeIndex(2)), in GetTestInlineCaches() [all …]
|
/art/runtime/jit/ |
D | profiling_info_test.cc | 115 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches() 121 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches() 129 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches() 137 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
|
/art/compiler/utils/ |
D | atomic_dex_ref_map-inl.h | 38 std::is_same<DexFileReferenceType, TypeReference>::value, in NumberOfDexIndices() 46 if (std::is_same<DexFileReferenceType, TypeReference>::value) { in NumberOfDexIndices()
|
/art/dex2oat/linker/ |
D | oat_writer.h | 471 SafeMap<TypeReference, size_t, TypeReferenceValueComparator> app_image_rel_ro_type_entries_; 476 SafeMap<TypeReference, size_t, TypeReferenceValueComparator> bss_type_entries_; 481 SafeMap<TypeReference, size_t, TypeReferenceValueComparator> bss_public_type_entries_; 486 SafeMap<TypeReference, size_t, TypeReferenceValueComparator> bss_package_type_entries_;
|
D | oat_writer.cc | 756 TypeReference target_type = patch.TargetType(); in VisitMethod() 762 TypeReference target_type = patch.TargetType(); in VisitMethod() 768 TypeReference target_type = patch.TargetType(); in VisitMethod() 1872 TypeReference target_type = patch.TargetType(); in GetTargetType() 2054 const SafeMap<TypeReference, size_t, TypeReferenceValueComparator>& bss_entries) { in CalculateIndexBssMappingSize() argument 2867 const SafeMap<TypeReference, size_t, TypeReferenceValueComparator>& bss_entries) { in WriteIndexBssMapping() argument 3214 TypeReference target_type = entry.first; in WriteDataImgRelRo()
|
/art/runtime/ |
D | common_runtime_test.h | 44 class TypeReference; variable 177 const std::function<void(TypeReference)>& class_visitor,
|
D | common_runtime_test.cc | 549 const std::function<void(TypeReference)>& class_visitor, in VisitDexes() 571 class_visitor(TypeReference(dex_file.get(), dex::TypeIndex(i))); in VisitDexes() 593 [&profile](TypeReference ref) { in GenerateProfile()
|
/art/compiler/linker/ |
D | linker_patch.h | 253 TypeReference TargetType() const { in TargetType() 259 return TypeReference(target_dex_file_, dex::TypeIndex(type_idx_)); in TargetType()
|
/art/dex2oat/ |
D | dex2oat_image_test.cc | 240 [&](TypeReference ref) { in TEST_F()
|