/art/compiler/ |
H A D | compiler.cc | 40 uint32_t method_idx, 50 << " in " << PrettyMethod(method_idx, dex_file); 55 << code_item.registers_size_ << " in " << PrettyMethod(method_idx, dex_file); 39 IsPathologicalCase(const DexFile::CodeItem& code_item, uint32_t method_idx, const DexFile& dex_file) argument
|
/art/compiler/dex/ |
H A D | dex_to_dex_compiler.cc | 279 uint32_t method_idx = is_range ? inst->VRegB_3rc() : inst->VRegB_35c(); local 280 MethodReference target_method(&GetDexFile(), method_idx); local 296 << "(" << PrettyMethod(method_idx, GetDexFile(), true) << ")" 298 << " by replacing method index " << method_idx 310 quickened_info_.push_back(QuickenedInfo(dex_pc, method_idx)); 321 uint32_t method_idx, 336 method_idx, 338 driver->GetVerifiedMethod(&dex_file, method_idx), 315 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, jobject class_loader, const DexFile& dex_file, DexToDexCompilationLevel dex_to_dex_compilation_level) argument
|
/art/compiler/dex/quick/ |
H A D | dex_file_method_inliner.cc | 822 uint32_t method_idx = FindMethodIndex(dex_file, &cache, def.method_def); local 823 if (method_idx != kIndexNotFound) { 824 DCHECK(inline_methods_.find(method_idx) == inline_methods_.end()); 825 inline_methods_.Put(method_idx, def.intrinsic); 831 bool DexFileMethodInliner::AddInlineMethod(int32_t method_idx, const InlineMethod& method) { argument 833 if (LIKELY(inline_methods_.find(method_idx) == inline_methods_.end())) { 834 inline_methods_.Put(method_idx, method); 837 if (PrettyMethod(method_idx, *dex_file_) == "int java.lang.String.length()") { 840 LOG(WARNING) << "Inliner: " << PrettyMethod(method_idx, *dex_file_) << " already inline";
|
/art/compiler/driver/ |
H A D | compiler_driver-inl.h | 211 ArtMethod* resolved_method, uint16_t method_idx, uint32_t* storage_index) { 213 dex_cache, referrer_class, resolved_method, method_idx, storage_index); 259 uint32_t method_idx, InvokeType invoke_type, bool check_incompatible_class_change) { 264 *dex_cache->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type) 266 *dex_cache->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type); 307 // Methods_class is the class refered to by the class_idx field of the methodId the method_idx is 360 // Sharpen a virtual call into a direct call. The method_idx is into referrer's 209 IsClassOfStaticMethodAvailableToReferrer( mirror::DexCache* dex_cache, mirror::Class* referrer_class, ArtMethod* resolved_method, uint16_t method_idx, uint32_t* storage_index) argument 256 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
|
H A D | compiler_driver.cc | 566 uint32_t method_idx, 576 MethodReference method_ref(&dex_file, method_idx); 582 if (driver->GetCurrentDexToDexMethods()->IsBitSet(method_idx)) { 593 method_idx, 606 compiled_method = driver->GetCompiler()->JniCompile(access_flags, method_idx, dex_file); 631 class_def_idx, method_idx, class_loader, 644 LOG(WARNING) << "Compilation of " << PrettyMethod(method_idx, dex_file) 666 LOG(FATAL) << "Unexpected exception compiling: " << PrettyMethod(method_idx, dex_file) << "\n" 676 uint32_t method_idx = method->GetDexMethodIndex(); local 717 method_idx, 853 uint32_t method_idx = it.GetMemberIndex(); local 867 uint32_t method_idx = it.GetMemberIndex(); local 1785 uint32_t method_idx = target_method->dex_method_index; local 2683 uint32_t method_idx = it.GetMemberIndex(); variable 2700 uint32_t method_idx = it.GetMemberIndex(); variable 2810 IsMethodVerifiedWithoutFailures(uint32_t method_idx, uint16_t class_def_idx, const DexFile& dex_file) const argument [all...] |
H A D | dex_compilation_unit.cc | 30 uint32_t method_idx, 39 dex_method_idx_(method_idx), 25 DexCompilationUnit(jobject 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
|
/art/compiler/jni/quick/ |
H A D | jni_compiler.cc | 63 uint32_t access_flags, uint32_t method_idx, 69 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx)); 607 uint32_t method_idx, const DexFile& dex_file) { 608 return ArtJniCompileMethodInternal(compiler, access_flags, method_idx, dex_file); 62 ArtJniCompileMethodInternal(CompilerDriver* driver, uint32_t access_flags, uint32_t method_idx, const DexFile& dex_file) argument 606 ArtQuickJniCompileMethod(CompilerDriver* compiler, uint32_t access_flags, uint32_t method_idx, const DexFile& dex_file) argument
|
/art/compiler/linker/arm/ |
H A D | relative_patcher_thumb2_test.cc | 87 uint32_t GetMethodOffset(uint32_t method_idx) { argument 88 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
|
/art/compiler/linker/arm64/ |
H A D | relative_patcher_arm64_test.cc | 84 uint32_t method_idx = 2u; local 91 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(gap_code), 93 method_idx += 1u; 97 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(gap_code), 99 method_idx += 1u; 102 AddCompiledMethod(MethodRef(method_idx), last_method_code, last_method_patches); 107 auto last_result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); 115 return method_idx; 118 uint32_t GetMethodOffset(uint32_t method_idx) { argument 119 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); [all...] |
/art/compiler/linker/ |
H A D | relative_patcher_test.h | 79 MethodReference MethodRef(uint32_t method_idx) { argument 80 CHECK_NE(method_idx, 0u); 81 return MethodReference(nullptr, method_idx);
|
/art/compiler/linker/x86/ |
H A D | relative_patcher_x86_test.cc | 31 uint32_t GetMethodOffset(uint32_t method_idx) { argument 32 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
|
/art/compiler/linker/x86_64/ |
H A D | relative_patcher_x86_64_test.cc | 35 uint32_t GetMethodOffset(uint32_t method_idx) { argument 36 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
|
/art/compiler/optimizing/ |
H A D | instruction_builder.cc | 668 ArtMethod* HInstructionBuilder::ResolveMethod(uint16_t method_idx, InvokeType invoke_type) { argument 677 // at method_idx), as `CanAccessResolvedMethod` expects it be be in the dex cache. 679 method_idx, dex_compilation_unit_->GetDexCache(), class_loader))); 689 method_idx, 710 method_idx)) { 769 uint32_t method_idx, 775 const char* descriptor = dex_file_->GetMethodShorty(method_idx); 785 MethodReference target_method(dex_file_, method_idx); 789 bool is_string_init = compiler_driver_->IsStringInit(method_idx, 805 method_idx, 767 BuildInvoke(const Instruction& instruction, uint32_t dex_pc, uint32_t method_idx, uint32_t number_of_vreg_arguments, bool is_range, uint32_t* args, uint32_t register_index) argument 984 ProcessClinitCheckForInvoke( uint32_t dex_pc, ArtMethod* resolved_method, uint32_t method_idx, HInvokeStaticOrDirect::ClinitCheckRequirement* clinit_check_requirement) argument 1846 uint16_t method_idx; local 1871 uint16_t method_idx; local [all...] |
H A D | nodes.h | 280 uint32_t method_idx, 303 method_idx_(method_idx), 1651 uint32_t method_idx, 1659 method_idx_(method_idx), 278 HGraph(ArenaAllocator* arena, const DexFile& dex_file, uint32_t method_idx, bool should_generate_constructor_barrier, InstructionSet instruction_set, InvokeType invoke_type = kInvalidInvokeType, bool debuggable = false, bool osr = false, int start_instruction_id = 0) argument 1648 HEnvironment(ArenaAllocator* arena, size_t number_of_vregs, const DexFile& dex_file, uint32_t method_idx, uint32_t dex_pc, InvokeType invoke_type, HInstruction* holder) argument
|
H A D | optimizing_compiler.cc | 262 bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file) const OVERRIDE; 268 uint32_t method_idx, 274 uint32_t method_idx, 276 return ArtQuickJniCompileMethod(GetCompilerDriver(), access_flags, method_idx, dex_file); 320 uint32_t method_idx, 366 bool OptimizingCompiler::CanCompileMethod(uint32_t method_idx ATTRIBUTE_UNUSED, 614 uint32_t method_idx, 642 if (Compiler::IsPathologicalCase(*code_item, method_idx, dex_file)) { 663 method_idx, 676 method_idx, 608 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, jobject class_loader, const DexFile& dex_file, Handle<mirror::DexCache> dex_cache, ArtMethod* method, bool osr) const argument 787 Compile(const DexFile::CodeItem* code_item, uint32_t access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject jclass_loader, const DexFile& dex_file, Handle<mirror::DexCache> dex_cache) const argument 882 const uint32_t method_idx = method->GetDexMethodIndex(); local [all...] |
/art/compiler/utils/ |
H A D | test_dex_file_builder.h | 147 uint32_t method_idx = 0u; local 149 entry.second = method_idx; 150 method_idx += 1u;
|
/art/runtime/ |
H A D | class_linker-inl.h | 111 inline ArtMethod* ClassLinker::GetResolvedMethod(uint32_t method_idx, ArtMethod* referrer) { argument 112 ArtMethod* resolved_method = referrer->GetDexCacheResolvedMethod(method_idx, image_pointer_size_); 120 uint32_t method_idx, 123 // NB: We cannot simply use `GetResolvedMethod(method_idx, ...)->GetDeclaringClass()`. This is 125 // GetMethodId(method_idx).class_idx_ refers to a non-interface, non-direct-superclass 132 const DexFile::MethodId& method = dex_file->GetMethodId(method_idx); 142 uint32_t method_idx, 145 ArtMethod* resolved_method = GetResolvedMethod(method_idx, referrer); 153 method_idx, 119 ResolveReferencedClassOfMethod( uint32_t method_idx, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader) argument 141 ResolveMethod(Thread* self, uint32_t method_idx, ArtMethod* referrer, InvokeType type) argument
|
H A D | class_linker.cc | 2664 uint32_t method_idx) { 2679 if (it.GetMemberIndex() == method_idx) { 2686 if (it.GetMemberIndex() == method_idx) { 2693 LOG(FATAL) << "Failed to find method index " << method_idx << " in " << dex_file.GetLocation(); 5872 size_t method_idx = local_method->GetMethodIndexDuringLinking(); local 5873 if (method_idx < super_vtable_length && 5874 local_method == vtable->GetElementPtrSize<ArtMethod*>(method_idx, image_pointer_size_)) { 7597 uint32_t method_idx, 7604 ArtMethod* resolved = dex_cache->GetResolvedMethod(method_idx, image_pointer_size_); 7616 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx); 2662 GetOatMethodIndexFromMethodIndex(const DexFile& dex_file, uint16_t class_def_idx, uint32_t method_idx) argument 7596 ResolveMethod(const DexFile& dex_file, uint32_t method_idx, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader, ArtMethod* referrer, InvokeType type) argument 7803 ResolveMethodWithoutInvokeType(const DexFile& dex_file, uint32_t method_idx, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader) argument 7907 MethodShorty(uint32_t method_idx, ArtMethod* referrer, uint32_t* length) argument [all...] |
H A D | common_throws.cc | 89 void ThrowAbstractMethodError(uint32_t method_idx, const DexFile& dex_file) { argument 92 PrettyMethod(method_idx, 359 void ThrowNoSuchMethodError(uint32_t method_idx) { argument 364 msg << "No method '" << PrettyMethod(method_idx, dex_file, true) << "'"; 378 static void ThrowNullPointerExceptionForMethodAccessImpl(uint32_t method_idx, 384 << PrettyMethod(method_idx, dex_file, true) << "' on a null object reference"; 388 void ThrowNullPointerExceptionForMethodAccess(uint32_t method_idx, argument 393 ThrowNullPointerExceptionForMethodAccessImpl(method_idx, dex_file, type);
|
H A D | dex_file.cc | 848 bool DexFile::DecodeDebugLocalInfo(const CodeItem* code_item, bool is_static, uint32_t method_idx, argument 862 const char* descriptor = GetMethodDeclaringClassDescriptor(GetMethodId(method_idx)); 872 DexFileParameterIterator it(*this, GetMethodPrototype(GetMethodId(method_idx))); 902 << " for method " << PrettyMethod(method_idx, *this);
|
H A D | dex_instruction.cc | 246 uint32_t method_idx = VRegB_21c(); local 247 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyMethod(method_idx, *file, true) 248 << " // method@" << method_idx; 405 uint32_t method_idx = VRegB_35c(); local 412 os << "}, " << PrettyMethod(method_idx, *file) << " // method@" << method_idx; 419 uint32_t method_idx = VRegB_35c(); local 426 os << "}, // vtable@" << method_idx; local 445 uint32_t method_idx = VRegB_3rc(); local 447 << PrettyMethod(method_idx, *fil 453 uint32_t method_idx = VRegB_3rc(); local [all...] |
H A D | dex_method_iterator_test.cc | 41 uint32_t method_idx = it.GetMemberIndex(); local 43 LOG(INFO) << invoke_type << " " << PrettyMethod(method_idx, dex_file);
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils-inl.h | 437 inline ArtMethod* FindMethodFromCode(uint32_t method_idx, mirror::Object** this_object, argument 440 ArtMethod* resolved_method = class_linker->GetResolvedMethod(method_idx, referrer); 449 resolved_method = class_linker->ResolveMethod<resolve_mode>(self, method_idx, referrer, type); 465 ThrowNullPointerExceptionForMethodAccess(method_idx, type); 473 method_idx); 510 uint16_t method_type_idx = referring_class->GetDexFile().GetMethodId(method_idx).class_idx_; 596 ArtMethod* FindMethodFromCode<_type, _access_check>(uint32_t method_idx, \ 665 inline ArtMethod* FindMethodFast(uint32_t method_idx, mirror::Object* this_object, argument 672 referring_class->GetDexCache()->GetResolvedMethod(method_idx, sizeof(void*)); 696 uint16_t method_type_idx = referring_class->GetDexFile().GetMethodId(method_idx) [all...] |
/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints.cc | 2042 static TwoWordReturn artInvokeCommon(uint32_t method_idx, mirror::Object* this_object, Thread* self, argument 2047 ArtMethod* method = FindMethodFast(method_idx, this_object, caller_method, access_check, type); 2051 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(method_idx), &shorty_len); 2057 method = FindMethodFromCode<type, access_check>(method_idx, &this_object, caller_method, 2083 uint32_t method_idx, mirror::Object* this_object, Thread* self, ArtMethod** sp) 2099 uint32_t method_idx, mirror::Object* this_object, Thread* self, ArtMethod** sp) 2101 return artInvokeCommon<kInterface, true>(method_idx, this_object, self, sp); 2105 uint32_t method_idx, mirror::Object* this_object, Thread* self, ArtMethod** sp) 2107 return artInvokeCommon<kDirect, true>(method_idx, this_object, self, sp); 2111 uint32_t method_idx, mirro [all...] |
/art/runtime/interpreter/ |
H A D | interpreter_common.h | 226 const uint32_t method_idx = inst->VRegB_21c(); local 230 method_idx, &receiver, sf_method, self); 630 const uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c(); local 635 method_idx, &receiver, sf_method, self);
|