Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Dinstruction_builder.h100 bool NeedsAccessCheck(dex::TypeIndex type_index, /*out*/bool* finalizable) const
187 dex::TypeIndex type_index,
216 dex::TypeIndex type_index,
226 HLoadClass* BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc);
228 HLoadClass* BuildLoadClass(dex::TypeIndex type_index,
242 bool IsOutermostCompilingClass(dex::TypeIndex type_index) const;
281 HNewInstance* BuildNewInstance(dex::TypeIndex type_index, uint32_t dex_pc);
299 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_index,
Dinstruction_builder.cc1082 HNewInstance* HInstructionBuilder::BuildNewInstance(dex::TypeIndex type_index, uint32_t dex_pc) { in BuildNewInstance() argument
1085 HLoadClass* load_class = BuildLoadClass(type_index, dex_pc); in BuildNewInstance()
1109 type_index, in BuildNewInstance()
1483 bool HInstructionBuilder::IsOutermostCompilingClass(dex::TypeIndex type_index) const { in IsOutermostCompilingClass()
1489 soa, dex_cache, class_loader, type_index, dex_compilation_unit_))); in IsOutermostCompilingClass()
1701 dex::TypeIndex type_index, in BuildFilledNewArray() argument
1707 HLoadClass* cls = BuildLoadClass(type_index, dex_pc); in BuildFilledNewArray()
1711 const char* descriptor = dex_file_->StringByTypeIdx(type_index); in BuildFilledNewArray()
1852 HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc) { in BuildLoadClass() argument
1857 soa, dex_compilation_unit_->GetDexCache(), class_loader, type_index, dex_compilation_unit_)); in BuildLoadClass()
[all …]
Dsharpening.cc170 dex::TypeIndex type_index = load_class->GetTypeIndex(); in ComputeLoadClassKind() local
182 compiler_driver->IsImageClass(dex_file.StringByTypeIdx(type_index))) { in ComputeLoadClassKind()
Dcode_generator_mips64.h594 dex::TypeIndex type_index,
597 dex::TypeIndex type_index,
619 dex::TypeIndex type_index,
Dcode_generator_mips.h623 dex::TypeIndex type_index,
626 dex::TypeIndex type_index,
663 dex::TypeIndex type_index,
Dcode_generator_arm_vixl.h579 PcRelativePatchInfo* NewBootImageTypePatch(const DexFile& dex_file, dex::TypeIndex type_index);
580 PcRelativePatchInfo* NewTypeBssEntryPatch(const DexFile& dex_file, dex::TypeIndex type_index);
595 dex::TypeIndex type_index,
Dcode_generator_arm64.cc331 dex::TypeIndex type_index = cls_->GetTypeIndex(); in EmitNativeCode() local
332 __ Mov(calling_convention.GetRegisterAt(0).W(), type_index.index_); in EmitNativeCode()
4578 dex::TypeIndex type_index, in NewBootImageTypePatch() argument
4580 return NewPcRelativePatch(&dex_file, type_index.index_, adrp_label, &boot_image_type_patches_); in NewBootImageTypePatch()
4585 dex::TypeIndex type_index, in NewBssEntryTypePatch() argument
4587 return NewPcRelativePatch(&dex_file, type_index.index_, adrp_label, &type_bss_entry_patches_); in NewBssEntryTypePatch()
4638 const DexFile& dex_file, dex::TypeIndex type_index, Handle<mirror::Class> handle) { in DeduplicateJitClassLiteral() argument
4639 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral()
4641 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
4874 dex::TypeIndex type_index = cls->GetTypeIndex(); in VisitLoadClass() local
[all …]
Dcode_generator_arm64.h583 dex::TypeIndex type_index,
591 dex::TypeIndex type_index,
Dinliner.cc741 if (!dex_cache->GetDexFile()->IsTypeIndexValid(class_ref.type_index)) { in ExtractClassesFromOfflineProfile()
742 VLOG(compiler) << "Profile data corrupt: type index " << class_ref.type_index in ExtractClassesFromOfflineProfile()
747 class_ref.type_index, in ExtractClassesFromOfflineProfile()
757 .GetDexFile()->StringByTypeIdx(class_ref.type_index); in ExtractClassesFromOfflineProfile()
Dcode_generator_x86_64.h423 dex::TypeIndex type_index,
Dcode_generator_x86.h427 dex::TypeIndex type_index,
Dcode_generator_mips64.cc197 dex::TypeIndex type_index = cls_->GetTypeIndex(); in EmitNativeCode() local
198 __ LoadConst32(calling_convention.GetRegisterAt(0), type_index.index_); in EmitNativeCode()
1561 dex::TypeIndex type_index, in NewBootImageTypePatch() argument
1563 return NewPcRelativePatch(&dex_file, type_index.index_, info_high, &boot_image_type_patches_); in NewBootImageTypePatch()
1568 dex::TypeIndex type_index, in NewTypeBssEntryPatch() argument
1570 return NewPcRelativePatch(&dex_file, type_index.index_, info_high, &type_bss_entry_patches_); in NewTypeBssEntryPatch()
1638 dex::TypeIndex type_index, in DeduplicateJitClassLiteral() argument
1640 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral()
1642 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
/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.cc503 dex::TypeIndex type_index(instruction.VRegC_22c()); in ProcessDexInstruction() local
504 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction()
510 dex::TypeIndex type_index(instruction.VRegB_35c()); in ProcessDexInstruction() local
511 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction()
517 dex::TypeIndex type_index(instruction.VRegB_3rc()); in ProcessDexInstruction() local
519 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction()
638 dex::TypeIndex type_index(instruction.VRegB_21c()); in ProcessDexInstruction() local
639 UpdateRegister(reference, resolver_->GetVeriClass(type_index)); in ProcessDexInstruction()
/art/runtime/jit/
Dprofile_compilation_info.h117 dex_profile_index(dex_profile_idx), type_index(type_idx) {} in ClassReference()
120 return dex_profile_index == other.dex_profile_index && type_index == other.type_index;
124 ? type_index < other.type_index
129 dex::TypeIndex type_index; // the type index of the class member
Dprofile_compilation_info.cc557 dex_it->second.push_back(classes_it.type_index); in GroupClassesByDex()
698 dex_pc_data->AddClass(class_dex_data->profile_index, class_ref.type_index); in AddMethod()
790 uint16_t type_index; in ReadInlineCache() local
791 READ_UINT(uint16_t, buffer, type_index, error); in ReadInlineCache()
798 dex_pc_data->AddClass(it->second, dex::TypeIndex(type_index)); in ReadInlineCache()
860 uint16_t type_index = last_class_index + diff_with_last_class_index; in ReadClasses() local
861 last_class_index = type_index; in ReadClasses()
864 dex::TypeIndex(type_index), in ReadClasses()
1544 class_it.dex_profile_index), class_it.type_index); in MergeWith()
1703 << "," << class_ref.type_index.index_ << ")"; in DumpInfo()
[all …]
Djit_code_cache.cc1651 dex::TypeIndex type_index; in GetProfiledMethods() local
1659 type_index = cls->FindTypeIndexInOtherDexFile(*dex_file); in GetProfiledMethods()
1662 type_index = cls->GetDexTypeIndex(); in GetProfiledMethods()
1664 if (!type_index.IsValid()) { in GetProfiledMethods()
1673 class_dex_file, type_index); in GetProfiledMethods()
Dprofile_compilation_info_test.cc89 dex::TypeIndex type_index, in AddClass() argument
92 classes.AddClass(type_index); in AddClass()
/art/runtime/dex/
Ddex_file_annotations.cc175 uint32_t type_index = DecodeUnsignedLeb128(&annotation); in SearchAnnotationSet() local
177 if (strcmp(descriptor, dex_file.StringByTypeIdx(dex::TypeIndex(type_index))) == 0) { in SearchAnnotationSet()
338 uint32_t type_index = DecodeUnsignedLeb128(annotation); in ProcessEncodedAnnotation() local
346 class_linker->ResolveType(dex::TypeIndex(type_index), in ProcessEncodedAnnotation()
351 << " annotation class " << type_index; in ProcessEncodedAnnotation()
473 dex::TypeIndex type_index(index); in ProcessAnnotationValue() local
476 type_index, in ProcessAnnotationValue()
483 const char* msg = dex_file.StringByTypeIdx(type_index); in ProcessAnnotationValue()
778 uint32_t type_index = DecodeUnsignedLeb128(&annotation); in GetAnnotationItemFromAnnotationSet() local
783 dex::TypeIndex(type_index), in GetAnnotationItemFromAnnotationSet()
[all …]
/art/profman/
Dprofman.cc592 for (const dex::TypeIndex& type_index : class_types) { in GetClassNamesAndMethods() local
593 const DexFile::TypeId& type_id = dex_file->GetTypeId(type_index); in GetClassNamesAndMethods()
764 dex::TypeIndex type_index = dex_file->GetIndexForTypeId(*type_id); in FindClass() local
765 if (dex_file->FindClassDef(type_index) == nullptr) { in FindClass()
769 *class_ref = TypeReference(dex_file, type_index); in FindClass()
Dprofile_assistant_test.cc363 class_ref.type_index == it->GetDexTypeIndex()) { in AssertInlineCaches()
1075 ASSERT_EQ(invalid_class_index, dex_pc_data.classes.begin()->type_index); in TEST_F()
/art/compiler/dex/
Ddex_to_dex_compiler.cc322 const uint16_t type_index = NextIndex(); in Compile() local
324 quickened_info_.push_back(QuickenedInfo(dex_pc, type_index)); in Compile()
/art/compiler/driver/
Dcompiler_driver.h237 dex::TypeIndex type_index,
/art/dexlayout/
Ddex_ir.cc622 const dex::TypeIndex type_index = it.GetHandlerTypeIndex(); in DedupeOrCreateCodeItem() local
623 const TypeId* type_id = GetTypeIdOrNullPtr(type_index.index_); in DedupeOrCreateCodeItem()
/art/runtime/verifier/
Dverifier_deps.cc841 for (dex::TypeIndex type_index : dep.second->unverified_classes_) { in Dump() local
843 << dex_file.StringByTypeIdx(type_index) in Dump()

12