Searched refs:method_idx (Results 1 - 25 of 59) sorted by relevance

123

/art/compiler/
H A Dcompiler.cc40 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
H A Dcompiler.h47 virtual bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file) const = 0;
53 uint32_t method_idx,
59 uint32_t method_idx,
95 uint32_t method_idx,
/art/compiler/jni/quick/
H A Djni_compiler.h28 uint32_t method_idx, const DexFile& dex_file);
/art/compiler/driver/
H A Ddex_compilation_unit.cc30 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
H A Ddex_compilation_unit.h42 uint32_t method_idx,
H A Dcompiler_driver.cc566 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...]
/art/runtime/
H A Ddex_method_iterator_test.cc41 uint32_t method_idx = it.GetMemberIndex(); local
43 LOG(INFO) << invoke_type << " " << PrettyMethod(method_idx, dex_file);
H A Ddex_instruction.cc246 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 Dclass_linker-inl.h111 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 Dcommon_throws.cc89 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 Dcommon_throws.h39 void ThrowAbstractMethodError(uint32_t method_idx, const DexFile& dex_file)
181 void ThrowNoSuchMethodError(uint32_t method_idx)
190 void ThrowNullPointerExceptionForMethodAccess(uint32_t method_idx,
H A Ddex_file_verifier_test.cc292 /*out*/ uint32_t* method_idx = nullptr) {
318 if (method_idx != nullptr) {
319 *method_idx = method_index;
699 uint32_t method_idx;
700 FindMethodData(dex_file, "foo", &method_idx);
701 auto* method_id = const_cast<DexFile::MethodId*>(&dex_file->GetMethodId(method_idx));
1497 uint32_t method_idx;
1498 const uint8_t* data = FindMethodData(dex_file, "foo", &method_idx);
1501 CHECK_LT(method_idx + 1u, dex_file->NumMethodIds());
1502 CHECK_EQ(dex_file->GetMethodId(method_idx)
[all...]
/art/compiler/dex/
H A Ddex_to_dex_compiler.h44 uint32_t method_idx,
H A Ddex_to_dex_compiler.cc279 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/runtime/entrypoints/quick/
H A Dquick_throw_entrypoints.cc86 extern "C" NO_RETURN void artThrowNoSuchMethodFromCode(int32_t method_idx, Thread* self)
89 ThrowNoSuchMethodError(method_idx);
/art/runtime/mirror/
H A Ddex_cache-inl.h79 inline ArtMethod* DexCache::GetResolvedMethod(uint32_t method_idx, size_t ptr_size) { argument
81 DCHECK_LT(method_idx, NumResolvedMethods()); // NOTE: Unchecked, i.e. not throwing AIOOB.
82 ArtMethod* method = GetElementPtrSize<ArtMethod*>(GetResolvedMethods(), method_idx, ptr_size);
91 inline void DexCache::SetResolvedMethod(uint32_t method_idx, ArtMethod* method, size_t ptr_size) { argument
93 DCHECK_LT(method_idx, NumResolvedMethods()); // NOTE: Unchecked, i.e. not throwing AIOOB.
94 SetElementPtrSize(GetResolvedMethods(), method_idx, method, ptr_size); local
/art/compiler/optimizing/
H A Doptimizing_compiler.cc262 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...]
H A Dinstruction_builder.cc668 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 Dinstruction_builder.h169 uint32_t method_idx,
253 uint32_t method_idx,
266 ArtMethod* ResolveMethod(uint16_t method_idx, InvokeType invoke_type);
/art/runtime/utils/
H A Ddex_cache_arrays_layout-inl.h72 inline size_t DexCacheArraysLayout::MethodOffset(uint32_t method_idx) const {
73 return methods_offset_ + ElementOffset(pointer_size_, method_idx);
H A Ddex_cache_arrays_layout.h71 size_t MethodOffset(uint32_t method_idx) const;
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc357 static void PreloadDexCachesResolveMethod(Handle<mirror::DexCache> dex_cache, uint32_t method_idx,
360 ArtMethod* method = dex_cache->GetResolvedMethod(method_idx, sizeof(void*));
365 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx);
373 method = klass->FindDirectMethod(dex_cache.Get(), method_idx, sizeof(void*));
376 method = klass->FindInterfaceMethod(dex_cache.Get(), method_idx, sizeof(void*));
380 method = klass->FindVirtualMethod(dex_cache.Get(), method_idx, sizeof(void*));
390 dex_cache->SetResolvedMethod(method_idx, method, sizeof(void*));
540 uint32_t method_idx = it.GetMemberIndex(); local
542 PreloadDexCachesResolveMethod(dex_cache, method_idx, invoke_type);
545 uint32_t method_idx local
[all...]
/art/runtime/entrypoints/
H A Dentrypoint_utils-inl.h437 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/compiler/linker/
H A Drelative_patcher_test.h79 MethodReference MethodRef(uint32_t method_idx) { argument
80 CHECK_NE(method_idx, 0u);
81 return MethodReference(nullptr, method_idx);
/art/compiler/dex/quick/
H A Ddex_file_method_inliner.cc822 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";

Completed in 2333 milliseconds

123