/art/compiler/utils/ |
H A D | type_reference.h | 32 TypeReference(const DexFile* file, dex::TypeIndex index) : dex_file(file), type_index(index) { } 35 dex::TypeIndex type_index; member in struct:art::TypeReference 43 StringReference sr1(tr1.dex_file, tr1.dex_file->GetTypeId(tr1.type_index).descriptor_idx_); 44 StringReference sr2(tr2.dex_file, tr2.dex_file->GetTypeId(tr2.type_index).descriptor_idx_);
|
/art/runtime/ |
H A D | dex_to_dex_decompiler.cc | 73 uint16_t type_index = GetIndexAt(dex_pc); local 76 inst->SetVRegB_21c(type_index);
|
H A D | dex_file_annotations.cc | 168 uint32_t type_index = DecodeUnsignedLeb128(&annotation); local 170 if (strcmp(descriptor, dex_file.StringByTypeIdx(dex::TypeIndex(type_index))) == 0) { 213 DecodeUnsignedLeb128(&annotation); // unused type_index 242 DecodeUnsignedLeb128(&annotation); // unused type_index 317 uint32_t type_index = DecodeUnsignedLeb128(annotation); local 326 dex::TypeIndex(type_index), 331 << " annotation class " << type_index; 453 dex::TypeIndex type_index(index); 457 type_index, 464 const char* msg = dex_file.StringByTypeIdx(type_index); 764 uint32_t type_index = DecodeUnsignedLeb128(&annotation); local [all...] |
/art/compiler/optimizing/ |
H A D | sharpening.cc | 159 dex::TypeIndex type_index = load_class->GetTypeIndex(); local 171 dex_file.StringDataByIdx(dex_file.GetTypeId(type_index).descriptor_idx_))) {
|
H A D | code_generator_mips.cc | 228 dex::TypeIndex type_index = cls_->GetTypeIndex(); variable 229 __ LoadConst32(calling_convention.GetRegisterAt(0), type_index.index_); 260 mips_codegen->NewTypeBssEntryPatch(cls_->GetDexFile(), type_index); 1603 target_type.type_index.index_)); 1614 const DexFile& dex_file, dex::TypeIndex type_index) { 1615 return NewPcRelativePatch(dex_file, type_index.index_, &pc_relative_type_patches_); 1619 const DexFile& dex_file, dex::TypeIndex type_index) { 1620 return NewPcRelativePatch(dex_file, type_index.index_, &type_bss_entry_patches_); 1655 dex::TypeIndex type_index) { 1657 TypeReference(&dex_file, type_index), 1613 NewPcRelativeTypePatch( const DexFile& dex_file, dex::TypeIndex type_index) argument 1618 NewTypeBssEntryPatch( const DexFile& dex_file, dex::TypeIndex type_index) argument [all...] |
H A D | code_generator_mips64.cc | 179 dex::TypeIndex type_index = cls_->GetTypeIndex(); variable 180 __ LoadConst32(calling_convention.GetRegisterAt(0), type_index.index_); 208 mips64_codegen->NewTypeBssEntryPatch(cls_->GetDexFile(), type_index); 1484 target_type.type_index.index_)); 1495 const DexFile& dex_file, dex::TypeIndex type_index) { 1496 return NewPcRelativePatch(dex_file, type_index.index_, &pc_relative_type_patches_); 1500 const DexFile& dex_file, dex::TypeIndex type_index) { 1501 return NewPcRelativePatch(dex_file, type_index.index_, &type_bss_entry_patches_); 1542 dex::TypeIndex type_index) { 1544 TypeReference(&dex_file, type_index), 1494 NewPcRelativeTypePatch( const DexFile& dex_file, dex::TypeIndex type_index) argument 1499 NewTypeBssEntryPatch( const DexFile& dex_file, dex::TypeIndex type_index) argument [all...] |
H A D | instruction_builder.cc | 944 bool HInstructionBuilder::BuildNewInstance(dex::TypeIndex type_index, uint32_t dex_pc) { argument 947 HLoadClass* load_class = BuildLoadClass(type_index, dex_pc); 971 type_index, 1286 bool HInstructionBuilder::IsOutermostCompilingClass(dex::TypeIndex type_index) const { 1292 soa, dex_cache, class_loader, type_index, dex_compilation_unit_))); 1505 dex::TypeIndex type_index, 1511 HLoadClass* cls = BuildLoadClass(type_index, dex_pc); 1515 const char* descriptor = dex_file_->StringByTypeIdx(type_index); 1641 HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index, uint32_t dex_pc) { argument 1646 soa, dex_compilation_unit_->GetDexCache(), class_loader, type_index, dex_compilation_unit 1504 BuildFilledNewArray(uint32_t dex_pc, dex::TypeIndex type_index, uint32_t number_of_vreg_arguments, bool is_range, uint32_t* args, uint32_t register_index) argument 1663 BuildLoadClass(dex::TypeIndex type_index, const DexFile& dex_file, Handle<mirror::Class> klass, uint32_t dex_pc, bool needs_access_check) argument 1704 BuildTypeCheck(const Instruction& instruction, uint8_t destination, uint8_t reference, dex::TypeIndex type_index, uint32_t dex_pc) argument 1728 NeedsAccessCheck(dex::TypeIndex type_index, bool* finalizable) const argument 2770 LookupResolvedType( dex::TypeIndex type_index, const DexCompilationUnit& compilation_unit) const argument [all...] |
H A D | code_generator_arm64.cc | 339 dex::TypeIndex type_index = cls_->GetTypeIndex(); variable 340 __ Mov(calling_convention.GetRegisterAt(0).W(), type_index.index_); 365 bss_entry_adrp_label_ = arm64_codegen->NewBssEntryTypePatch(dex_file, type_index); 369 arm64_codegen->NewBssEntryTypePatch(dex_file, type_index, bss_entry_adrp_label_); 4597 dex::TypeIndex type_index, 4599 return NewPcRelativePatch(dex_file, type_index.index_, adrp_label, &pc_relative_type_patches_); 4604 dex::TypeIndex type_index, 4606 return NewPcRelativePatch(dex_file, type_index.index_, adrp_label, &type_bss_entry_patches_); 4643 const DexFile& dex_file, dex::TypeIndex type_index) { 4645 TypeReference(&dex_file, type_index), 4595 NewPcRelativeTypePatch( const DexFile& dex_file, dex::TypeIndex type_index, vixl::aarch64::Label* adrp_label) argument 4602 NewBssEntryTypePatch( const DexFile& dex_file, dex::TypeIndex type_index, vixl::aarch64::Label* adrp_label) argument 4642 DeduplicateBootImageTypeLiteral( const DexFile& dex_file, dex::TypeIndex type_index) argument [all...] |
H A D | code_generator_arm.cc | 402 dex::TypeIndex type_index = cls_->GetTypeIndex(); variable 403 __ LoadImmediate(calling_convention.GetRegisterAt(0), type_index.index_); 422 arm_codegen->NewTypeBssEntryPatch(cls_->GetDexFile(), type_index); 8368 const DexFile& dex_file, dex::TypeIndex type_index) { 8369 return NewPcRelativePatch(dex_file, type_index.index_, &pc_relative_type_patches_); 8373 const DexFile& dex_file, dex::TypeIndex type_index) { 8374 return NewPcRelativePatch(dex_file, type_index.index_, &type_bss_entry_patches_); 8396 dex::TypeIndex type_index) { 8398 TypeReference(&dex_file, type_index), 8417 dex::TypeIndex type_index, 8367 NewPcRelativeTypePatch( const DexFile& dex_file, dex::TypeIndex type_index) argument 8372 NewTypeBssEntryPatch( const DexFile& dex_file, dex::TypeIndex type_index) argument 8395 DeduplicateBootImageTypeLiteral(const DexFile& dex_file, dex::TypeIndex type_index) argument [all...] |
H A D | code_generator_arm_vixl.cc | 429 dex::TypeIndex type_index = cls_->GetTypeIndex(); variable 430 __ Mov(calling_convention.GetRegisterAt(0), type_index.index_); 451 arm_codegen->NewTypeBssEntryPatch(cls_->GetDexFile(), type_index); 8487 const DexFile& dex_file, dex::TypeIndex type_index) { 8488 return NewPcRelativePatch(dex_file, type_index.index_, &pc_relative_type_patches_); 8492 const DexFile& dex_file, dex::TypeIndex type_index) { 8493 return NewPcRelativePatch(dex_file, type_index.index_, &type_bss_entry_patches_); 8519 dex::TypeIndex type_index) { 8521 TypeReference(&dex_file, type_index), 8549 dex::TypeIndex type_index, 8486 NewPcRelativeTypePatch( const DexFile& dex_file, dex::TypeIndex type_index) argument 8491 NewTypeBssEntryPatch( const DexFile& dex_file, dex::TypeIndex type_index) argument 8517 DeduplicateBootImageTypeLiteral( const DexFile& dex_file, dex::TypeIndex type_index) argument [all...] |
H A D | code_generator_x86.cc | 271 dex::TypeIndex type_index = cls_->GetTypeIndex(); variable 272 __ movl(calling_convention.GetRegisterAt(0), Immediate(type_index.index_));
|
H A D | nodes.h | 3884 dex::TypeIndex type_index, 3889 type_index_(type_index), 5051 dex::TypeIndex type_index, 5057 type_index_(type_index), 5670 dex::TypeIndex type_index, 5678 type_index_(type_index), 3882 HNewInstance(HInstruction* cls, uint32_t dex_pc, dex::TypeIndex type_index, const DexFile& dex_file, bool finalizable, QuickEntrypointEnum entrypoint) argument 5050 HParameterValue(const DexFile& dex_file, dex::TypeIndex type_index, uint8_t index, Primitive::Type parameter_type, bool is_this = false) argument 5669 HLoadClass(HCurrentMethod* current_method, dex::TypeIndex type_index, const DexFile& dex_file, Handle<mirror::Class> klass, bool is_referrers_class, uint32_t dex_pc, bool needs_access_check) argument
|
/art/runtime/jit/ |
H A D | profile_compilation_info.h | 42 : dex_file(dex), type_index(index) {} 45 dex::TypeIndex type_index; member in struct:art::ProfileMethodInfo::ProfileClassReference 121 dex_profile_index(dex_profile_idx), type_index(type_idx) {} 124 return dex_profile_index == other.dex_profile_index && type_index == other.type_index; 128 ? type_index < other.type_index 133 dex::TypeIndex type_index; // the type index of the class member in struct:art::ProfileCompilationInfo::ClassReference
|
H A D | jit_code_cache.cc | 1320 dex::TypeIndex type_index; local 1328 type_index = cls->FindTypeIndexInOtherDexFile(*dex_file); 1331 type_index = cls->GetDexTypeIndex(); 1333 if (!type_index.IsValid()) { 1341 class_dex_file, type_index);
|
/art/profman/ |
H A D | profman.cc | 430 for (const dex::TypeIndex& type_index : class_types) { 431 const DexFile::TypeId& type_id = dex_file->GetTypeId(type_index); 574 class_ref->type_index = dex::TypeIndex(kInvalidTypeIndex); 587 dex::TypeIndex type_index = dex_file->GetIndexForTypeId(*type_id); local 588 if (dex_file->FindClassDef(type_index) == nullptr) { 593 class_ref->type_index = type_index; 637 dex_file->GetTypeId(class_ref.type_index), *name_id, *proto_id); 657 *dex_file->FindClassDef(class_ref.type_index), 718 dex_resolved_classes.first->AddClass(class_ref.type_index); [all...] |
/art/dexlayout/ |
H A D | dex_ir.cc | 632 const dex::TypeIndex type_index = it.GetHandlerTypeIndex(); local 633 const TypeId* type_id = GetTypeIdOrNullPtr(type_index.index_);
|