Home
last modified time | relevance | path

Searched refs:type_index (Results 1 – 25 of 32) sorted by relevance

12

/art/compiler/optimizing/
Dinstruction_builder.h181 HNewArray* BuildNewArray(uint32_t dex_pc, dex::TypeIndex type_index, HInstruction* length);
185 dex::TypeIndex type_index,
211 dex::TypeIndex type_index,
221 HLoadClass* BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc);
223 HLoadClass* BuildLoadClass(dex::TypeIndex type_index,
230 Handle<mirror::Class> ResolveClass(ScopedObjectAccess& soa, dex::TypeIndex type_index)
270 HNewInstance* BuildNewInstance(dex::TypeIndex type_index, uint32_t dex_pc);
288 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_index,
Dinstruction_builder.cc1048 HNewInstance* HInstructionBuilder::BuildNewInstance(dex::TypeIndex type_index, uint32_t dex_pc) { in BuildNewInstance() argument
1051 HLoadClass* load_class = BuildLoadClass(type_index, dex_pc); in BuildNewInstance()
1079 type_index, in BuildNewInstance()
1805 dex::TypeIndex type_index, in BuildNewArray() argument
1807 HLoadClass* cls = BuildLoadClass(type_index, dex_pc); in BuildNewArray()
1809 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(type_index)); in BuildNewArray()
1819 dex::TypeIndex type_index, in BuildFilledNewArray() argument
1824 HNewArray* new_array = BuildNewArray(dex_pc, type_index, length); in BuildFilledNewArray()
1825 const char* descriptor = dex_file_->StringByTypeIdx(type_index); in BuildFilledNewArray()
1942 HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc) { in BuildLoadClass() argument
[all …]
Dsharpening.cc149 dex::TypeIndex type_index = load_class->GetTypeIndex(); in ComputeLoadClassKind() local
162 compiler_options.IsImageClass(dex_file.StringByTypeIdx(type_index))) { in ComputeLoadClassKind()
Dcode_generator_mips64.h600 dex::TypeIndex type_index,
603 dex::TypeIndex type_index,
628 dex::TypeIndex type_index,
Dcode_generator_mips.h630 dex::TypeIndex type_index,
633 dex::TypeIndex type_index,
673 dex::TypeIndex type_index,
Dcode_generator_arm_vixl.h585 PcRelativePatchInfo* NewBootImageTypePatch(const DexFile& dex_file, dex::TypeIndex type_index);
586 PcRelativePatchInfo* NewTypeBssEntryPatch(const DexFile& dex_file, dex::TypeIndex type_index);
601 dex::TypeIndex type_index,
Dcode_generator_arm64.cc325 dex::TypeIndex type_index = cls_->GetTypeIndex(); in EmitNativeCode() local
326 __ Mov(calling_convention.GetRegisterAt(0).W(), type_index.index_); in EmitNativeCode()
4246 dex::TypeIndex type_index, in NewBootImageTypePatch() argument
4248 return NewPcRelativePatch(&dex_file, type_index.index_, adrp_label, &boot_image_type_patches_); in NewBootImageTypePatch()
4253 dex::TypeIndex type_index, in NewBssEntryTypePatch() argument
4255 return NewPcRelativePatch(&dex_file, type_index.index_, adrp_label, &type_bss_entry_patches_); in NewBssEntryTypePatch()
4315 const DexFile& dex_file, dex::TypeIndex type_index, Handle<mirror::Class> handle) { in DeduplicateJitClassLiteral() argument
4316 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral()
4318 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
4644 dex::TypeIndex type_index = cls->GetTypeIndex(); in VisitLoadClass() local
[all …]
Dinliner.cc765 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()
Dcode_generator_arm64.h605 dex::TypeIndex type_index,
613 dex::TypeIndex type_index,
Dcode_generator_x86_64.h434 dex::TypeIndex type_index,
Dcode_generator_x86.h445 dex::TypeIndex type_index,
/art/runtime/entrypoints/quick/
Dquick_throw_entrypoints.cc127 dex::TypeIndex type_index(check_cast.VRegB_21c()); in artThrowClassCastException() local
129 dest_type = linker->LookupResolvedType(type_index, visitor.caller).Ptr(); in artThrowClassCastException()
131 << visitor.caller->GetDexFile()->PrettyType(type_index); in artThrowClassCastException()
/art/libprofile/profile/
Dprofile_compilation_info.h122 dex_profile_index(dex_profile_idx), type_index(type_idx) {} in ClassReference()
125 return dex_profile_index == other.dex_profile_index && type_index == other.type_index;
129 ? type_index < other.type_index
134 dex::TypeIndex type_index; // the type index of the class member
553 int32_t GetClassAggregationCounter(uint16_t type_index) const;
557 bool ContainsClass(const dex::TypeIndex type_index) const;
Dprofile_compilation_info.cc619 dex_it->second.push_back(classes_it.type_index); in GroupClassesByDex()
761 dex_pc_data->AddClass(class_dex_data->profile_index, class_ref.type_index); in AddMethod()
853 uint16_t type_index; in ReadInlineCache() local
854 READ_UINT(uint16_t, buffer, type_index, error); in ReadInlineCache()
861 dex_pc_data->AddClass(it->second, dex::TypeIndex(type_index)); in ReadInlineCache()
923 uint16_t type_index = last_class_index + diff_with_last_class_index; in ReadClasses() local
924 last_class_index = type_index; in ReadClasses()
927 dex::TypeIndex(type_index), in ReadClasses()
1692 class_it.dex_profile_index), class_it.type_index); in MergeWith()
1836 << "," << class_ref.type_index.index_ << ")"; in DumpInfo()
[all …]
Dprofile_compilation_info_test.cc66 dex::TypeIndex type_index, in AddClass() argument
69 classes.AddClass(type_index); in AddClass()
/art/runtime/
Ddex_to_dex_decompiler.cc67 const uint16_t type_index = NextIndex(); in DecompileNop() local
70 inst->SetVRegB_21c(type_index); in DecompileNop()
/art/tools/veridex/
Dflow_analysis.cc511 dex::TypeIndex type_index(instruction.VRegC_22c()); in ProcessDexInstruction() local
512 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction()
518 dex::TypeIndex type_index(instruction.VRegB_35c()); in ProcessDexInstruction() local
519 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction()
525 dex::TypeIndex type_index(instruction.VRegB_3rc()); in ProcessDexInstruction() local
527 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction()
646 dex::TypeIndex type_index(instruction.VRegB_21c()); in ProcessDexInstruction() local
647 UpdateRegister(reference, resolver_->GetVeriClass(type_index)); in ProcessDexInstruction()
/art/runtime/dex/
Ddex_file_annotations.cc195 uint32_t type_index = DecodeUnsignedLeb128(&annotation); in SearchAnnotationSet() local
197 if (strcmp(descriptor, dex_file.StringByTypeIdx(dex::TypeIndex(type_index))) == 0) { in SearchAnnotationSet()
355 uint32_t type_index = DecodeUnsignedLeb128(annotation); in ProcessEncodedAnnotation() local
363 class_linker->ResolveType(dex::TypeIndex(type_index), in ProcessEncodedAnnotation()
368 << " annotation class " << type_index; in ProcessEncodedAnnotation()
490 dex::TypeIndex type_index(index); in ProcessAnnotationValue() local
493 type_index, in ProcessAnnotationValue()
500 const char* msg = dex_file.StringByTypeIdx(type_index); in ProcessAnnotationValue()
794 uint32_t type_index = DecodeUnsignedLeb128(&annotation); in GetAnnotationItemFromAnnotationSet() local
799 dex::TypeIndex(type_index), in GetAnnotationItemFromAnnotationSet()
[all …]
/art/runtime/jit/
Dprofiling_info_test.cc88 dex::TypeIndex type_index, in AddClass() argument
91 classes.AddClass(type_index); in AddClass()
Djit_code_cache.cc2001 dex::TypeIndex type_index; in GetProfiledMethods() local
2009 type_index = cls->FindTypeIndexInOtherDexFile(*dex_file); in GetProfiledMethods()
2012 type_index = cls->GetDexTypeIndex(); in GetProfiledMethods()
2014 if (!type_index.IsValid()) { in GetProfiledMethods()
2023 class_dex_file, type_index); in GetProfiledMethods()
/art/profman/
Dprofman.cc650 for (const dex::TypeIndex& type_index : class_types) { in GetClassNamesAndMethods() local
651 const dex::TypeId& type_id = dex_file->GetTypeId(type_index); in GetClassNamesAndMethods()
827 dex::TypeIndex type_index = dex_file->GetIndexForTypeId(*type_id); in FindClass() local
828 if (dex_file->FindClassDef(type_index) == nullptr) { in FindClass()
832 *class_ref = TypeReference(dex_file, type_index); in FindClass()
Dprofile_assistant_test.cc368 if (dex_ref.MatchesDex(type_ref.dex_file) && class_ref.type_index == type_ref.TypeIndex()) { in AssertInlineCaches()
1081 ASSERT_EQ(invalid_class_index, dex_pc_data.classes.begin()->type_index); in TEST_F()
/art/dex2oat/dex/
Ddex_to_dex_compiler.cc324 const uint16_t type_index = NextIndex(); in Compile() local
326 quickened_info_.push_back(QuickenedInfo(dex_pc, type_index)); in Compile()
/art/dex2oat/driver/
Dcompiler_driver.h148 dex::TypeIndex type_index,
/art/dexlayout/
Ddex_ir_builder.cc845 const dex::TypeIndex type_index = it.GetHandlerTypeIndex(); in DedupeOrCreateCodeItem() local
846 const TypeId* type_id = header_->GetTypeIdOrNullPtr(type_index.index_); in DedupeOrCreateCodeItem()

12