/art/compiler/ |
H A D | compiler.cc | 40 uint32_t method_idx, 50 << " in " << dex_file.PrettyMethod(method_idx); 55 << code_item.registers_size_ << " in " << dex_file.PrettyMethod(method_idx); 39 IsPathologicalCase(const DexFile::CodeItem& code_item, uint32_t method_idx, const DexFile& dex_file) argument
|
H A D | compiler.h | 60 virtual bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file) const = 0; 66 uint32_t method_idx, 72 uint32_t method_idx, 109 uint32_t method_idx,
|
/art/runtime/ |
H A D | dex_method_iterator_test.cc | 41 uint32_t method_idx = it.GetMemberIndex(); local 43 LOG(INFO) << invoke_type << " " << dex_file.PrettyMethod(method_idx);
|
H A D | dex_instruction.cc | 385 uint32_t method_idx = VRegB_35c(); local 392 os << "}, " << file->PrettyMethod(method_idx) << " // method@" << method_idx; 399 uint32_t method_idx = VRegB_35c(); local 406 os << "}, // vtable@" << method_idx; local 441 uint32_t method_idx = VRegB_3rc(); local 443 << file->PrettyMethod(method_idx) << " // method@" << method_idx; 449 uint32_t method_idx = VRegB_3rc(); local 451 << "// vtable@" << method_idx; 473 uint32_t method_idx = VRegB_45cc(); local 496 uint32_t method_idx = VRegB_4rcc(); local 506 uint32_t method_idx = VRegB_4rcc(); local [all...] |
H A D | class_linker-inl.h | 93 inline ArtMethod* ClassLinker::GetResolvedMethod(uint32_t method_idx, ArtMethod* referrer) { argument 94 ArtMethod* resolved_method = referrer->GetDexCacheResolvedMethod(method_idx, image_pointer_size_); 102 uint32_t method_idx, 105 // NB: We cannot simply use `GetResolvedMethod(method_idx, ...)->GetDeclaringClass()`. This is 107 // GetMethodId(method_idx).class_idx_ refers to a non-interface, non-direct-superclass 114 const DexFile::MethodId& method = dex_file->GetMethodId(method_idx); 124 uint32_t method_idx, 127 ArtMethod* resolved_method = GetResolvedMethod(method_idx, referrer); 136 method_idx, 101 ResolveReferencedClassOfMethod( uint32_t method_idx, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader) argument 123 ResolveMethod(Thread* self, uint32_t method_idx, ArtMethod* referrer, InvokeType type) argument
|
H A D | dex_instruction_test.cc | 31 static void Build45cc(uint8_t num_args, uint16_t method_idx, uint16_t proto_idx, argument 34 // B = method_idx 46 out[1] = method_idx; 51 static void Build4rcc(uint16_t num_args, uint16_t method_idx, uint16_t proto_idx, argument 54 // B = method_idx 66 out[1] = method_idx; 73 Build45cc(4u /* num_vregs */, 16u /* method_idx */, 32u /* proto_idx */, 108 Build4rcc(4u /* num_vregs */, 16u /* method_idx */, 32u /* proto_idx */,
|
/art/compiler/jni/quick/ |
H A D | jni_compiler.h | 30 uint32_t method_idx,
|
H A D | jni_compiler.cc | 122 uint32_t method_idx, 129 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx)); 140 << dex_file.PrettyMethod(method_idx, /* with signature */ true) 145 << dex_file.PrettyMethod(method_idx, /* with signature */ true); 150 << dex_file.PrettyMethod(method_idx, /* with signature */ true); 157 << dex_file.PrettyMethod(method_idx, /* with_signature */ true); 168 << dex_file.PrettyMethod(method_idx, /* with_signature */ true); 172 << dex_file.PrettyMethod(method_idx, /* with_signature */ true); 176 << dex_file.PrettyMethod(method_idx, /* with_signature */ true); 777 uint32_t method_idx, 120 ArtJniCompileMethodInternal(CompilerDriver* driver, uint32_t access_flags, uint32_t method_idx, const DexFile& dex_file, JniOptimizationFlags optimization_flags) argument 775 ArtQuickJniCompileMethod(CompilerDriver* compiler, uint32_t access_flags, uint32_t method_idx, const DexFile& dex_file, Compiler::JniOptimizationFlags optimization_flags) argument [all...] |
/art/compiler/driver/ |
H A D | dex_compilation_unit.cc | 29 uint32_t method_idx, 38 dex_method_idx_(method_idx), 24 DexCompilationUnit(Handle<mirror::ClassLoader> class_loader, ClassLinker* class_linker, const DexFile& dex_file, const DexFile::CodeItem* code_item, uint16_t class_def_idx, uint32_t method_idx, uint32_t access_flags, const VerifiedMethod* verified_method, Handle<mirror::DexCache> dex_cache) argument
|
H A D | dex_compilation_unit.h | 42 uint32_t method_idx,
|
H A D | compiler_driver-inl.h | 136 uint32_t method_idx, InvokeType invoke_type, bool check_incompatible_class_change) { 141 *dex_cache->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type) 143 *dex_cache->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type); 133 ResolveMethod( ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, uint32_t method_idx, InvokeType invoke_type, bool check_incompatible_class_change) argument
|
/art/runtime/jit/ |
H A D | profile_compilation_info_test.cc | 324 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, /* method_idx */ i, &saved_info)); 325 ASSERT_TRUE(AddMethod("dex_location2", /* checksum */ 2, /* method_idx */ i, &saved_info)); 338 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, /* method_idx */ i, &saved_info)); 339 ASSERT_TRUE(AddMethod("dex_location2", /* checksum */ 2, /* method_idx */ i, &saved_info)); 340 ASSERT_TRUE(AddMethod("dex_location3", /* checksum */ 3, /* method_idx */ i, &saved_info)); 357 ASSERT_TRUE(AddMethod("dex_location", /* checksum */ 1, /* method_idx */ 1, &info)); 359 ASSERT_FALSE(AddMethod("dex_location", /* checksum */ 2, /* method_idx */ 2, &info)); 366 ASSERT_TRUE(AddMethod("dex_location", /* checksum */ 1, /* method_idx */ 1, &info1)); 369 ASSERT_TRUE(AddMethod("dex_location", /* checksum */ 2, /* method_idx */ 2, &info2)); 380 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, /* method_idx */ [all...] |
/art/compiler/dex/ |
H A D | dex_to_dex_compiler.h | 46 uint32_t method_idx,
|
H A D | dex_to_dex_decompiler_test.cc | 98 uint32_t method_idx = it.GetMemberIndex(); local 100 compiler_driver_->GetCompiledMethod(MethodReference(updated_dex_file, method_idx)); 110 uint32_t method_idx = it.GetMemberIndex(); local 112 compiler_driver_->GetCompiledMethod(MethodReference(updated_dex_file, method_idx));
|
H A D | dex_to_dex_compiler.cc | 280 uint32_t method_idx = is_range ? inst->VRegB_3rc() : inst->VRegB_35c(); local 286 method_idx, 301 << "(" << GetDexFile().PrettyMethod(method_idx, true) << ")" 303 << " by replacing method index " << method_idx 315 quickened_info_.push_back(QuickenedInfo(dex_pc, method_idx)); 324 uint32_t method_idx, 339 method_idx, 341 driver->GetVerifiedMethod(&dex_file, method_idx), 318 ArtCompileDEX( CompilerDriver* driver, const DexFile::CodeItem* code_item, uint32_t access_flags, InvokeType invoke_type ATTRIBUTE_UNUSED, uint16_t class_def_idx, uint32_t method_idx, Handle<mirror::ClassLoader> class_loader, const DexFile& dex_file, DexToDexCompilationLevel dex_to_dex_compilation_level) argument
|
/art/compiler/linker/arm64/ |
H A D | relative_patcher_arm64_test.cc | 119 uint32_t method_idx = 2u; local 130 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(gap_code)); 131 method_idx += 1u; 138 AddCompiledMethod(MethodRef(method_idx), last_method_code, last_method_patches); 143 auto last_result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); 152 return method_idx; 155 uint32_t GetMethodOffset(uint32_t method_idx) { argument 156 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); 899 uint32_t method_idx = 0u; local 911 ++method_idx; 1144 uint32_t method_idx = 0u; local 1198 uint32_t method_idx = 0u; local [all...] |
/art/compiler/linker/mips/ |
H A D | relative_patcher_mips32r6_test.cc | 33 uint32_t GetMethodOffset(uint32_t method_idx) { argument 34 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
|
H A D | relative_patcher_mips_test.cc | 37 uint32_t GetMethodOffset(uint32_t method_idx) { argument 38 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
|
/art/compiler/optimizing/ |
H A D | optimizing_compiler.cc | 303 bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file) const OVERRIDE; 309 uint32_t method_idx, 315 uint32_t method_idx, 320 method_idx, 378 uint32_t method_idx, 437 bool OptimizingCompiler::CanCompileMethod(uint32_t method_idx ATTRIBUTE_UNUSED, 885 uint32_t method_idx, 906 if (Compiler::IsPathologicalCase(*code_item, method_idx, dex_file)) { 928 method_idx, 936 method_idx, 879 TryCompile(ArenaAllocator* arena, CodeVectorAllocator* code_allocator, const DexFile::CodeItem* code_item, uint32_t access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, Handle<mirror::ClassLoader> class_loader, const DexFile& dex_file, Handle<mirror::DexCache> dex_cache, ArtMethod* method, bool osr, VariableSizedHandleScope* handles) const argument 1030 Compile(const DexFile::CodeItem* code_item, uint32_t access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, Handle<mirror::ClassLoader> jclass_loader, const DexFile& dex_file, Handle<mirror::DexCache> dex_cache) const argument 1149 const uint32_t method_idx = method->GetDexMethodIndex(); local [all...] |
/art/compiler/linker/mips64/ |
H A D | relative_patcher_mips64_test.cc | 35 uint32_t GetMethodOffset(uint32_t method_idx) { argument 36 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
|
/art/runtime/utils/ |
H A D | dex_cache_arrays_layout-inl.h | 94 inline size_t DexCacheArraysLayout::MethodOffset(uint32_t method_idx) const { 95 return methods_offset_ + ElementOffset(pointer_size_, method_idx);
|
H A D | dex_cache_arrays_layout.h | 78 size_t MethodOffset(uint32_t method_idx) const;
|
/art/runtime/verifier/ |
H A D | verifier_deps.h | 90 // Record the outcome `method` of resolving method `method_idx` from `dex_file` 94 uint32_t method_idx, 158 MethodResolution(uint32_t method_idx, argument 161 : MethodResolutionBase(method_idx, access_flags, declaring_class_idx) {} 268 uint32_t method_idx,
|
/art/runtime/native/ |
H A D | dalvik_system_VMRuntime.cc | 373 static void PreloadDexCachesResolveMethod(Handle<mirror::DexCache> dex_cache, uint32_t method_idx, 376 ArtMethod* method = dex_cache->GetResolvedMethod(method_idx, kRuntimePointerSize); 381 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); 389 method = klass->FindDirectMethod(dex_cache.Get(), method_idx, kRuntimePointerSize); 392 method = klass->FindInterfaceMethod(dex_cache.Get(), method_idx, kRuntimePointerSize); 396 method = klass->FindVirtualMethod(dex_cache.Get(), method_idx, kRuntimePointerSize); 405 dex_cache->SetResolvedMethod(method_idx, method, kRuntimePointerSize); 557 uint32_t method_idx = it.GetMemberIndex(); local 559 PreloadDexCachesResolveMethod(dex_cache, method_idx, invoke_type); 562 uint32_t method_idx local [all...] |
/art/runtime/entrypoints/ |
H A D | entrypoint_utils-inl.h | 441 inline ArtMethod* FindMethodFromCode(uint32_t method_idx, argument 446 ArtMethod* resolved_method = class_linker->GetResolvedMethod(method_idx, referrer); 455 resolved_method = class_linker->ResolveMethod<resolve_mode>(self, method_idx, referrer, type); 466 method_idx); 490 ThrowNullPointerExceptionForMethodAccess(method_idx, type); 522 referrer->GetDexFile()->GetMethodId(method_idx).class_idx_; 610 ArtMethod* FindMethodFromCode<_type, _access_check>(uint32_t method_idx, \ 680 inline ArtMethod* FindMethodFast(uint32_t method_idx, argument 691 referrer->GetDexCache()->GetResolvedMethod(method_idx, kRuntimePointerSize); 717 dex::TypeIndex method_type_idx = dex_cache->GetDexFile()->GetMethodId(method_idx) [all...] |