public class FlowSensitiveConstantPropagator extends BodyTransformer
a = 2; b = a; a = b;
as well as
if (x) { a = 2; } else { a = 2; } b = a;BodyTransformer,
LocalPacker,
Body| Modifier and Type | Class and Description |
|---|---|
protected class |
FlowSensitiveConstantPropagator.BetterConstantPropagator |
protected static class |
FlowSensitiveConstantPropagator.ConstantState |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
omitExceptingUnitEdges |
protected ThrowAnalysis |
throwAnalysis |
| Constructor and Description |
|---|
FlowSensitiveConstantPropagator(Singletons.Global g) |
FlowSensitiveConstantPropagator(ThrowAnalysis ta) |
FlowSensitiveConstantPropagator(ThrowAnalysis ta,
boolean omitExceptingUnitEdges) |
| Modifier and Type | Method and Description |
|---|---|
protected FlowSensitiveConstantPropagator.BetterConstantPropagator |
createBetterConstantPropagator(ExceptionalUnitGraph graph) |
protected void |
internalTransform(Body body,
String phaseName,
Map<String,String> options)
This method is called to perform the transformation itself.
|
static FlowSensitiveConstantPropagator |
v() |
transform, transform, transformprotected ThrowAnalysis throwAnalysis
protected boolean omitExceptingUnitEdges
public FlowSensitiveConstantPropagator(Singletons.Global g)
public FlowSensitiveConstantPropagator(ThrowAnalysis ta)
public FlowSensitiveConstantPropagator(ThrowAnalysis ta, boolean omitExceptingUnitEdges)
public static FlowSensitiveConstantPropagator v()
protected void internalTransform(Body body, String phaseName, Map<String,String> options)
BodyTransformerinternalTransform 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.protected FlowSensitiveConstantPropagator.BetterConstantPropagator createBetterConstantPropagator(ExceptionalUnitGraph graph)
Copyright © 2024 Soot OSS. All rights reserved.