Searched defs:method_idx (Results 1 - 25 of 39) sorted by relevance

12

/art/runtime/
H A Ddex_method_iterator_test.cc40 uint32_t method_idx = it.GetMemberIndex(); local
42 LG << invoke_type << " " << PrettyMethod(method_idx, dex_file);
H A Ddex_instruction.cc322 uint32_t method_idx = VRegB_35c(); local
329 os << "}, " << PrettyMethod(method_idx, *file) << " // method@" << method_idx;
335 uint32_t method_idx = VRegB_35c(); local
342 os << "}, // vtable@" << method_idx; local
360 uint32_t method_idx = VRegB_3rc(); local
362 << PrettyMethod(method_idx, *file) << " // method@" << method_idx;
367 uint32_t method_idx = VRegB_3rc(); local
369 << "// vtable@" << method_idx;
[all...]
H A Dclass_linker-inl.h107 inline mirror::ArtMethod* ClassLinker::GetResolvedMethod(uint32_t method_idx, argument
110 mirror::ArtMethod* resolved_method = referrer->GetDexCacheResolvedMethod(method_idx);
117 inline mirror::ArtMethod* ClassLinker::ResolveMethod(Thread* self, uint32_t method_idx, argument
120 mirror::ArtMethod* resolved_method = GetResolvedMethod(method_idx, *referrer, type);
130 resolved_method = ResolveMethod(*dex_file, method_idx, h_dex_cache, h_class_loader, h_referrer,
H A Dcommon_throws.cc316 void ThrowNoSuchMethodError(uint32_t method_idx) { argument
322 msg << "No method '" << PrettyMethod(method_idx, dex_file, true) << "'";
338 uint32_t method_idx,
344 << PrettyMethod(method_idx, dex_file, true) << "' on a null object reference";
349 uint32_t method_idx,
353 ThrowNullPointerExceptionForMethodAccessImpl(throw_location, method_idx,
348 ThrowNullPointerExceptionForMethodAccess(const ThrowLocation& throw_location, uint32_t method_idx, InvokeType type) argument
/art/compiler/driver/
H A Ddex_compilation_unit.cc33 dex_method_idx_(cu->method_idx),
35 verified_method_(cu_->compiler_driver->GetVerifiedMethod(cu->dex_file, cu->method_idx)) {
44 uint32_t method_idx,
53 dex_method_idx_(method_idx),
38 DexCompilationUnit(CompilationUnit* cu, 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) argument
H A Dcompiler_driver-inl.h170 uint32_t method_idx, InvokeType invoke_type) {
174 *mUnit->GetDexFile(), method_idx, dex_cache, class_loader, NullHandle<mirror::ArtMethod>(),
239 // Sharpen a virtual call into a direct call. The method_idx is into referrer's
167 ResolveMethod( ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, uint32_t method_idx, InvokeType invoke_type) argument
/art/runtime/entrypoints/portable/
H A Dportable_invoke_entrypoints.cc25 mirror::ArtMethod* FindMethodHelper(uint32_t method_idx, mirror::Object* this_object, argument
27 mirror::ArtMethod* method = FindMethodFast(method_idx, this_object, caller_method,
32 method = FindMethodFromCode<type, access_check>(method_idx, &this_object, &caller_method,
57 mirror::ArtMethod* FindMethodHelper<_type, _access_check>(uint32_t method_idx, \
74 extern "C" mirror::Object* art_portable_find_static_method_from_code_with_access_check(uint32_t method_idx,
79 return FindMethodHelper<kStatic, true>(method_idx, this_object, referrer, thread);
82 extern "C" mirror::Object* art_portable_find_direct_method_from_code_with_access_check(uint32_t method_idx,
87 return FindMethodHelper<kDirect, true>(method_idx, this_object, referrer, thread);
90 extern "C" mirror::Object* art_portable_find_virtual_method_from_code_with_access_check(uint32_t method_idx,
95 return FindMethodHelper<kVirtual, true>(method_idx, this_objec
[all...]
/art/compiler/
H A Dcompiler.cc34 uint32_t method_idx,
44 uint32_t method_idx,
48 bool use_sea = (std::string::npos != PrettyMethod(method_idx, dex_file).find("fibonacci"));
55 method_idx,
75 uint32_t method_idx,
80 uint32_t access_flags, uint32_t method_idx,
103 uint32_t method_idx,
110 method_idx,
122 method_idx,
128 uint32_t method_idx,
40 TryCompileWithSeaIR(const art::DexFile::CodeItem* code_item, uint32_t access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file) argument
[all...]
H A Dcompilers.cc33 uint32_t method_idx,
38 uint32_t access_flags, uint32_t method_idx,
56 uint32_t method_idx,
63 method_idx,
75 method_idx,
81 uint32_t method_idx,
83 return ArtQuickJniCompileMethod(GetCompilerDriver(), access_flags, method_idx, dex_file);
146 uint32_t method_idx,
150 method_idx, class_loader, dex_file);
155 return QuickCompiler::Compile(code_item, access_flags, invoke_type, class_def_idx, method_idx,
52 Compile(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) const argument
80 JniCompile(uint32_t access_flags, uint32_t method_idx, const DexFile& dex_file) const argument
142 Compile(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) const argument
[all...]
H A Delf_writer_mclinker.cc247 uint32_t method_idx = it.GetMemberIndex(); local
249 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, method_idx));
357 uint32_t method_idx = it.GetMemberIndex(); local
366 method = linker->ResolveMethod(dex_file, method_idx, dex_cache,
372 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, method_idx));
/art/compiler/sea_ir/
H A Dfrontend.cc44 uint16_t class_def_idx, uint32_t method_idx,
47 LOG(INFO) << "Compiling " << PrettyMethod(method_idx, dex_file) << ".";
49 std::string symbol = "dex_" + MangleForJni(PrettyMethod(method_idx, dex_file));
51 code_item, class_def_idx, method_idx, method_access_flags, dex_file);
55 MethodReference mref(&dex_file, method_idx);
60 LOG(INFO) << "Compiled SEA IR method " << PrettyMethod(method_idx, dex_file) << ".";
70 uint32_t method_idx,
75 class_def_idx, method_idx, class_loader, dex_file, llvm_compilation_unit);
82 uint16_t class_def_idx, uint32_t method_idx, jobject class_loader,
88 class_def_idx, method_idx, class_loade
40 CompileMethodWithSeaIr(CompilerDriver& compiler, CompilerBackend* compiler_backend, const DexFile::CodeItem* code_item, uint32_t method_access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const DexFile& dex_file, void* llvm_compilation_unit) argument
64 SeaIrCompileOneMethod(CompilerDriver& compiler, CompilerBackend* backend, const DexFile::CodeItem* code_item, uint32_t method_access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const DexFile& dex_file, void* llvm_compilation_unit) argument
79 SeaIrCompileMethod(art::CompilerDriver& compiler, const art::DexFile::CodeItem* code_item, uint32_t method_access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file) argument
[all...]
/art/compiler/dex/
H A Dcompiler_ir.h57 uint32_t method_idx; // compiling method's index into method_ids of DexFile. member in struct:art::CompilationUnit
H A Ddex_to_dex_compiler.cc236 uint32_t method_idx = is_range ? inst->VRegB_3rc() : inst->VRegB_35c(); local
237 MethodReference target_method(&GetDexFile(), method_idx); local
253 << "(" << PrettyMethod(method_idx, GetDexFile(), true) << ")"
255 << " by replacing method index " << method_idx
276 uint16_t class_def_idx, uint32_t method_idx, jobject class_loader,
281 dex_file, code_item, class_def_idx, method_idx, access_flags,
282 driver.GetVerifiedMethod(&dex_file, method_idx));
274 ArtCompileDEX(art::CompilerDriver& driver, const art::DexFile::CodeItem* code_item, uint32_t access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file, art::DexToDexCompilationLevel dex_to_dex_compilation_level) argument
H A Dfrontend.cc485 method_idx(0),
530 LOG(INFO) << "TIMINGS " << PrettyMethod(method_idx, *dex_file);
555 static bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file, argument
570 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx));
622 uint16_t class_def_idx, uint32_t method_idx,
625 VLOG(compiler) << "Compiling " << PrettyMethod(method_idx, dex_file) << "...";
634 << " in " << PrettyMethod(method_idx, dex_file);
639 << code_item->registers_size_ << " in " << PrettyMethod(method_idx, dex_file);
671 (PrettyMethod(method_idx, dex_file).find(cu.compiler_method_match) != std::string::npos));
682 if (PrettyMethod(method_idx, dex_fil
618 CompileMethod(CompilerDriver& driver, Compiler* compiler, 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, void* llvm_compilation_unit) argument
805 CompileOneMethod(CompilerDriver& driver, Compiler* compiler, 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, void* compilation_unit) argument
822 ArtQuickCompileMethod(art::CompilerDriver& driver, const art::DexFile::CodeItem* code_item, uint32_t access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file) argument
[all...]
H A Dmir_method_info.h66 MirMethodInfo(uint16_t method_idx, uint16_t flags) argument
67 : method_idx_(method_idx),
101 MirMethodLoweringInfo(uint16_t method_idx, InvokeType type) argument
102 : MirMethodInfo(method_idx,
/art/compiler/llvm/
H A Dcompiler_llvm.cc45 uint16_t class_def_idx, uint32_t method_idx, jobject class_loader,
208 uint32_t method_idx,
216 class_def_idx, method_idx, access_flags, driver->GetVerifiedMethod(&dex_file, method_idx));
223 uint32_t access_flags, uint32_t method_idx,
229 0, method_idx, access_flags, nullptr);
203 ArtCompileMethod(art::CompilerDriver* driver, const art::DexFile::CodeItem* code_item, uint32_t access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file) argument
222 ArtLLVMJniCompileMethod(art::CompilerDriver* driver, uint32_t access_flags, uint32_t method_idx, const art::DexFile& dex_file) argument
/art/compiler/optimizing/
H A Doptimizing_compiler.cc78 uint32_t method_idx,
95 class_def_idx, method_idx, access_flags,
96 GetCompilerDriver()->GetVerifiedMethod(&dex_file, method_idx));
74 TryCompile(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) const argument
H A Dbuilder.cc323 uint32_t method_idx,
328 const DexFile::MethodId& method_id = dex_file_->GetMethodId(method_idx);
339 arena_, number_of_arguments, return_type, dex_offset, method_idx);
606 uint32_t method_idx = instruction.VRegB_35c(); local
610 if (!BuildInvoke(instruction, dex_offset, method_idx, number_of_vreg_arguments, false, args, -1)) {
618 uint32_t method_idx = instruction.VRegB_3rc(); local
621 if (!BuildInvoke(instruction, dex_offset, method_idx,
321 BuildInvoke(const Instruction& instruction, uint32_t dex_offset, uint32_t method_idx, uint32_t number_of_vreg_arguments, bool is_range, uint32_t* args, uint32_t register_index) argument
/art/compiler/jni/portable/
H A Djni_compiler.cc72 uint32_t method_idx = dex_compilation_unit_->GetDexMethodIndex(); local
74 MangleForJni(PrettyMethod(method_idx, *dex_file)).c_str()));
280 ::llvm::FunctionType* JniCompiler::GetFunctionType(uint32_t method_idx, argument
/art/compiler/jni/quick/
H A Djni_compiler.cc58 uint32_t access_flags, uint32_t method_idx,
64 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx));
551 uint32_t access_flags, uint32_t method_idx,
553 return ArtJniCompileMethodInternal(compiler, access_flags, method_idx, dex_file);
57 ArtJniCompileMethodInternal(CompilerDriver* driver, uint32_t access_flags, uint32_t method_idx, const DexFile& dex_file) argument
550 ArtQuickJniCompileMethod(art::CompilerDriver* compiler, uint32_t access_flags, uint32_t method_idx, const art::DexFile& dex_file) argument
/art/runtime/interpreter/
H A Dinterpreter_common.h108 const uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c(); local
113 method_idx, &receiver, &sf_method, self);
/art/runtime/quick/
H A Dinline_method_analyser.cc333 uint32_t method_idx = verifier->GetMethodReference().dex_method_index; local
334 mirror::ArtMethod* method = dex_cache->GetResolvedMethod(method_idx);
/art/runtime/entrypoints/
H A Dentrypoint_utils-inl.h353 static inline mirror::ArtMethod* FindMethodFromCode(uint32_t method_idx, argument
357 mirror::ArtMethod* resolved_method = class_linker->GetResolvedMethod(method_idx, *referrer, type);
363 resolved_method = class_linker->ResolveMethod(self, method_idx, referrer, type);
373 ThrowNullPointerExceptionForMethodAccess(throw_location, method_idx, type);
386 method_idx);
461 mirror::ArtMethod* FindMethodFromCode<_type, _access_check>(uint32_t method_idx, \
535 static inline mirror::ArtMethod* FindMethodFast(uint32_t method_idx, argument
543 referrer->GetDeclaringClass()->GetDexCache()->GetResolvedMethod(method_idx);
/art/compiler/dex/quick/
H A Ddex_file_method_inliner.cc516 bool DexFileMethodInliner::GenSpecial(Mir2Lir* backend, uint32_t method_idx) { argument
520 auto it = inline_methods_.find(method_idx);
530 uint32_t method_idx) {
534 auto it = inline_methods_.find(method_idx);
556 result = GenInlineIGet(mir_graph, bb, invoke, move_result, method, method_idx);
560 result = GenInlineIPut(mir_graph, bb, invoke, move_result, method, method_idx);
687 uint32_t method_idx = FindMethodIndex(dex_file, &cache, def.method_def); local
688 if (method_idx != kIndexNotFound) {
689 DCHECK(inline_methods_.find(method_idx) == inline_methods_.end());
690 inline_methods_.Put(method_idx, de
529 GenInline(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, uint32_t method_idx) argument
696 AddInlineMethod(int32_t method_idx, const InlineMethod& method) argument
770 GenInlineIGet(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method, uint32_t method_idx) argument
822 GenInlineIPut(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method, uint32_t method_idx) argument
[all...]
/art/runtime/mirror/
H A Dart_method-inl.h100 inline void ArtMethod::SetDexCacheResolvedMethod(uint16_t method_idx, ArtMethod* new_method) { argument
101 GetDexCacheResolvedMethods()->Set<false>(method_idx, new_method);

Completed in 3036 milliseconds

12