public class LoopPeelingPhase extends LoopPhase<LoopPolicies>
| Modifier and Type | Class and Description |
|---|---|
static class |
LoopPeelingPhase.Options |
BasePhase.ApplyScope, BasePhase.BasePhaseStatistics, BasePhase.PhaseOptions, BasePhase.SharedGlobalPhaseState| Modifier and Type | Field and Description |
|---|---|
static CounterKey |
PEELED |
canonicalizer| Constructor and Description |
|---|
LoopPeelingPhase(LoopPolicies policies,
CanonicalizerPhase canonicalizer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canPeel(LoopEx loop)
Determine if the given loop can be peeled.
|
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. |
protected void |
run(StructuredGraph graph,
CoreProviders context) |
getPoliciesapplyScopeapply, apply, contractorName, equals, getName, hashCode, shouldDumpAfterAtBasicLevel, shouldDumpBeforeAtBasicLevelclone, getClass, notify, notifyAll, toString, wait, wait, waitcheckContractpublic static final CounterKey PEELED
public LoopPeelingPhase(LoopPolicies policies, CanonicalizerPhase canonicalizer)
public static boolean canPeel(LoopEx loop)
protected void run(StructuredGraph graph, CoreProviders context)
run in class BasePhase<CoreProviders>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 PhaseSizeContractcodeSizeIncrease in class BasePhase<CoreProviders>