public class InliningPhase extends AbstractInliningPhase
Modifier and Type | Class and Description |
---|---|
static class |
InliningPhase.Options |
BasePhase.ApplyScope, BasePhase.BasePhaseStatistics, BasePhase.NotApplicable, BasePhase.PhaseOptions, BasePhase.SharedGlobalPhaseState
ALWAYS_APPLICABLE
Constructor and Description |
---|
InliningPhase(InliningPolicy policy,
CanonicalizerPhase canonicalizer) |
InliningPhase(InliningPolicy policy,
CanonicalizerPhase canonicalizer,
LinkedList<Invoke> rootInvokes) |
Modifier and Type | Method and Description |
---|---|
float |
codeSizeIncrease()
Returns a factor
>=1 that determines what the final code size in terms of the sum of
the node code sizes NodeSize of all nodes is. |
CanonicalizerPhase |
getCanonicalizer() |
protected void |
run(StructuredGraph graph,
HighTierContext context)
This method sets in motion the inlining machinery.
|
canApply
apply, apply, applyScope, contractorName, equals, getName, hashCode, mustApply, shouldDumpAfterAtBasicLevel, shouldDumpBeforeAtBasicLevel, updateGraphState
clone, getClass, notify, notifyAll, toString, wait, wait, wait
checkContract
public InliningPhase(InliningPolicy policy, CanonicalizerPhase canonicalizer)
public InliningPhase(InliningPolicy policy, CanonicalizerPhase canonicalizer, LinkedList<Invoke> rootInvokes)
public CanonicalizerPhase getCanonicalizer()
public float codeSizeIncrease()
PhaseSizeContract
>=1
that determines what the final code size in terms of the sum of
the node code sizes NodeSize
of all nodes is.codeSizeIncrease
in interface PhaseSizeContract
codeSizeIncrease
in class BasePhase<HighTierContext>
protected void run(StructuredGraph graph, HighTierContext context)
run
in class BasePhase<HighTierContext>
InliningData
,
InliningData.moveForward()