Home
last modified time | relevance | path

Searched refs:method_idx (Results 1 – 25 of 83) sorted by relevance

1234

/art/runtime/entrypoints/portable/
Dportable_invoke_entrypoints.cc25 mirror::ArtMethod* FindMethodHelper(uint32_t method_idx, mirror::Object* this_object, in FindMethodHelper() argument
27 mirror::ArtMethod* method = FindMethodFast(method_idx, this_object, caller_method, in FindMethodHelper()
32 method = FindMethodFromCode<type, access_check>(method_idx, &this_object, &caller_method, in FindMethodHelper()
57 mirror::ArtMethod* FindMethodHelper<_type, _access_check>(uint32_t method_idx, \
74 …C" mirror::Object* art_portable_find_static_method_from_code_with_access_check(uint32_t method_idx, in art_portable_find_static_method_from_code_with_access_check() argument
79 return FindMethodHelper<kStatic, true>(method_idx, this_object, referrer, thread); in art_portable_find_static_method_from_code_with_access_check()
82 …C" mirror::Object* art_portable_find_direct_method_from_code_with_access_check(uint32_t method_idx, in art_portable_find_direct_method_from_code_with_access_check() argument
87 return FindMethodHelper<kDirect, true>(method_idx, this_object, referrer, thread); in art_portable_find_direct_method_from_code_with_access_check()
90 …" mirror::Object* art_portable_find_virtual_method_from_code_with_access_check(uint32_t method_idx, in art_portable_find_virtual_method_from_code_with_access_check() argument
95 return FindMethodHelper<kVirtual, true>(method_idx, this_object, referrer, thread); in art_portable_find_virtual_method_from_code_with_access_check()
[all …]
Dportable_throw_entrypoints.cc33 extern "C" void art_portable_throw_no_such_method_from_code(int32_t method_idx) in art_portable_throw_no_such_method_from_code() argument
35 ThrowNoSuchMethodError(method_idx); in art_portable_throw_no_such_method_from_code()
/art/compiler/sea_ir/
Dfrontend.cc44 uint16_t class_def_idx, uint32_t method_idx, in CompileMethodWithSeaIr() argument
47 LOG(INFO) << "Compiling " << PrettyMethod(method_idx, dex_file) << "."; in CompileMethodWithSeaIr()
49 std::string symbol = "dex_" + MangleForJni(PrettyMethod(method_idx, dex_file)); in CompileMethodWithSeaIr()
51 code_item, class_def_idx, method_idx, method_access_flags, dex_file); in CompileMethodWithSeaIr()
55 MethodReference mref(&dex_file, method_idx); in CompileMethodWithSeaIr()
60 LOG(INFO) << "Compiled SEA IR method " << PrettyMethod(method_idx, dex_file) << "."; in CompileMethodWithSeaIr()
70 uint32_t method_idx, in SeaIrCompileOneMethod() argument
75 class_def_idx, method_idx, class_loader, dex_file, llvm_compilation_unit); in SeaIrCompileOneMethod()
82 uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, in SeaIrCompileMethod() argument
88 class_def_idx, method_idx, class_loader, dex_file, in SeaIrCompileMethod()
/art/compiler/
Dcompiler.cc34 uint32_t method_idx,
44 uint32_t method_idx, in TryCompileWithSeaIR() argument
48 bool use_sea = (std::string::npos != PrettyMethod(method_idx, dex_file).find("fibonacci")); in TryCompileWithSeaIR()
55 method_idx, in TryCompileWithSeaIR()
75 uint32_t method_idx,
80 uint32_t access_flags, uint32_t method_idx,
103 uint32_t method_idx, in Compile() argument
110 method_idx, in Compile()
122 method_idx, in Compile()
128 uint32_t method_idx, in JniCompile() argument
[all …]
Dcompilers.cc33 uint32_t method_idx,
38 uint32_t access_flags, uint32_t method_idx,
56 uint32_t method_idx, in Compile() argument
63 method_idx, in Compile()
75 method_idx, in Compile()
81 uint32_t method_idx, in JniCompile() argument
83 return ArtQuickJniCompileMethod(GetCompilerDriver(), access_flags, method_idx, dex_file); in JniCompile()
146 uint32_t method_idx, in Compile() argument
150 method_idx, class_loader, dex_file); in Compile()
155 return QuickCompiler::Compile(code_item, access_flags, invoke_type, class_def_idx, method_idx, in Compile()
Dcompilers.h36 uint32_t method_idx,
41 uint32_t method_idx,
82 uint32_t method_idx,
90 uint32_t method_idx,
Dcompiler.h54 uint32_t method_idx,
62 uint32_t method_idx,
67 uint32_t method_idx,
Delf_writer_mclinker.cc247 uint32_t method_idx = it.GetMemberIndex(); in AddMethodInputs() local
249 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, method_idx)); in AddMethodInputs()
357 uint32_t method_idx = it.GetMemberIndex(); in FixupOatMethodOffsets() local
366 method = linker->ResolveMethod(dex_file, method_idx, dex_cache, in FixupOatMethodOffsets()
372 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, method_idx)); in FixupOatMethodOffsets()
/art/compiler/dex/
Dfrontend.cc485 method_idx(0), in CompilationUnit()
530 LOG(INFO) << "TIMINGS " << PrettyMethod(method_idx, *dex_file); in EndTiming()
555 static bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file, in CanCompileMethod() argument
570 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx)); in CanCompileMethod()
622 uint16_t class_def_idx, uint32_t method_idx, in CompileMethod() argument
625 VLOG(compiler) << "Compiling " << PrettyMethod(method_idx, dex_file) << "..."; in CompileMethod()
634 << " in " << PrettyMethod(method_idx, dex_file); in CompileMethod()
639 << code_item->registers_size_ << " in " << PrettyMethod(method_idx, dex_file); in CompileMethod()
671 (PrettyMethod(method_idx, dex_file).find(cu.compiler_method_match) != std::string::npos)); in CompileMethod()
682 if (PrettyMethod(method_idx, dex_file).find(gVerboseMethods[i]) in CompileMethod()
[all …]
Ddex_to_dex_compiler.cc236 uint32_t method_idx = is_range ? inst->VRegB_3rc() : inst->VRegB_35c(); in CompileInvokeVirtual() local
237 MethodReference target_method(&GetDexFile(), method_idx); in CompileInvokeVirtual()
253 << "(" << PrettyMethod(method_idx, GetDexFile(), true) << ")" in CompileInvokeVirtual()
255 << " by replacing method index " << method_idx in CompileInvokeVirtual()
276 uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, in ArtCompileDEX() argument
281 dex_file, code_item, class_def_idx, method_idx, access_flags, in ArtCompileDEX()
282 driver.GetVerifiedMethod(&dex_file, method_idx)); in ArtCompileDEX()
Dmir_method_info.h66 MirMethodInfo(uint16_t method_idx, uint16_t flags) in MirMethodInfo() argument
67 : method_idx_(method_idx), in MirMethodInfo()
101 MirMethodLoweringInfo(uint16_t method_idx, InvokeType type) in MirMethodLoweringInfo() argument
102 : MirMethodInfo(method_idx, in MirMethodLoweringInfo()
/art/compiler/driver/
Ddex_compilation_unit.cc33 dex_method_idx_(cu->method_idx), in DexCompilationUnit()
35 verified_method_(cu_->compiler_driver->GetVerifiedMethod(cu->dex_file, cu->method_idx)) { in DexCompilationUnit()
44 uint32_t method_idx, in DexCompilationUnit() argument
53 dex_method_idx_(method_idx), in DexCompilationUnit()
/art/runtime/
Ddex_instruction.cc322 uint32_t method_idx = VRegB_35c(); in DumpString() local
329 os << "}, " << PrettyMethod(method_idx, *file) << " // method@" << method_idx; in DumpString()
335 uint32_t method_idx = VRegB_35c(); in DumpString() local
342 os << "}, // vtable@" << method_idx; in DumpString()
360 uint32_t method_idx = VRegB_3rc(); in DumpString() local
362 << PrettyMethod(method_idx, *file) << " // method@" << method_idx; in DumpString()
367 uint32_t method_idx = VRegB_3rc(); in DumpString() local
369 << "// vtable@" << method_idx; in DumpString()
Ddex_method_iterator_test.cc40 uint32_t method_idx = it.GetMemberIndex(); in TEST_F() local
42 LG << invoke_type << " " << PrettyMethod(method_idx, dex_file); in TEST_F()
Dclass_linker-inl.h107 inline mirror::ArtMethod* ClassLinker::GetResolvedMethod(uint32_t method_idx, in GetResolvedMethod() argument
110 mirror::ArtMethod* resolved_method = referrer->GetDexCacheResolvedMethod(method_idx); in GetResolvedMethod()
117 inline mirror::ArtMethod* ClassLinker::ResolveMethod(Thread* self, uint32_t method_idx, in ResolveMethod() argument
120 mirror::ArtMethod* resolved_method = GetResolvedMethod(method_idx, *referrer, type); in ResolveMethod()
130 resolved_method = ResolveMethod(*dex_file, method_idx, h_dex_cache, h_class_loader, h_referrer, in ResolveMethod()
/art/compiler/llvm/
Dcompiler_llvm.cc45 uint16_t class_def_idx, uint32_t method_idx, jobject class_loader,
208 uint32_t method_idx, in ArtCompileMethod() argument
216 class_def_idx, method_idx, access_flags, driver->GetVerifiedMethod(&dex_file, method_idx)); in ArtCompileMethod()
223 uint32_t access_flags, uint32_t method_idx, in ArtLLVMJniCompileMethod() argument
229 0, method_idx, access_flags, nullptr); in ArtLLVMJniCompileMethod()
/art/compiler/dex/quick/
Dmir_to_lir-inl.h72 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " in NewLIR0()
82 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " in NewLIR1()
92 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " in NewLIR2()
102 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " in NewLIR2NoDest()
112 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " in NewLIR3()
122 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " in NewLIR4()
133 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " " in NewLIR5()
Ddex_file_method_inliner.h85 bool GenSpecial(Mir2Lir* backend, uint32_t method_idx) LOCKS_EXCLUDED(lock_);
90 bool GenInline(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, uint32_t method_idx)
311 bool AddInlineMethod(int32_t method_idx, const InlineMethod& method) LOCKS_EXCLUDED(lock_);
318 MIR* move_result, const InlineMethod& method, uint32_t method_idx);
320 MIR* move_result, const InlineMethod& method, uint32_t method_idx);
Ddex_file_method_inliner.cc516 bool DexFileMethodInliner::GenSpecial(Mir2Lir* backend, uint32_t method_idx) { in GenSpecial() argument
520 auto it = inline_methods_.find(method_idx); in GenSpecial()
530 uint32_t method_idx) { in GenInline() argument
534 auto it = inline_methods_.find(method_idx); in GenInline()
556 result = GenInlineIGet(mir_graph, bb, invoke, move_result, method, method_idx); in GenInline()
560 result = GenInlineIPut(mir_graph, bb, invoke, move_result, method, method_idx); in GenInline()
687 uint32_t method_idx = FindMethodIndex(dex_file, &cache, def.method_def); in FindIntrinsics() local
688 if (method_idx != kIndexNotFound) { in FindIntrinsics()
689 DCHECK(inline_methods_.find(method_idx) == inline_methods_.end()); in FindIntrinsics()
690 inline_methods_.Put(method_idx, def.intrinsic); in FindIntrinsics()
[all …]
/art/runtime/mirror/
Ddex_cache-inl.h34 inline ArtMethod* DexCache::GetResolvedMethod(uint32_t method_idx) in GetResolvedMethod() argument
36 ArtMethod* method = GetResolvedMethods()->Get(method_idx); in GetResolvedMethod()
Ddex_cache.h108 ArtMethod* GetResolvedMethod(uint32_t method_idx) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
110 void SetResolvedMethod(uint32_t method_idx, ArtMethod* resolved) ALWAYS_INLINE in SetResolvedMethod() argument
112 GetResolvedMethods()->Set(method_idx, resolved); in SetResolvedMethod()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc301 static void PreloadDexCachesResolveMethod(Handle<mirror::DexCache> dex_cache, uint32_t method_idx, in PreloadDexCachesResolveMethod() argument
304 mirror::ArtMethod* method = dex_cache->GetResolvedMethod(method_idx); in PreloadDexCachesResolveMethod()
309 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); in PreloadDexCachesResolveMethod()
317 method = klass->FindDirectMethod(dex_cache.Get(), method_idx); in PreloadDexCachesResolveMethod()
320 method = klass->FindInterfaceMethod(dex_cache.Get(), method_idx); in PreloadDexCachesResolveMethod()
324 method = klass->FindVirtualMethod(dex_cache.Get(), method_idx); in PreloadDexCachesResolveMethod()
333 dex_cache->SetResolvedMethod(method_idx, method); in PreloadDexCachesResolveMethod()
481 uint32_t method_idx = it.GetMemberIndex(); in VMRuntime_preloadDexCaches() local
483 PreloadDexCachesResolveMethod(dex_cache, method_idx, invoke_type); in VMRuntime_preloadDexCaches()
486 uint32_t method_idx = it.GetMemberIndex(); in VMRuntime_preloadDexCaches() local
[all …]
/art/compiler/optimizing/
Doptimizing_compiler.cc78 uint32_t method_idx, in TryCompile() argument
95 class_def_idx, method_idx, access_flags, in TryCompile()
96 GetCompilerDriver()->GetVerifiedMethod(&dex_file, method_idx)); in TryCompile()
/art/runtime/verifier/
Dmethod_verifier.h150 static MethodVerifier* VerifyMethodAndDump(std::ostream& os, uint32_t method_idx,
208 const DexFile::CodeItem* code_item, uint32_t method_idx, mirror::ArtMethod* method, in MethodVerifier() argument
211 : MethodVerifier(dex_file, dex_cache, class_loader, class_def, code_item, method_idx, method, in MethodVerifier()
246 const DexFile::CodeItem* code_item, uint32_t method_idx, mirror::ArtMethod* method,
268 static FailureKind VerifyMethod(uint32_t method_idx, const DexFile* dex_file,
546 mirror::ArtMethod* ResolveMethodAndCheckAccess(uint32_t method_idx, MethodType method_type)
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h353 static inline mirror::ArtMethod* FindMethodFromCode(uint32_t method_idx, in FindMethodFromCode() argument
357 mirror::ArtMethod* resolved_method = class_linker->GetResolvedMethod(method_idx, *referrer, type); in FindMethodFromCode()
363 resolved_method = class_linker->ResolveMethod(self, method_idx, referrer, type); in FindMethodFromCode()
373 ThrowNullPointerExceptionForMethodAccess(throw_location, method_idx, type); in FindMethodFromCode()
386 method_idx); in FindMethodFromCode()
461 mirror::ArtMethod* FindMethodFromCode<_type, _access_check>(uint32_t method_idx, \
535 static inline mirror::ArtMethod* FindMethodFast(uint32_t method_idx, in FindMethodFast() argument
543 referrer->GetDeclaringClass()->GetDexCache()->GetResolvedMethod(method_idx); in FindMethodFast()

1234