Home
last modified time | relevance | path

Searched refs:TypeReference (Results 1 – 18 of 18) 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/runtime/jit/
Dprofiling_info_test.cc143 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
149 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
157 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
165 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches()
/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/
Ddex2oat_image_test.cc85 class_visitor(TypeReference(dex_file.get(), dex::TypeIndex(i))); in VisitLibcoreDexes()
99 [out_file](TypeReference ref) { in GenerateClasses()
265 }, [&profile](TypeReference ref) { in TEST_F()
/art/profman/
Dprofman.cc806 /*out*/TypeReference* class_ref) { in FindClass()
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()
891 bool HasSingleInvoke(const TypeReference& class_ref, in HasSingleInvoke()
974 TypeReference class_ref(/* dex_file= */ nullptr, dex::TypeIndex()); in ProcessLine()
1042 std::vector<TypeReference> classes(inline_cache_elems.size(), in ProcessLine()
1043 TypeReference(/* dex_file= */ nullptr, dex::TypeIndex())); in ProcessLine()
Dboot_image_profile.cc79 TypeReference ref(dex_file.get(), accessor.GetClassIdx()); in GenerateBootImageProfile()
Dprofile_assistant_test.cc37 using TypeReferenceSet = std::set<TypeReference, TypeReferenceValueComparator>;
340 static TypeReference MakeTypeReference(ObjPtr<mirror::Class> klass) in MakeTypeReference()
342 return TypeReference(&klass->GetDexFile(), klass->GetDexTypeIndex()); in MakeTypeReference()
364 for (const TypeReference& type_ref : expected_clases) { in AssertInlineCaches()
1352 ASSERT_EQ(1, result.GetClassAggregationCounter(TypeReference(&d1, dex::TypeIndex(i)))); in TEST_F()
/art/libprofile/profile/
Dprofile_compilation_info.h47 const std::vector<TypeReference>& profile_classes) in ProfileInlineCache()
52 const std::vector<TypeReference> classes;
266 bool AddClassForDex(const TypeReference& ref) { in AddClassForDex()
467 int32_t GetClassAggregationCounter(const TypeReference& type_ref) const;
/art/compiler/optimizing/
Dcode_generator.cc183 void ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass) { in ReserveJitClassRoot()
187 uint64_t GetJitClassRootIndex(TypeReference type_reference) const { in GetJitClassRootIndex()
228 ScopedArenaSafeMap<TypeReference, uint64_t, TypeReferenceValueComparator> jit_class_roots_;
283 void CodeGenerator::ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass) { in ReserveJitClassRoot()
288 uint64_t CodeGenerator::GetJitClassRootIndex(TypeReference type_reference) { in GetJitClassRootIndex()
Dcode_generator.h724 void ReserveJitClassRoot(TypeReference type_reference, Handle<mirror::Class> klass);
725 uint64_t GetJitClassRootIndex(TypeReference type_reference);
Dcode_generator_mips64.h637 using TypeToLiteralMap = ArenaSafeMap<TypeReference,
Dcode_generator_arm64.h845 using TypeToLiteralMap = ArenaSafeMap<TypeReference,
Dcode_generator_arm_vixl.h841 using TypeToLiteralMap = ArenaSafeMap<TypeReference,
Dcode_generator_mips64.cc1733 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral()
1735 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
1757 const TypeReference& type_reference = entry.first; in EmitJitRootPatches()
Dcode_generator_arm_vixl.cc8905 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral()
8907 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
9280 const TypeReference& type_reference = entry.first; in EmitJitRootPatches()
Dcode_generator_mips.cc1818 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in NewJitRootClassPatch()
1856 TypeReference type_reference(&info.target_dex_file, dex::TypeIndex(info.index)); in EmitJitRootPatches()
/art/dex2oat/linker/
Doat_writer.h456 SafeMap<TypeReference, size_t, TypeReferenceValueComparator> bss_type_entries_;
Doat_writer.cc888 TypeReference target_type(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); in VisitMethod()
1799 TypeReference ref(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); in VisitMethod()