From 1558048c31b90ff5b3baf611d4dd70c1a003adfb Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Tue, 12 Oct 2021 13:11:29 +0100 Subject: Add stats for last step inlining of invokes Add kInlinedLastInvoke(VirtualOrInterface) which counts the amount of invokes we inlined on the parent-most method. This is useful to know since it is the invoke that matters the most. The other inlinings are about recursive inlinings but those will not get into the graph if the last invoke fails to be inlined. Change-Id: I4d293864033c950477f50149fd0318c501dcfb6f --- compiler/optimizing/optimizing_compiler_stats.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/optimizing/optimizing_compiler_stats.h') diff --git a/compiler/optimizing/optimizing_compiler_stats.h b/compiler/optimizing/optimizing_compiler_stats.h index 24d01539df..58d65bb97d 100644 --- a/compiler/optimizing/optimizing_compiler_stats.h +++ b/compiler/optimizing/optimizing_compiler_stats.h @@ -37,6 +37,7 @@ enum class MethodCompilationStat { kCompiledBytecode, kCHAInline, kInlinedInvoke, + kInlinedLastInvoke, kReplacedInvokeWithSimplePattern, kInstructionSimplifications, kInstructionSimplificationsArch, @@ -73,6 +74,7 @@ enum class MethodCompilationStat { kSelectGenerated, kRemovedInstanceOf, kInlinedInvokeVirtualOrInterface, + kInlinedLastInvokeVirtualOrInterface, kImplicitNullCheckGenerated, kExplicitNullCheckGenerated, kSimplifyIf, -- cgit v1.2.3-59-g8ed1b