Home
last modified time | relevance | path

Searched refs:invoke_type (Results 1 – 24 of 24) sorted by relevance

/art/compiler/driver/
Dcompiler_driver-inl.h269 uint32_t method_idx, InvokeType invoke_type, bool check_incompatible_class_change) { in ResolveMethod() argument
273 *mUnit->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type); in ResolveMethod()
281 UNLIKELY(resolved_method->CheckIncompatibleClassChange(invoke_type))) { in ResolveMethod()
311 mirror::Class* referrer_class, ArtMethod* resolved_method, InvokeType* invoke_type, in IsFastInvoke() argument
328 (*invoke_type == kVirtual) && (resolved_method->IsFinal() || methods_class->IsFinal()); in IsFastInvoke()
332 bool can_sharpen_super_based_on_type = same_dex_file && (*invoke_type == kSuper) && in IsFastInvoke()
348 GetCodeAndMethodForDirectCall(/*out*/invoke_type, in IsFastInvoke()
356 DCHECK_NE(*invoke_type, kSuper) << PrettyMethod(resolved_method); in IsFastInvoke()
357 if (*invoke_type == kDirect) { in IsFastInvoke()
363 if ((*invoke_type == kVirtual || *invoke_type == kInterface) && devirt_target != nullptr) { in IsFastInvoke()
[all …]
Dcompiler_driver.cc341 art::InvokeType invoke_type,
553 InvokeType invoke_type = method->GetInvokeType(); in CompileOne() local
583 CompileMethod(self, code_item, access_flags, invoke_type, class_def_idx, method_idx, in CompileOne()
593 const InvokeType invoke_type = method->GetInvokeType(); in CompileMethod() local
605 CompileMethod(self, code_item, access_flags, invoke_type, class_def_idx, method_idx, in CompileMethod()
1252 void CompilerDriver::ProcessedInvoke(InvokeType invoke_type, int flags) { in ProcessedInvoke() argument
1253 stats_->ProcessedInvoke(invoke_type, flags); in ProcessedInvoke()
1493 InvokeType* invoke_type, MethodReference* target_method, in ComputeInvokeInfo() argument
1496 InvokeType orig_invoke_type = *invoke_type; in ComputeInvokeInfo()
1519 invoke_type, target_method, devirt_target, direct_code, direct_method); in ComputeInvokeInfo()
[all …]
Dcompiler_driver.h309 uint32_t method_idx, InvokeType invoke_type, bool check_incompatible_class_change = true)
328 mirror::Class* referrer_class, ArtMethod* resolved_method, InvokeType* invoke_type,
345 void ProcessedInvoke(InvokeType invoke_type, int flags);
600 InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx,
680 uint32_t access_flags, InvokeType invoke_type,
/art/compiler/dex/
Dmir_method_info.cc85 InvokeType invoke_type = it->GetInvokeType(); in Resolve() local
91 invoke_type = kDirect; in Resolve()
99 it->target_method_idx_, invoke_type, true); in Resolve()
104 CHECK_EQ(invoke_type, kVirtual); in Resolve()
116 it->target_method_idx_, invoke_type, false); in Resolve()
148 compiler_driver->GetResolvedMethodVTableIndex(resolved_method, invoke_type); in Resolve()
154 &invoke_type, &target_method, devirt_target, &it->direct_code_, &it->direct_method_); in Resolve()
176 (static_cast<uint16_t>(invoke_type) << kBitSharpTypeBegin) | in Resolve()
Ddex_to_dex_compiler.cc261 InvokeType invoke_type = kVirtual; in CompileInvokeVirtual() local
262 InvokeType original_invoke_type = invoke_type; in CompileInvokeVirtual()
270 &invoke_type, in CompileInvokeVirtual()
273 if (fast_path && original_invoke_type == invoke_type) { in CompileInvokeVirtual()
298 uint32_t access_flags, art::InvokeType invoke_type, in ArtCompileDEX() argument
302 UNUSED(invoke_type); in ArtCompileDEX()
Dcompiler_ir.cc38 invoke_type(kDirect), in CompilationUnit()
Dmir_analysis.cc1313 uint16_t invoke_type; in DoCacheMethodLoweringInfo() member
1323 if (lhs.invoke_type != rhs.invoke_type) { in DoCacheMethodLoweringInfo()
1324 return lhs.invoke_type < rhs.invoke_type; in DoCacheMethodLoweringInfo()
1415 static_cast<InvokeType>(entry->invoke_type), is_quick); in DoCacheMethodLoweringInfo()
Dcompiler_ir.h181 InvokeType invoke_type; // compiling method's invocation type. member
Dmir_optimization_test.cc46 InvokeType invoke_type; member
257 MirMethodLoweringInfo method_info(def->method_idx, def->invoke_type, false); in DoPrepareMethods()
263 ASSERT_EQ(def->invoke_type != kStatic, def->sharp_type != kStatic); in DoPrepareMethods()
265 ((def->invoke_type == kStatic) ? MirMethodLoweringInfo::kFlagIsStatic : 0u) | in DoPrepareMethods()
267 (static_cast<uint16_t>(def->invoke_type) << MirMethodLoweringInfo::kBitInvokeTypeBegin) | in DoPrepareMethods()
Dmir_graph.h576 InvokeType invoke_type, uint16_t class_def_idx,
Dmir_graph.cc701 InvokeType invoke_type ATTRIBUTE_UNUSED, uint16_t class_def_idx, in InlineMethod()
/art/runtime/
Ddex_method_iterator_test.cc40 InvokeType invoke_type = it.GetInvokeType(); in TEST_F() local
43 LOG(INFO) << invoke_type << " " << PrettyMethod(method_idx, dex_file); in TEST_F()
DAndroid.mk323 invoke_type.h \
/art/compiler/optimizing/
Dintrinsics.cc311 InvokeType invoke_type = invoke->IsInvokeStaticOrDirect() ? in CheckInvokeType() local
316 return (invoke_type == kStatic); in CheckInvokeType()
318 return (invoke_type == kDirect); in CheckInvokeType()
321 return (invoke_type == kVirtual || invoke_type == kDirect); in CheckInvokeType()
Doptimizing_compiler.cc179 InvokeType invoke_type,
187 InvokeType invoke_type,
479 InvokeType invoke_type, in TryCompile() argument
484 UNUSED(invoke_type); in TryCompile()
621 InvokeType invoke_type, in Compile() argument
630 method = TryCompile(code_item, access_flags, invoke_type, class_def_idx, in Compile()
643 method = delegate_->Compile(code_item, access_flags, invoke_type, class_def_idx, method_idx, in Compile()
Dbuilder.cc577 InvokeType invoke_type; in BuildInvoke() local
581 invoke_type = kStatic; in BuildInvoke()
585 invoke_type = kDirect; in BuildInvoke()
589 invoke_type = kVirtual; in BuildInvoke()
593 invoke_type = kInterface; in BuildInvoke()
597 invoke_type = kSuper; in BuildInvoke()
608 bool is_instance_call = invoke_type != kStatic; in BuildInvoke()
620 InvokeType optimized_invoke_type = invoke_type; in BuildInvoke()
646 invoke_type = kStatic; in BuildInvoke()
661 DCHECK((optimized_invoke_type == invoke_type) || (optimized_invoke_type != kDirect) in BuildInvoke()
[all …]
Dnodes.h2462 InvokeType invoke_type, in HInvokeStaticOrDirect() argument
2471 invoke_type_(invoke_type), in HInvokeStaticOrDirect()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc827 InvokeType invoke_type; in artQuickResolutionTrampoline() local
841 invoke_type = kDirect; in artQuickResolutionTrampoline()
845 invoke_type = kDirect; in artQuickResolutionTrampoline()
849 invoke_type = kStatic; in artQuickResolutionTrampoline()
853 invoke_type = kStatic; in artQuickResolutionTrampoline()
857 invoke_type = kSuper; in artQuickResolutionTrampoline()
861 invoke_type = kSuper; in artQuickResolutionTrampoline()
865 invoke_type = kVirtual; in artQuickResolutionTrampoline()
869 invoke_type = kVirtual; in artQuickResolutionTrampoline()
873 invoke_type = kInterface; in artQuickResolutionTrampoline()
[all …]
/art/runtime/native/
Ddalvik_system_VMRuntime.cc351 InvokeType invoke_type) in PreloadDexCachesResolveMethod() argument
363 switch (invoke_type) { in PreloadDexCachesResolveMethod()
376 LOG(FATAL) << "Unreachable - invocation type: " << invoke_type; in PreloadDexCachesResolveMethod()
531 InvokeType invoke_type = it.GetMethodInvokeType(class_def); in VMRuntime_preloadDexCaches() local
532 PreloadDexCachesResolveMethod(dex_cache, method_idx, invoke_type); in VMRuntime_preloadDexCaches()
536 InvokeType invoke_type = it.GetMethodInvokeType(class_def); in VMRuntime_preloadDexCaches() local
537 PreloadDexCachesResolveMethod(dex_cache, method_idx, invoke_type); in VMRuntime_preloadDexCaches()
/art/compiler/dex/quick/
Dquick_compiler.h42 InvokeType invoke_type,
Dquick_compiler.cc614 InvokeType invoke_type, in Compile() argument
645 cu.invoke_type = invoke_type; in Compile()
700 cu.mir_graph->InlineMethod(code_item, access_flags, invoke_type, class_def_idx, method_idx, in Compile()
Dgen_invoke.cc893 ShortyIterator shorty_iterator(cu_->shorty, cu_->invoke_type == kStatic); in EnsureInitializedArgMappingToPhysicalReg()
/art/compiler/
Dcompiler.h50 InvokeType invoke_type,
Doat_writer.cc613 InvokeType invoke_type = it.GetMethodInvokeType(dex_file_->GetClassDef(class_def_index_)); in VisitMethod() local
620 invoke_type); in VisitMethod()