Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Dinstruction_builder.h179 HNewArray* BuildNewArray(uint32_t dex_pc, dex::TypeIndex type_index, HInstruction* length);
183 dex::TypeIndex type_index,
209 dex::TypeIndex type_index,
219 HLoadClass* BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc);
221 HLoadClass* BuildLoadClass(dex::TypeIndex type_index,
228 Handle<mirror::Class> ResolveClass(ScopedObjectAccess& soa, dex::TypeIndex type_index)
280 HNewInstance* BuildNewInstance(dex::TypeIndex type_index, uint32_t dex_pc);
294 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_index,
Dinstruction_builder.cc1124 HNewInstance* HInstructionBuilder::BuildNewInstance(dex::TypeIndex type_index, uint32_t dex_pc) { in BuildNewInstance() argument
1127 HLoadClass* load_class = BuildLoadClass(type_index, dex_pc); in BuildNewInstance()
1155 type_index, in BuildNewInstance()
2100 dex::TypeIndex type_index, in BuildNewArray() argument
2102 HLoadClass* cls = BuildLoadClass(type_index, dex_pc); in BuildNewArray()
2104 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(type_index)); in BuildNewArray()
2114 dex::TypeIndex type_index, in BuildFilledNewArray() argument
2119 HNewArray* new_array = BuildNewArray(dex_pc, type_index, length); in BuildFilledNewArray()
2120 const char* descriptor = dex_file_->StringByTypeIdx(type_index); in BuildFilledNewArray()
2237 HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc) { in BuildLoadClass() argument
[all …]
Dsharpening.cc167 dex::TypeIndex type_index = load_class->GetTypeIndex(); in ComputeLoadClassKind() local
184 compiler_options.IsImageClass(dex_file.StringByTypeIdx(type_index))) { in ComputeLoadClassKind()
Dcode_generator_arm_vixl.h616 PcRelativePatchInfo* NewBootImageTypePatch(const DexFile& dex_file, dex::TypeIndex type_index);
617 PcRelativePatchInfo* NewTypeBssEntryPatch(const DexFile& dex_file, dex::TypeIndex type_index);
635 dex::TypeIndex type_index,
Dinliner.cc779 if (!dex_cache->GetDexFile()->IsTypeIndexValid(class_ref.type_index)) { in ExtractClassesFromOfflineProfile()
780 VLOG(compiler) << "Profile data corrupt: type index " << class_ref.type_index in ExtractClassesFromOfflineProfile()
785 class_ref.type_index, in ExtractClassesFromOfflineProfile()
795 .GetDexFile()->StringByTypeIdx(class_ref.type_index); in ExtractClassesFromOfflineProfile()
Dcode_generator_arm64.cc327 dex::TypeIndex type_index = cls_->GetTypeIndex(); in EmitNativeCode() local
328 __ Mov(calling_convention.GetRegisterAt(0).W(), type_index.index_); in EmitNativeCode()
4663 dex::TypeIndex type_index, in NewBootImageTypePatch() argument
4665 return NewPcRelativePatch(&dex_file, type_index.index_, adrp_label, &boot_image_type_patches_); in NewBootImageTypePatch()
4670 dex::TypeIndex type_index, in NewBssEntryTypePatch() argument
4672 return NewPcRelativePatch(&dex_file, type_index.index_, adrp_label, &type_bss_entry_patches_); in NewBssEntryTypePatch()
4741 const DexFile& dex_file, dex::TypeIndex type_index, Handle<mirror::Class> handle) { in DeduplicateJitClassLiteral() argument
4742 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral()
4744 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
5085 dex::TypeIndex type_index = cls->GetTypeIndex(); in VisitLoadClass() local
[all …]
Dcode_generator_arm64.h731 dex::TypeIndex type_index,
739 dex::TypeIndex type_index,
Dcode_generator_x86.h480 dex::TypeIndex type_index,
Dcode_generator_x86_64.h472 dex::TypeIndex type_index,
Dcode_generator_arm_vixl.cc530 dex::TypeIndex type_index = cls_->GetTypeIndex(); in EmitNativeCode() local
531 __ Mov(calling_convention.GetRegisterAt(0), type_index.index_); in EmitNativeCode()
9248 const DexFile& dex_file, dex::TypeIndex type_index) { in NewBootImageTypePatch() argument
9249 return NewPcRelativePatch(&dex_file, type_index.index_, &boot_image_type_patches_); in NewBootImageTypePatch()
9253 const DexFile& dex_file, dex::TypeIndex type_index) { in NewTypeBssEntryPatch() argument
9254 return NewPcRelativePatch(&dex_file, type_index.index_, &type_bss_entry_patches_); in NewTypeBssEntryPatch()
9317 dex::TypeIndex type_index, in DeduplicateJitClassLiteral() argument
9319 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral()
9321 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
Dnodes.h4282 dex::TypeIndex type_index, in HNewInstance() argument
4290 type_index_(type_index), in HNewInstance()
5681 dex::TypeIndex type_index,
5687 type_index_(type_index), in HExpression()
6386 dex::TypeIndex type_index, in HLoadClass() argument
6397 type_index_(type_index), in HLoadClass()
/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/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/libprofile/profile/
Dprofile_compilation_info.h139 dex_profile_index(dex_profile_idx), type_index(type_idx) {} in ClassReference()
142 return dex_profile_index == other.dex_profile_index && type_index == other.type_index;
146 ? type_index < other.type_index
151 dex::TypeIndex type_index; // the type index of the class member
658 bool ContainsClass(const dex::TypeIndex type_index) const;
Dprofile_compilation_info.cc604 dex_it->second.push_back(classes_it.type_index); in GroupClassesByDex()
803 uint16_t type_index; in ReadInlineCache() local
804 READ_UINT(uint16_t, buffer, type_index, error); in ReadInlineCache()
811 dex_pc_data->AddClass(it->second, dex::TypeIndex(type_index)); in ReadInlineCache()
874 uint16_t type_index = last_class_index + diff_with_last_class_index; in ReadClasses() local
875 last_class_index = type_index; in ReadClasses()
883 data->class_set.insert(dex::TypeIndex(type_index)); in ReadClasses()
1583 class_it.dex_profile_index), class_it.type_index); in MergeWith()
1707 << "," << class_ref.type_index.index_ << ")"; in DumpInfo()
1768 for (const dex::TypeIndex& type_index : dex_data->class_set) { in GetClassesAndMethods() local
[all …]
Dprofile_compilation_info_test.cc95 dex::TypeIndex type_index, in AddClass() argument
97 std::vector<dex::TypeIndex> classes = {type_index}; in AddClass()
/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()
773 uint32_t type_index = DecodeUnsignedLeb128(&annotation); in GetAnnotationItemFromAnnotationSet() local
778 dex::TypeIndex(type_index), in GetAnnotationItemFromAnnotationSet()
[all …]
/art/profman/
Dprofman.cc747 for (const dex::TypeIndex& type_index : class_types) { in GetClassNamesAndMethods() local
748 const dex::TypeId& type_id = dex_file->GetTypeId(type_index); in GetClassNamesAndMethods()
925 dex::TypeIndex type_index = dex_file->GetIndexForTypeId(*type_id); in FindClass() local
926 *class_ref = TypeReference(dex_file, type_index); in FindClass()
928 if (dex_file->FindClassDef(type_index) == nullptr) { in FindClass()
Dprofile_assistant_test.cc80 dex::TypeIndex type_index) { in AddClass() argument
81 std::vector<dex::TypeIndex> classes = {type_index}; in AddClass()
353 if (dex_ref.MatchesDex(type_ref.dex_file) && class_ref.type_index == type_ref.TypeIndex()) { in AssertInlineCaches()
1190 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.h151 dex::TypeIndex type_index,
Dcompiler_driver.cc765 dex::TypeIndex type_index( in InitializeTypeCheckBitstrings() local
767 const char* descriptor = dex_file.StringByTypeIdx(type_index); in InitializeTypeCheckBitstrings()
774 class_linker->LookupResolvedType(type_index, in InitializeTypeCheckBitstrings()
/art/runtime/jit/
Djit_code_cache.cc1661 dex::TypeIndex type_index; in GetProfiledMethods() local
1669 type_index = cls->FindTypeIndexInOtherDexFile(*dex_file); in GetProfiledMethods()
1672 type_index = cls->GetDexTypeIndex(); in GetProfiledMethods()
1674 if (!type_index.IsValid()) { in GetProfiledMethods()
1683 class_dex_file, type_index); in GetProfiledMethods()
/art/dexlayout/
Ddex_ir_builder.cc846 const dex::TypeIndex type_index = it.GetHandlerTypeIndex(); in DedupeOrCreateCodeItem() local
847 const TypeId* type_id = header_->GetTypeIdOrNullPtr(type_index.index_); in DedupeOrCreateCodeItem()

12