public interface InlineInfo
Modifier and Type | Method and Description |
---|---|
int |
determineNodeCount() |
StructuredGraph |
graph()
The graph containing the
invocation that may be inlined. |
Collection<Node> |
inline(Providers providers)
Performs the inlining described by this object and returns the node that represents the
return value of the inlined method (or null for void methods and methods that have no
non-exceptional exit).
|
Inlineable |
inlineableElementAt(int index) |
Invoke |
invoke()
The invocation that may be inlined.
|
ResolvedJavaMethod |
methodAt(int index) |
int |
numberOfMethods()
Returns the number of methods that may be inlined by the
invocation . |
void |
populateInlinableElements(HighTierContext context,
StructuredGraph caller,
CanonicalizerPhase canonicalizer) |
double |
probabilityAt(int index) |
double |
relevanceAt(int index) |
void |
setInlinableElement(int index,
Inlineable inlineableElement) |
boolean |
shouldInline() |
void |
tryToDevirtualizeInvoke(Providers providers)
Try to make the call static bindable to avoid interface and virtual method calls.
|
StructuredGraph graph()
invocation
that may be inlined.int numberOfMethods()
invocation
. This
may be more than one in the case of a invocation profile showing a number of "hot" concrete
methods dispatched to by the invocation.ResolvedJavaMethod methodAt(int index)
Inlineable inlineableElementAt(int index)
double probabilityAt(int index)
double relevanceAt(int index)
void setInlinableElement(int index, Inlineable inlineableElement)
Collection<Node> inline(Providers providers)
void tryToDevirtualizeInvoke(Providers providers)
boolean shouldInline()
void populateInlinableElements(HighTierContext context, StructuredGraph caller, CanonicalizerPhase canonicalizer)
int determineNodeCount()