public class PeepholeOptimizer extends BodyTransformer
Peephole,
ExamplePeephole| Constructor and Description |
|---|
PeepholeOptimizer(Singletons.Global g) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalTransform(Body body,
java.lang.String phaseName,
java.util.Map<java.lang.String,java.lang.String> options)
The method that drives the optimizations.
|
static PeepholeOptimizer |
v() |
transform, transform, transformpublic static PeepholeOptimizer v()
protected void internalTransform(Body body, java.lang.String phaseName, java.util.Map<java.lang.String,java.lang.String> options)
internalTransform in class BodyTransformerbody - the body on which to apply the transformationphaseName - the phasename for this transform; not typically used by implementations.options - the actual computed options; a combination of default options and Scene specified options.