/art/libprofile/profile/ |
D | profile_compilation_info.h | 117 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 332 void AddClass(ProfileIndexType profile_index, dex::TypeIndex type_index) { in AddClass() argument 335 DCHECK(type_index.IsValid()); in AddClass() 336 DCHECK(type_index.index_ <= data->num_type_ids || in AddClass() 337 type_index.index_ - data->num_type_ids < extra_descriptors_.size()); in AddClass() 338 data->class_set.insert(type_index); in AddClass() 346 dex::TypeIndex type_index, [all …]
|
D | profile_test_helper.h | 77 dex::TypeIndex type_index, 79 return info->AddClass(*dex, type_index, annotation); 129 for (dex::TypeIndex type_index : dex_pc_data.classes) { in EqualInlineCaches() local 134 return type_index == type_ref.TypeIndex(); in EqualInlineCaches() 138 const char* descriptor = info.GetTypeDescriptor(dex_file, type_index); in EqualInlineCaches()
|
D | profile_compilation_info.cc | 720 dex::TypeIndex type_index = FindOrCreateTypeIndex(dex_file, descriptor); in AddClass() local 721 if (!type_index.IsValid()) { in AddClass() 724 data->class_set.insert(type_index); in AddClass() 1264 dex::TypeIndex type_index = FindOrCreateTypeIndex(*pmi.ref.dex_file, class_ref); in AddMethod() local 1265 if (type_index.IsValid()) { in AddMethod() 1266 dex_pc_data->AddClass(type_index); in AddMethod() 1341 for (const dex::TypeIndex& type_index : dex_pc_data.classes) { in VerifyProfileData() local 1342 if (type_index.index_ >= dex_data->num_type_ids) { in VerifyProfileData() 1343 CHECK_LT(type_index.index_ - dex_data->num_type_ids, extra_descriptors_.size()); in VerifyProfileData() 1349 for (const dex::TypeIndex& type_index : dex_data->class_set) { in VerifyProfileData() local [all …]
|
D | profile_compilation_info_test.cc | 252 for (uint32_t type_index = 0; type_index != num_type_ids1; ++type_index) { in TEST_F() local 253 ASSERT_TRUE(info.AddClass(*dex1, dex::TypeIndex(type_index))); in TEST_F() 256 for (uint32_t type_index = num_type_ids1; type_index != DexFile::kDexNoIndex16; ++type_index) { in TEST_F() local 257 std::string descriptor = "LX" + std::to_string(type_index) + ";"; in TEST_F() 266 for (uint32_t type_index = 0; type_index != num_type_ids2; ++type_index) { in TEST_F() local 267 ASSERT_TRUE(info.AddClass(*dex2, dex::TypeIndex(type_index))); in TEST_F() 274 for (uint32_t type_index = num_type_ids2; type_index != DexFile::kDexNoIndex16; ++type_index) { in TEST_F() local 275 std::string descriptor = "LX" + std::to_string(type_index) + ";"; in TEST_F() 676 dex::TypeIndex type_index = *dex_pc_data.classes.begin(); in TEST_F() local 677 ASSERT_FALSE(dex2->IsTypeIndexValid(type_index)); in TEST_F() [all …]
|
/art/compiler/optimizing/ |
D | instruction_builder.h | 173 HNewArray* BuildNewArray(uint32_t dex_pc, dex::TypeIndex type_index, HInstruction* length); 177 dex::TypeIndex type_index, 202 dex::TypeIndex type_index, 207 dex::TypeIndex type_index, 217 HLoadClass* BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc); 219 HLoadClass* BuildLoadClass(dex::TypeIndex type_index, 226 Handle<mirror::Class> ResolveClass(ScopedObjectAccess& soa, dex::TypeIndex type_index) 229 bool LoadClassNeedsAccessCheck(dex::TypeIndex type_index, ObjPtr<mirror::Class> klass) 278 HNewInstance* BuildNewInstance(dex::TypeIndex type_index, uint32_t dex_pc); 292 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_index,
|
D | instruction_builder.cc | 1242 HNewInstance* HInstructionBuilder::BuildNewInstance(dex::TypeIndex type_index, uint32_t dex_pc) { in BuildNewInstance() argument 1245 HLoadClass* load_class = BuildLoadClass(type_index, dex_pc); in BuildNewInstance() 1277 type_index, in BuildNewInstance() 2235 dex::TypeIndex type_index, in BuildNewArray() argument 2237 HLoadClass* cls = BuildLoadClass(type_index, dex_pc); in BuildNewArray() 2239 const char* descriptor = dex_file_->GetTypeDescriptor(dex_file_->GetTypeId(type_index)); in BuildNewArray() 2249 dex::TypeIndex type_index, in BuildFilledNewArray() argument 2254 HNewArray* new_array = BuildNewArray(dex_pc, type_index, length); in BuildFilledNewArray() 2255 const char* descriptor = dex_file_->StringByTypeIdx(type_index); in BuildFilledNewArray() 2372 HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc) { in BuildLoadClass() argument [all …]
|
D | sharpening.cc | 171 dex::TypeIndex type_index = load_class->GetTypeIndex(); in ComputeLoadClassKind() local 203 const char* klass_descriptor = dex_file.StringByTypeIdx(type_index); in ComputeLoadClassKind() 230 compiler_options.IsImageClass(dex_file.StringByTypeIdx(type_index))) { in ComputeLoadClassKind()
|
D | code_generator_arm_vixl.h | 619 PcRelativePatchInfo* NewBootImageTypePatch(const DexFile& dex_file, dex::TypeIndex type_index); 638 dex::TypeIndex type_index,
|
D | code_generator_x86_64.h | 474 dex::TypeIndex type_index,
|
D | code_generator_arm64.cc | 285 dex::TypeIndex type_index = cls_->GetTypeIndex(); in EmitNativeCode() local 286 __ Mov(calling_convention.GetRegisterAt(0).W(), type_index.index_); in EmitNativeCode() 4825 dex::TypeIndex type_index, in NewBootImageTypePatch() argument 4827 return NewPcRelativePatch(&dex_file, type_index.index_, adrp_label, &boot_image_type_patches_); in NewBootImageTypePatch() 4834 dex::TypeIndex type_index = load_class->GetTypeIndex(); in NewBssEntryTypePatch() local 4850 return NewPcRelativePatch(&dex_file, type_index.index_, adrp_label, patches); in NewBssEntryTypePatch() 4926 const DexFile& dex_file, dex::TypeIndex type_index, Handle<mirror::Class> handle) { in DeduplicateJitClassLiteral() argument 4927 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral() 4929 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral() 5300 dex::TypeIndex type_index = cls->GetTypeIndex(); in VisitLoadClass() local [all …]
|
D | code_generator_x86.h | 504 dex::TypeIndex type_index,
|
D | inliner.cc | 672 for (const dex::TypeIndex& type_index : dex_pc_data.classes) { in GetInlineCacheAOT() local 674 const char* descriptor = pci->GetTypeDescriptor(dex_file, type_index); in GetInlineCacheAOT()
|
D | code_generator_arm64.h | 759 dex::TypeIndex type_index,
|
D | code_generator_arm_vixl.cc | 533 dex::TypeIndex type_index = cls_->GetTypeIndex(); in EmitNativeCode() local 534 __ Mov(calling_convention.GetRegisterAt(0), type_index.index_); in EmitNativeCode() 9380 const DexFile& dex_file, dex::TypeIndex type_index) { in NewBootImageTypePatch() argument 9381 return NewPcRelativePatch(&dex_file, type_index.index_, &boot_image_type_patches_); in NewBootImageTypePatch() 9387 dex::TypeIndex type_index = load_class->GetTypeIndex(); in NewTypeBssEntryPatch() local 9403 return NewPcRelativePatch(&dex_file, type_index.index_, patches); in NewTypeBssEntryPatch() 9466 dex::TypeIndex type_index, in DeduplicateJitClassLiteral() argument 9468 ReserveJitClassRoot(TypeReference(&dex_file, type_index), handle); in DeduplicateJitClassLiteral() 9470 TypeReference(&dex_file, type_index), in DeduplicateJitClassLiteral()
|
D | nodes.h | 4472 dex::TypeIndex type_index, 4480 type_index_(type_index), 5911 dex::TypeIndex type_index, 5917 type_index_(type_index), 6752 dex::TypeIndex type_index, 6763 type_index_(type_index),
|
/art/runtime/entrypoints/quick/ |
D | quick_throw_entrypoints.cc | 127 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/tools/veridex/ |
D | flow_analysis.cc | 534 dex::TypeIndex type_index(instruction.VRegC_22c()); in ProcessDexInstruction() local 535 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction() 541 dex::TypeIndex type_index(instruction.VRegB_35c()); in ProcessDexInstruction() local 542 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction() 548 dex::TypeIndex type_index(instruction.VRegB_3rc()); in ProcessDexInstruction() local 550 VeriClass* cls = resolver_->GetVeriClass(type_index); in ProcessDexInstruction() 669 dex::TypeIndex type_index(instruction.VRegB_21c()); in ProcessDexInstruction() local 670 UpdateRegister(reference, resolver_->GetVeriClass(type_index)); in ProcessDexInstruction()
|
/art/runtime/jit/ |
D | profile_saver.cc | 408 dex::TypeIndex type_index; member 543 dex::TypeIndex type_index = k->GetDexTypeIndex(); in CollectInternal() 556 ClassRecord{type_index, dim, copied_methods_start, methods}); in CollectInternal() 679 array_class_descriptor += dex_file->StringByTypeIdx(class_record.type_index); in UpdateProfile() 680 dex::TypeIndex type_index = in UpdateProfile() local 682 if (type_index.IsValid()) { in UpdateProfile() 683 profile_info->AddClass(profile_index, type_index); in UpdateProfile() 688 profile_info->AddClass(profile_index, class_record.type_index); in UpdateProfile() 734 dex::TypeIndex type_index = in UpdateProfile() local 736 if (type_index.IsValid()) { in UpdateProfile() [all …]
|
D | jit_code_cache.cc | 1534 dex::TypeIndex type_index; in GetProfiledMethods() local 1542 type_index = cls->FindTypeIndexInOtherDexFile(*dex_file); in GetProfiledMethods() 1545 type_index = cls->GetDexTypeIndex(); in GetProfiledMethods() 1547 if (!type_index.IsValid()) { in GetProfiledMethods() 1556 class_dex_file, type_index); in GetProfiledMethods()
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 195 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/ |
D | profman.cc | 831 for (dex::TypeIndex type_index : ic_data.classes) { in GetInlineCacheLine() local 832 val->second.classes_.insert(type_index); in GetInlineCacheLine() 849 for (dex::TypeIndex type_index : dex_data.classes_) { in GetInlineCacheLine() local 854 dump_ic << profile_info.GetTypeDescriptor(dex_file, type_index); in GetInlineCacheLine() 875 for (const dex::TypeIndex& type_index : class_types) { in GetClassNamesAndMethods() local 876 out_lines->insert(profile_info.GetTypeDescriptor(dex_file.get(), type_index)); in GetClassNamesAndMethods() 1045 dex::TypeIndex type_index = dex_file->GetIndexForTypeId(*type_id); in FindClassDef() local 1046 const dex::ClassDef* class_def = dex_file->FindClassDef(type_index); in FindClassDef() 1048 *class_ref = TypeReference(dex_file.get(), type_index); in FindClassDef()
|
D | profile_assistant_test.cc | 392 for (dex::TypeIndex type_index : dex_pc_data.classes) { in AssertInlineCaches() local 393 ASSERT_TRUE(type_index.IsValid()); in AssertInlineCaches() 394 if (type_ref.TypeIndex() == type_index) { in AssertInlineCaches() 401 for (dex::TypeIndex type_index : dex_pc_data.classes) { in AssertInlineCaches() local 402 ASSERT_TRUE(type_index.IsValid()); in AssertInlineCaches() 403 const char* descriptor = info.GetTypeDescriptor(dex_file, type_index); in AssertInlineCaches()
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 150 dex::TypeIndex type_index,
|
D | compiler_driver.cc | 632 dex::TypeIndex type_index( in InitializeTypeCheckBitstrings() local 634 const char* descriptor = dex_file.StringByTypeIdx(type_index); in InitializeTypeCheckBitstrings() 641 class_linker->LookupResolvedType(type_index, in InitializeTypeCheckBitstrings()
|
/art/dexlayout/ |
D | dex_ir_builder.cc | 846 const dex::TypeIndex type_index = it.GetHandlerTypeIndex(); in DedupeOrCreateCodeItem() local 847 const TypeId* type_id = header_->GetTypeIdOrNullPtr(type_index.index_); in DedupeOrCreateCodeItem()
|