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

12

/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.cc350 uint32_t method_idx = VRegB_35c(); local
357 os << "}, " << PrettyMethod(method_idx, *file) << " // method@" << method_idx;
364 uint32_t method_idx = VRegB_35c(); local
371 os << "}, // vtable@" << method_idx; local
390 uint32_t method_idx = VRegB_3rc(); local
392 << PrettyMethod(method_idx, *file) << " // method@" << method_idx;
398 uint32_t method_idx = VRegB_3rc(); local
400 << "// vtable@" << method_idx;
[all...]
H A Dclass_linker-inl.h107 inline ArtMethod* ClassLinker::GetResolvedMethod(uint32_t method_idx, ArtMethod* referrer) { argument
109 method_idx, image_pointer_size_);
116 inline ArtMethod* ClassLinker::ResolveMethod(Thread* self, uint32_t method_idx, argument
118 ArtMethod* resolved_method = GetResolvedMethod(method_idx, referrer);
125 resolved_method = ResolveMethod(*dex_file, method_idx, h_dex_cache, h_class_loader, referrer,
H A Dcommon_throws.cc317 void ThrowNoSuchMethodError(uint32_t method_idx) { argument
322 msg << "No method '" << PrettyMethod(method_idx, dex_file, true) << "'";
336 static void ThrowNullPointerExceptionForMethodAccessImpl(uint32_t method_idx,
342 << PrettyMethod(method_idx, dex_file, true) << "' on a null object reference";
346 void ThrowNullPointerExceptionForMethodAccess(uint32_t method_idx, argument
351 ThrowNullPointerExceptionForMethodAccessImpl(method_idx, dex_file, type);
/art/compiler/
H A Dcompiler.cc42 uint32_t method_idx,
52 << " in " << PrettyMethod(method_idx, dex_file);
57 << code_item.registers_size_ << " in " << PrettyMethod(method_idx, dex_file);
41 IsPathologicalCase(const DexFile::CodeItem& code_item, uint32_t method_idx, const DexFile& dex_file) argument
/art/compiler/driver/
H A Ddex_compilation_unit.cc31 uint32_t method_idx,
40 dex_method_idx_(method_idx),
25 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.h221 ArtMethod* resolved_method, uint16_t method_idx, uint32_t* storage_index) {
223 dex_cache, referrer_class, resolved_method, method_idx, storage_index);
269 uint32_t method_idx, InvokeType invoke_type, bool check_incompatible_class_change) {
273 *mUnit->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type);
340 // Sharpen a virtual call into a direct call. The method_idx is into referrer's
219 IsClassOfStaticMethodAvailableToReferrer( mirror::DexCache* dex_cache, mirror::Class* referrer_class, ArtMethod* resolved_method, uint16_t method_idx, uint32_t* storage_index) argument
266 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/mirror/
H A Ddex_cache-inl.h56 inline ArtMethod* DexCache::GetResolvedMethod(uint32_t method_idx, size_t ptr_size) { argument
58 auto* method = GetResolvedMethods()->GetElementPtrSize<ArtMethod*>(method_idx, ptr_size);
/art/compiler/linker/x86/
H A Drelative_patcher_x86_test.cc31 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 Drelative_patcher_x86_64_test.cc33 uint32_t GetMethodOffset(uint32_t method_idx) { argument
34 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
/art/compiler/dex/
H A Dcompiler_ir.h179 uint32_t method_idx; // compiling method's index into method_ids of DexFile. member in struct:art::CompilationUnit
H A Ddex_to_dex_compiler.cc259 uint32_t method_idx = is_range ? inst->VRegB_3rc() : inst->VRegB_35c(); local
260 MethodReference target_method(&GetDexFile(), method_idx); local
276 << "(" << PrettyMethod(method_idx, GetDexFile(), true) << ")"
278 << " by replacing method index " << method_idx
299 uint16_t class_def_idx, uint32_t method_idx, jobject class_loader,
305 dex_file, code_item, class_def_idx, method_idx, access_flags,
306 driver.GetVerifiedMethod(&dex_file, method_idx));
297 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 Dmir_method_info.h69 MirMethodInfo(uint16_t method_idx, uint16_t flags) argument
70 : method_idx_(method_idx),
104 MirMethodLoweringInfo(uint16_t method_idx, InvokeType type, bool is_quickened) argument
105 : MirMethodInfo(method_idx,
H A Dmir_optimization_test.cc42 uint16_t method_idx; member in struct:art::MirOptimizationTest::MethodDef
257 MirMethodLoweringInfo method_info(def->method_idx, def->invoke_type, false);
/art/compiler/dex/quick/
H A Dquick_compiler.cc492 bool QuickCompiler::CanCompileMethod(uint32_t method_idx, const DexFile& dex_file, argument
507 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx));
616 uint32_t method_idx,
623 VLOG(compiler) << "Compiling " << PrettyMethod(method_idx, dex_file) << "...";
624 if (Compiler::IsPathologicalCase(*code_item, method_idx, dex_file)) {
628 if (driver->GetVerifiedMethod(&dex_file, method_idx)->HasRuntimeThrow()) {
643 cu.method_idx = method_idx;
646 cu.shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx));
661 (PrettyMethod(method_idx, dex_fil
612 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
789 JniCompile(uint32_t access_flags, uint32_t method_idx, const DexFile& dex_file) const argument
[all...]
H A Ddex_file_method_inliner.cc629 bool DexFileMethodInliner::GenSpecial(Mir2Lir* backend, uint32_t method_idx) { argument
633 auto it = inline_methods_.find(method_idx);
643 uint32_t method_idx) {
647 auto it = inline_methods_.find(method_idx);
815 uint32_t method_idx = FindMethodIndex(dex_file, &cache, def.method_def); local
816 if (method_idx != kIndexNotFound) {
817 DCHECK(inline_methods_.find(method_idx) == inline_methods_.end());
818 inline_methods_.Put(method_idx, def.intrinsic);
824 bool DexFileMethodInliner::AddInlineMethod(int32_t method_idx, const InlineMethod& method) { argument
826 if (LIKELY(inline_methods_.find(method_idx)
642 GenInline(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, uint32_t method_idx) argument
[all...]
/art/compiler/jni/quick/
H A Djni_compiler.cc62 uint32_t access_flags, uint32_t method_idx,
68 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx));
601 uint32_t method_idx, const DexFile& dex_file) {
602 return ArtJniCompileMethodInternal(compiler, access_flags, method_idx, dex_file);
61 ArtJniCompileMethodInternal(CompilerDriver* driver, uint32_t access_flags, uint32_t method_idx, const DexFile& dex_file) argument
600 ArtQuickJniCompileMethod(CompilerDriver* compiler, uint32_t access_flags, uint32_t method_idx, const DexFile& dex_file) argument
/art/compiler/linker/arm/
H A Drelative_patcher_thumb2_test.cc83 uint32_t GetMethodOffset(uint32_t method_idx) { argument
84 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
/art/compiler/linker/
H A Drelative_patcher_test.h65 MethodReference MethodRef(uint32_t method_idx) { argument
66 CHECK_NE(method_idx, 0u);
67 return MethodReference(nullptr, method_idx);
/art/runtime/interpreter/
H A Dinterpreter_common.h105 const uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c(); local
110 method_idx, &receiver, &sf_method, self);
/art/runtime/quick/
H A Dinline_method_analyser.cc332 uint32_t method_idx = verifier->GetMethodReference().dex_method_index; local
334 ArtMethod* method = dex_cache->GetResolvedMethod(method_idx, cl->GetImagePointerSize());
/art/compiler/utils/
H A Dtest_dex_file_builder.h145 uint32_t method_idx = 0u; local
147 entry.second = method_idx;
148 method_idx += 1u;
/art/runtime/entrypoints/
H A Dentrypoint_utils-inl.h370 inline ArtMethod* FindMethodFromCode(uint32_t method_idx, mirror::Object** this_object, argument
373 ArtMethod* resolved_method = class_linker->GetResolvedMethod(method_idx, *referrer);
379 resolved_method = class_linker->ResolveMethod(self, method_idx, *referrer, type);
387 ThrowNullPointerExceptionForMethodAccess(method_idx, type);
400 method_idx);
477 ArtMethod* FindMethodFromCode<_type, _access_check>(uint32_t method_idx, \
546 inline ArtMethod* FindMethodFast(uint32_t method_idx, mirror::Object* this_object, argument
552 referrer->GetDeclaringClass()->GetDexCache()->GetResolvedMethod(method_idx, sizeof(void*));
/art/compiler/linker/arm64/
H A Drelative_patcher_arm64_test.cc74 uint32_t method_idx = 2u; local
81 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(gap_code),
83 method_idx += 1u;
87 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(gap_code),
89 method_idx += 1u;
92 AddCompiledMethod(MethodRef(method_idx), last_method_code, last_method_patches);
97 auto last_result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
105 return method_idx;
108 uint32_t GetMethodOffset(uint32_t method_idx) { argument
109 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx));
[all...]
/art/compiler/optimizing/
H A Doptimizing_compiler.cc174 bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file, CompilationUnit* cu) const
181 uint32_t method_idx,
189 uint32_t method_idx,
194 uint32_t method_idx,
196 return ArtQuickJniCompileMethod(GetCompilerDriver(), access_flags, method_idx, dex_file);
285 bool OptimizingCompiler::CanCompileMethod(uint32_t method_idx ATTRIBUTE_UNUSED,
481 uint32_t method_idx,
485 std::string method_name = PrettyMethod(method_idx, dex_file);
511 if (Compiler::IsPathologicalCase(*code_item, method_idx, dex_file)) {
528 class_def_idx, method_idx, access_flag
477 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
619 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) const argument
[all...]

Completed in 1647 milliseconds

12