Searched refs:target_method (Results 1 - 19 of 19) sorted by relevance

/art/compiler/dex/
H A Dmir_method_info.cc151 MethodReference target_method(it->target_dex_file_, it->target_method_idx_);
154 &invoke_type, &target_method, devirt_target, &it->direct_code_, &it->direct_method_);
162 auto* inliner = (target_method.dex_file == dex_file)
164 : inliner_map->GetMethodInliner(target_method.dex_file);
165 is_intrinsic_or_special = inliner->IsIntrinsicOrSpecial(target_method.dex_method_index);
179 it->target_dex_file_ = target_method.dex_file;
180 it->target_method_idx_ = target_method.dex_method_index;
H A Ddex_to_dex_compiler.cc260 MethodReference target_method(&GetDexFile(), method_idx);
271 &target_method, &vtable_idx,
H A Dmir_graph.cc1694 const char* MIRGraph::GetShortyFromMethodReference(const MethodReference& target_method) { argument
1696 target_method.dex_file->GetMethodId(target_method.dex_method_index);
1697 return target_method.dex_file->GetShorty(method_id.proto_idx_);
H A Dmir_graph.h1163 const char* GetShortyFromMethodReference(const MethodReference& target_method);
/art/compiler/dex/quick/arm64/
H A Dcall_arm64.cc448 static bool Arm64UseRelativeCall(CompilationUnit* cu, const MethodReference& target_method) { argument
450 return cu->compiler_driver->IsImage() || cu->dex_file == target_method.dex_file;
458 int state, const MethodReference& target_method,
486 } else if (Arm64UseRelativeCall(cu, target_method)) {
489 cg->LoadCodeAddress(target_method, type, kInvokeTgt);
494 cg->LoadMethodAddress(target_method, type, kArg0);
523 } else if (Arm64UseRelativeCall(cu, target_method)) {
526 CHECK_LT(target_method.dex_method_index, target_method.dex_file->NumMethodIds());
527 cg->LoadCodeAddress(target_method, typ
457 Arm64NextSDCallInsn(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t unused_idx ATTRIBUTE_UNUSED, uintptr_t direct_code, uintptr_t direct_method, InvokeType type) argument
565 CallWithLinkerFixup(const MethodReference& target_method, InvokeType type) argument
[all...]
H A Dcodegen_arm64.h247 * @param target_method The MethodReference of the method to be invoked.
251 LIR* CallWithLinkerFixup(const MethodReference& target_method, InvokeType type);
401 int state, const MethodReference& target_method,
/art/compiler/dex/quick/arm/
H A Dcall_arm.cc614 static bool ArmUseRelativeCall(CompilationUnit* cu, const MethodReference& target_method) { argument
616 return cu->dex_file == target_method.dex_file;
624 int state, const MethodReference& target_method,
652 } else if (ArmUseRelativeCall(cu, target_method)) {
655 cg->LoadCodeAddress(target_method, type, kInvokeTgt);
660 cg->LoadMethodAddress(target_method, type, kArg0);
689 } else if (ArmUseRelativeCall(cu, target_method)) {
692 CHECK_LT(target_method.dex_method_index, target_method.dex_file->NumMethodIds());
693 cg->LoadCodeAddress(target_method, typ
623 ArmNextSDCallInsn(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t unused_idx ATTRIBUTE_UNUSED, uintptr_t direct_code, uintptr_t direct_method, InvokeType type) argument
733 CallWithLinkerFixup(const MethodReference& target_method, InvokeType type) argument
[all...]
H A Dcodegen_arm.h251 * @param target_method The MethodReference of the method to be invoked.
255 LIR* CallWithLinkerFixup(const MethodReference& target_method, InvokeType type);
348 int state, const MethodReference& target_method,
/art/compiler/dex/quick/x86/
H A Dcall_x86.cc345 int state, const MethodReference& target_method,
371 cg->LoadMethodAddress(target_method, type, kArg0);
380 CHECK_EQ(cu->dex_file, target_method.dex_file);
381 size_t offset = cg->dex_cache_arrays_layout_.MethodOffset(target_method.dex_method_index);
404 CHECK_EQ(cu->dex_file, target_method.dex_file);
408 target_method.dex_method_index * pointer_size,
344 X86NextSDCallInsn(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t, uintptr_t direct_code ATTRIBUTE_UNUSED, uintptr_t direct_method, InvokeType type) argument
H A Dcodegen_x86.h344 * @param target_method The MethodReference of the method to be invoked.
349 void LoadMethodAddress(const MethodReference& target_method, InvokeType type,
366 * @param target_method The MethodReference of the method to be invoked.
370 LIR* CallWithLinkerFixup(const MethodReference& target_method, InvokeType type);
960 int state, const MethodReference& target_method,
H A Dtarget_x86.cc939 void X86Mir2Lir::LoadMethodAddress(const MethodReference& target_method, InvokeType type, argument
946 int target_method_idx = target_method.dex_method_index;
947 const DexFile* target_dex_file = target_method.dex_file;
979 LIR* X86Mir2Lir::CallWithLinkerFixup(const MethodReference& target_method, InvokeType type) { argument
984 int target_method_idx = target_method.dex_method_index;
985 const DexFile* target_dex_file = target_method.dex_file;
/art/compiler/dex/quick/mips/
H A Dcall_mips.cc419 const MethodReference& target_method, uint32_t, uintptr_t direct_code,
449 cg->LoadCodeAddress(target_method, type, kInvokeTgt);
458 cg->LoadMethodAddress(target_method, type, kArg0);
485 CHECK_LT(target_method.dex_method_index, target_method.dex_file->NumMethodIds());
486 cg->LoadCodeAddress(target_method, type, kInvokeTgt);
492 CHECK_EQ(cu->dex_file, target_method.dex_file);
496 target_method.dex_method_index * pointer_size, arg0_ref);
418 NextSDCallInsn(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t, uintptr_t direct_code, uintptr_t direct_method, InvokeType type) argument
/art/compiler/driver/
H A Dcompiler_driver-inl.h312 MethodReference* target_method, const MethodReference* devirt_target,
321 target_method->dex_method_index))) {
326 const bool same_dex_file = target_method->dex_file == mUnit->GetDexFile();
342 CHECK_EQ(target_method->dex_file, mUnit->GetDexFile());
345 target_method->dex_method_index, pointer_size),
353 target_method,
386 target_method,
408 target_method,
308 IsFastInvoke( ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, mirror::Class* referrer_class, ArtMethod* resolved_method, InvokeType* invoke_type, MethodReference* target_method, const MethodReference* devirt_target, uintptr_t* direct_code, uintptr_t* direct_method) argument
H A Dcompiler_driver.cc1358 MethodReference* target_method,
1427 if (target_method->dex_file == dex_cache->GetDexFile() &&
1430 target_method->dex_method_index = method->GetDexMethodIndex();
1435 *target_method->dex_file, target_method->dex_method_index);
1437 target_method->dex_method_index = dex_method_idx;
1440 target_method->dex_method_index = method->GetDexMethodIndex();
1441 target_method->dex_file = dex_cache->GetDexFile();
1472 target_method->dex_file = method->GetDeclaringClass()->GetDexCache()->GetDexFile();
1473 target_method
1353 GetCodeAndMethodForDirectCall(InvokeType* type, InvokeType sharp_type, bool no_guarantee_of_dex_cache_entry, const mirror::Class* referrer_class, ArtMethod* method, int* stats_flags, MethodReference* target_method, uintptr_t* direct_code, uintptr_t* direct_method) argument
1491 ComputeInvokeInfo(const DexCompilationUnit* mUnit, const uint32_t dex_pc, bool update_stats, bool enable_devirtualization, InvokeType* invoke_type, MethodReference* target_method, int* vtable_idx, uintptr_t* direct_code, uintptr_t* direct_method) argument
[all...]
H A Dcompiler_driver.h329 MethodReference* target_method, const MethodReference* devirt_target,
378 InvokeType* type, MethodReference* target_method, int* vtable_idx,
541 MethodReference* target_method,
/art/compiler/dex/quick/
H A Dgen_invoke.cc524 int state, const MethodReference& target_method,
527 UNUSED(target_method);
570 const MethodReference& target_method,
576 CHECK_LT(target_method.dex_method_index, target_method.dex_file->NumMethodIds());
577 cg->LoadConstant(cg->TargetReg(kHiddenArg, kNotWide), target_method.dex_method_index);
612 const MethodReference& target_method, uint32_t method_idx) {
632 CHECK_EQ(cu->dex_file, target_method.dex_file);
633 cg->LoadConstant(cg->TargetReg(kArg0, kNotWide), target_method.dex_method_index);
641 const MethodReference& target_method,
523 NextVCallInsn(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t method_idx, uintptr_t, uintptr_t, InvokeType) argument
569 NextInterfaceCallInsn(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t method_idx, uintptr_t, uintptr_t, InvokeType) argument
610 NextInvokeInsnSP(CompilationUnit* cu, CallInfo* info, QuickEntrypointEnum trampoline, int state, const MethodReference& target_method, uint32_t method_idx) argument
639 NextStaticCallInsnSP(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t, uintptr_t, uintptr_t, InvokeType) argument
647 NextDirectCallInsnSP(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t, uintptr_t, uintptr_t, InvokeType) argument
654 NextSuperCallInsnSP(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t, uintptr_t, uintptr_t, InvokeType) argument
661 NextVCallInsnSP(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t, uintptr_t, uintptr_t, InvokeType) argument
668 NextInterfaceCallInsnWithAccessCheck(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t, uintptr_t, uintptr_t, InvokeType) argument
753 GenDalvikArgs(CallInfo* info, int call_state, LIR** pcrLabel, NextCallInsn next_call_insn, const MethodReference& target_method, uint32_t vtable_idx, uintptr_t direct_code, uintptr_t direct_method, InvokeType type, bool skip_this) argument
1559 MethodReference target_method = method_info.GetTargetMethod(); local
[all...]
H A Dcodegen_util.cc1273 void Mir2Lir::LoadCodeAddress(const MethodReference& target_method, InvokeType type, argument
1275 LIR* data_target = ScanLiteralPoolMethod(code_literal_list_, target_method);
1277 data_target = AddWordData(&code_literal_list_, target_method.dex_method_index);
1278 data_target->operands[1] = WrapPointer(const_cast<DexFile*>(target_method.dex_file));
1290 void Mir2Lir::LoadMethodAddress(const MethodReference& target_method, InvokeType type, argument
1292 LIR* data_target = ScanLiteralPoolMethod(method_literal_list_, target_method);
1294 data_target = AddWordData(&method_literal_list_, target_method.dex_method_index);
1295 data_target->operands[1] = WrapPointer(const_cast<DexFile*>(target_method.dex_file));
H A Dmir_to_lir.h151 const MethodReference& target_method,
919 const MethodReference& target_method,
1081 * @param target_method The MethodReference of the method to be invoked.
1086 void LoadCodeAddress(const MethodReference& target_method, InvokeType type,
1091 * @param target_method The MethodReference of the method to be invoked.
1096 virtual void LoadMethodAddress(const MethodReference& target_method, InvokeType type,
/art/compiler/optimizing/
H A Dbuilder.cc616 MethodReference target_method(dex_file_, method_idx);
623 &optimized_invoke_type, &target_method, &table_index,
664 (target_method.dex_method_index == dex_compilation_unit_->GetDexMethodIndex());
665 DCHECK(!is_recursive || (target_method.dex_file == dex_compilation_unit_->GetDexFile()));
736 arena_, number_of_arguments, return_type, dex_pc, target_method.dex_method_index,

Completed in 5013 milliseconds