/art/runtime/entrypoints/portable/ |
D | portable_field_entrypoints.cc | 24 extern "C" int32_t art_portable_set32_static_from_code(uint32_t field_idx, in art_portable_set32_static_from_code() argument 28 mirror::ArtField* field = FindFieldFast(field_idx, in art_portable_set32_static_from_code() 37 field = FindFieldFromCode<StaticPrimitiveWrite, true>(field_idx, referrer, Thread::Current(), in art_portable_set32_static_from_code() 47 extern "C" int32_t art_portable_set64_static_from_code(uint32_t field_idx, in art_portable_set64_static_from_code() argument 51 …mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, sizeof(uint64_t… in art_portable_set64_static_from_code() 57 field = FindFieldFromCode<StaticPrimitiveWrite, true>(field_idx, referrer, Thread::Current(), in art_portable_set64_static_from_code() 67 extern "C" int32_t art_portable_set_obj_static_from_code(uint32_t field_idx, in art_portable_set_obj_static_from_code() argument 71 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectWrite, in art_portable_set_obj_static_from_code() 78 field = FindFieldFromCode<StaticObjectWrite, true>(field_idx, referrer, Thread::Current(), in art_portable_set_obj_static_from_code() 88 extern "C" int32_t art_portable_get32_static_from_code(uint32_t field_idx, in art_portable_get32_static_from_code() argument [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 28 extern "C" uint32_t artGet32StaticFromCode(uint32_t field_idx, in artGet32StaticFromCode() argument 32 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, in artGet32StaticFromCode() 38 field = FindFieldFromCode<StaticPrimitiveRead, true>(field_idx, referrer, self, sizeof(int32_t)); in artGet32StaticFromCode() 45 extern "C" uint64_t artGet64StaticFromCode(uint32_t field_idx, in artGet64StaticFromCode() argument 49 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, in artGet64StaticFromCode() 55 field = FindFieldFromCode<StaticPrimitiveRead, true>(field_idx, referrer, self, sizeof(int64_t)); in artGet64StaticFromCode() 62 extern "C" mirror::Object* artGetObjStaticFromCode(uint32_t field_idx, in artGetObjStaticFromCode() argument 67 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectRead, in artGetObjStaticFromCode() 73 field = FindFieldFromCode<StaticObjectRead, true>(field_idx, referrer, self, in artGetObjStaticFromCode() 81 extern "C" uint32_t artGet32InstanceFromCode(uint32_t field_idx, mirror::Object* obj, in artGet32InstanceFromCode() argument [all …]
|
/art/runtime/ |
D | dex_instruction.cc | 187 uint32_t field_idx = VRegB_21c(); in DumpString() local 188 …os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyField(field_idx, *file, tr… in DumpString() 189 << " // field@" << field_idx; in DumpString() 200 uint32_t field_idx = VRegB_21c(); in DumpString() local 201 …os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyField(field_idx, *file, tru… in DumpString() 202 << " // field@" << field_idx; in DumpString() 225 uint32_t field_idx = VRegC_22c(); in DumpString() local 227 << PrettyField(field_idx, *file, true) << " // field@" << field_idx; in DumpString() 233 uint32_t field_idx = VRegC_22c(); in DumpString() local 235 << "// offset@" << field_idx; in DumpString() [all …]
|
D | class_linker-inl.h | 137 inline mirror::ArtField* ClassLinker::GetResolvedField(uint32_t field_idx, in GetResolvedField() argument 139 return field_declaring_class->GetDexCache()->GetResolvedField(field_idx); in GetResolvedField() 142 inline mirror::ArtField* ClassLinker::ResolveField(uint32_t field_idx, mirror::ArtMethod* referrer, in ResolveField() argument 145 mirror::ArtField* resolved_field = GetResolvedField(field_idx, declaring_class); in ResolveField() 151 resolved_field = ResolveField(dex_file, field_idx, dex_cache, class_loader, is_static); in ResolveField()
|
D | class_linker.h | 192 mirror::ArtField* GetResolvedField(uint32_t field_idx, mirror::Class* field_declaring_class) 194 mirror::ArtField* ResolveField(uint32_t field_idx, mirror::ArtMethod* referrer, 204 uint32_t field_idx, 214 mirror::ArtField* ResolveFieldJLS(const DexFile& dex_file, uint32_t field_idx,
|
D | utils.cc | 308 std::string PrettyField(uint32_t field_idx, const DexFile& dex_file, bool with_type) { in PrettyField() argument 309 if (field_idx >= dex_file.NumFieldIds()) { in PrettyField() 310 return StringPrintf("<<invalid-field-idx-%d>>", field_idx); in PrettyField() 312 const DexFile::FieldId& field_id = dex_file.GetFieldId(field_idx); in PrettyField()
|
/art/compiler/dex/ |
D | mir_field_info.h | 75 MirFieldInfo(uint16_t field_idx, uint16_t flags) in MirFieldInfo() argument 76 : field_idx_(field_idx), in MirFieldInfo() 110 explicit MirIFieldLoweringInfo(uint16_t field_idx) in MirIFieldLoweringInfo() argument 111 : MirFieldInfo(field_idx, kFlagIsVolatile), // Without kFlagIsStatic. in MirIFieldLoweringInfo() 157 explicit MirSFieldLoweringInfo(uint16_t field_idx) in MirSFieldLoweringInfo() argument 158 : MirFieldInfo(field_idx, kFlagIsVolatile | kFlagIsStatic), in MirSFieldLoweringInfo()
|
D | mir_field_info.cc | 56 uint32_t field_idx = it->field_idx_; in Resolve() local 58 compiler_driver->ResolveField(soa, dex_cache, class_loader, mUnit, field_idx, false); in Resolve() 67 dex_cache.Get(), referrer_class.Get(), resolved_field, field_idx); in Resolve() 103 uint32_t field_idx = it->field_idx_; in Resolve() local 105 compiler_driver->ResolveField(soa, dex_cache, class_loader, mUnit, field_idx, true); in Resolve() 115 dex_cache.Get(), referrer_class.Get(), resolved_field, field_idx, &it->field_offset_, in Resolve()
|
D | global_value_numbering.h | 113 uint16_t field_idx; member 119 if (lhs.field_idx != rhs.field_idx) { in operator() 120 return lhs.field_idx < rhs.field_idx; in operator()
|
D | dex_to_dex_compiler.cc | 210 uint32_t field_idx = inst->VRegC_22c(); in CompileInstanceFieldAccess() local 213 bool fast_path = driver_.ComputeInstanceFieldInfo(field_idx, &unit_, is_put, in CompileInstanceFieldAccess() 218 << " by replacing field index " << field_idx in CompileInstanceFieldAccess()
|
D | mir_analysis.cc | 1132 uint16_t field_idx = insn->VRegC_22c(); in DoCacheFieldLoweringInfo() local 1134 while (i != 0u && field_idxs[i - 1] != field_idx) { in DoCacheFieldLoweringInfo() 1141 field_idxs[ifield_pos++] = field_idx; in DoCacheFieldLoweringInfo() 1144 uint16_t field_idx = insn->VRegB_21c(); in DoCacheFieldLoweringInfo() local 1146 while (i != max_refs && field_idxs[i] != field_idx) { in DoCacheFieldLoweringInfo() 1153 field_idxs[--sfield_pos] = field_idx; in DoCacheFieldLoweringInfo()
|
D | local_value_numbering_test.cc | 27 uint16_t field_idx; member 34 uint16_t field_idx; member 93 MirIFieldLoweringInfo field_info(def->field_idx); in DoPrepareIFields() 114 MirSFieldLoweringInfo field_info(def->field_idx); in DoPrepareSFields()
|
/art/runtime/quick/ |
D | inline_method_analyser.cc | 221 uint32_t field_idx = instruction->VRegC_22c(); in AnalyseIGetMethod() local 248 if (!ComputeSpecialAccessorInfo(field_idx, false, verifier, data)) { in AnalyseIGetMethod() 289 uint32_t field_idx = instruction->VRegC_22c(); in AnalyseIPutMethod() local 315 if (!ComputeSpecialAccessorInfo(field_idx, true, verifier, data)) { in AnalyseIPutMethod() 329 bool InlineMethodAnalyser::ComputeSpecialAccessorInfo(uint32_t field_idx, bool is_put, in ComputeSpecialAccessorInfo() argument 335 mirror::ArtField* field = dex_cache->GetResolvedField(field_idx); in ComputeSpecialAccessorInfo() 341 if (!method_class->CanAccessResolvedField(field_class, field, dex_cache, field_idx) || in ComputeSpecialAccessorInfo() 346 result->field_idx = field_idx; in ComputeSpecialAccessorInfo()
|
D | inline_method_analyser.h | 117 uint16_t field_idx; member 184 static bool ComputeSpecialAccessorInfo(uint32_t field_idx, bool is_put,
|
/art/runtime/mirror/ |
D | dex_cache.h | 115 ArtField* GetResolvedField(uint32_t field_idx) ALWAYS_INLINE in GetResolvedField() argument 117 ArtField* field = GetResolvedFields()->Get(field_idx); in GetResolvedField() 125 void SetResolvedField(uint32_t field_idx, ArtField* resolved) ALWAYS_INLINE in SetResolvedField() argument 127 GetResolvedFields()->Set(field_idx, resolved); in SetResolvedField()
|
D | class-inl.h | 249 uint32_t field_idx, DexCache* dex_cache) { in ResolvedFieldAccessTest() argument 256 uint32_t class_idx = referrer_dex_cache->GetDexFile()->GetFieldId(field_idx).class_idx_; in ResolvedFieldAccessTest() 312 DexCache* dex_cache, uint32_t field_idx) { in CanAccessResolvedField() argument 313 return ResolvedFieldAccessTest<false, false>(access_to, field, field_idx, dex_cache); in CanAccessResolvedField() 317 uint32_t field_idx) { in CheckResolvedFieldAccess() argument 318 return ResolvedFieldAccessTest<true, true>(access_to, field, field_idx, nullptr); in CheckResolvedFieldAccess()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 273 static void PreloadDexCachesResolveField(Handle<mirror::DexCache> dex_cache, uint32_t field_idx, in PreloadDexCachesResolveField() argument 276 mirror::ArtField* field = dex_cache->GetResolvedField(field_idx); in PreloadDexCachesResolveField() 281 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_idx); in PreloadDexCachesResolveField() 289 field = mirror::Class::FindStaticField(self, klass, dex_cache.Get(), field_idx); in PreloadDexCachesResolveField() 291 field = klass->FindInstanceField(dex_cache.Get(), field_idx); in PreloadDexCachesResolveField() 297 dex_cache->SetResolvedField(field_idx, field); in PreloadDexCachesResolveField() 473 uint32_t field_idx = it.GetMemberIndex(); in VMRuntime_preloadDexCaches() local 474 PreloadDexCachesResolveField(dex_cache, field_idx, true); in VMRuntime_preloadDexCaches() 477 uint32_t field_idx = it.GetMemberIndex(); in VMRuntime_preloadDexCaches() local 478 PreloadDexCachesResolveField(dex_cache, field_idx, false); in VMRuntime_preloadDexCaches()
|
/art/compiler/driver/ |
D | compiler_driver-inl.h | 63 uint32_t field_idx, bool is_static) { in ResolveField() argument 67 *mUnit->GetDexFile(), field_idx, dex_cache, class_loader, is_static); in ResolveField() 97 mirror::ArtField* resolved_field, uint16_t field_idx) { in IsFastInstanceField() argument 102 dex_cache, field_idx); in IsFastInstanceField() 109 mirror::ArtField* resolved_field, uint16_t field_idx, MemberOffset* field_offset, in IsFastStaticField() argument 122 dex_cache, field_idx)) { in IsFastStaticField()
|
D | compiler_driver.h | 241 uint32_t field_idx, bool is_static) 255 mirror::ArtField* resolved_field, uint16_t field_idx) 263 mirror::ArtField* resolved_field, uint16_t field_idx, MemberOffset* field_offset, 304 bool ComputeInstanceFieldInfo(uint32_t field_idx, const DexCompilationUnit* mUnit, bool is_put, 308 mirror::ArtField* ComputeInstanceFieldInfo(uint32_t field_idx, 317 bool ComputeStaticFieldInfo(uint32_t field_idx, const DexCompilationUnit* mUnit, bool is_put,
|
/art/compiler/llvm/ |
D | intrinsic_func_list.def | 493 // [type] art_portable_iget_[type](uint32_t field_idx, 583 // void art_portable_iput_[type](uint32_t field_idx, 679 // [type] art_portable_sget_[type](uint32_t field_idx, Method* referrer) 767 // void art_portable_sput_[type](uint32_t field_idx, 999 // [type] void art_portable_hl_iget_[type](int optFlags, JavaObject* obj, uint32_t field_idx) 1054 // void art_portable_iput_[type](int optFlags, [type] value, JavaObject* obj, uint32_t field_idx) 1385 // void sput_hl(int field_idx, int val) 1392 // void sput_hl_object(int field_idx, object* val) 1399 // void sput_hl_boolean(int field_idx, kInt1Ty) 1406 // void sput_hl_byte(int field_idx, int val) [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 258 static inline mirror::ArtField* FindFieldFromCode(uint32_t field_idx, mirror::ArtMethod* referrer, in FindFieldFromCode() argument 275 mirror::ArtField* resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode() 288 field_idx))) { in FindFieldFromCode() 332 mirror::ArtField* FindFieldFromCode<_type, _access_check>(uint32_t field_idx, \ 479 static inline mirror::ArtField* FindFieldFast(uint32_t field_idx, in FindFieldFast() argument 483 referrer->GetDeclaringClass()->GetDexCache()->GetResolvedField(field_idx); in FindFieldFast()
|
D | entrypoint_utils.h | 135 static inline mirror::ArtField* FindFieldFromCode(uint32_t field_idx, mirror::ArtMethod* referrer, 146 static inline mirror::ArtField* FindFieldFast(uint32_t field_idx,
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_arm.S | 612 bl artGet32StaticFromCode @ (uint32_t field_idx, const Method* referrer, Thread*, SP) 630 bl artGet64StaticFromCode @ (uint32_t field_idx, const Method* referrer, Thread*, SP) 648 bl artGetObjStaticFromCode @ (uint32_t field_idx, const Method* referrer, Thread*, SP) 667 bl artGet32InstanceFromCode @ (field_idx, Object*, referrer, Thread*, SP) 689 bl artGet64InstanceFromCode @ (field_idx, Object*, referrer, Thread*, SP) 712 bl artGetObjInstanceFromCode @ (field_idx, Object*, referrer, Thread*, SP) 735 bl artSet32StaticFromCode @ (field_idx, new_val, referrer, Thread*, SP) 761 bl artSet64StaticFromCode @ (field_idx, referrer, new_val, Thread*, SP) 781 bl artSetObjStaticFromCode @ (field_idx, new_val, referrer, Thread*, SP) 805 bl artSet32InstanceFromCode @ (field_idx, Object*, new_val, referrer, Thread*, SP) [all …]
|
/art/runtime/arch/mips/ |
D | quick_entrypoints_mips.S | 766 … jal artGet64StaticFromCode # (uint32_t field_idx, const Method* referrer, Thread*, $sp) 794 jal artGet32InstanceFromCode # (field_idx, Object*, referrer, Thread*, $sp) 822 jal artGetObjInstanceFromCode # (field_idx, Object*, referrer, Thread*, $sp) 850 jal artSet64StaticFromCode # (field_idx, referrer, new_val, Thread*, $sp) 878 jal artSet32InstanceFromCode # (field_idx, Object*, new_val, referrer, Thread*, $sp) 891 jal artSet64InstanceFromCode # (field_idx, Object*, new_val, Thread*, $sp)
|
/art/runtime/verifier/ |
D | method_verifier.h | 503 mirror::ArtField* GetInstanceField(RegType& obj_type, int field_idx) 507 mirror::ArtField* GetStaticField(int field_idx) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|