public final class ConstantLoadOptimization extends PreAllocationOptimizationPhase
Modifier and Type | Class and Description |
---|---|
private static class |
ConstantLoadOptimization.Optimization |
static class |
ConstantLoadOptimization.Options |
PreAllocationOptimizationPhase.PreAllocationOptimizationContext
Modifier and Type | Field and Description |
---|---|
private static DebugMetric |
constantsOptimized |
private static DebugMetric |
constantsTotal |
private static DebugMetric |
materializeAtDefinitionSkipped |
private static DebugMetric |
phiConstantsSkipped |
private static DebugMetric |
singleUsageConstantsSkipped |
private static DebugMetric |
usageAtDefinitionSkipped |
Constructor and Description |
---|
ConstantLoadOptimization() |
Modifier and Type | Method and Description |
---|---|
protected <B extends AbstractBlockBase<B>> |
run(TargetDescription target,
LIRGenerationResult lirGenRes,
List<B> codeEmittingOrder,
List<B> linearScanOrder,
LIRGeneratorTool lirGen) |
run
apply, apply, createName, getName
private static final DebugMetric constantsTotal
private static final DebugMetric phiConstantsSkipped
private static final DebugMetric singleUsageConstantsSkipped
private static final DebugMetric usageAtDefinitionSkipped
private static final DebugMetric materializeAtDefinitionSkipped
private static final DebugMetric constantsOptimized
public ConstantLoadOptimization()
protected <B extends AbstractBlockBase<B>> void run(TargetDescription target, LIRGenerationResult lirGenRes, List<B> codeEmittingOrder, List<B> linearScanOrder, LIRGeneratorTool lirGen)
run
in class PreAllocationOptimizationPhase