public class FastAvailableExpressions extends Object implements AvailableExpressions
Modifier and Type | Field and Description |
---|---|
protected Map<Unit,Chain<EquivalentValue>> |
unitToEquivsAfter |
protected Map<Unit,Chain<EquivalentValue>> |
unitToEquivsBefore |
protected Map<Unit,List<UnitValueBoxPair>> |
unitToPairsAfter |
protected Map<Unit,List<UnitValueBoxPair>> |
unitToPairsBefore |
Constructor and Description |
---|
FastAvailableExpressions(Body b,
SideEffectTester st)
Wrapper for AvailableExpressionsAnalysis.
|
Modifier and Type | Method and Description |
---|---|
Chain<EquivalentValue> |
getAvailableEquivsAfter(Unit u)
Returns a List containing the UnitValueBox pairs corresponding to expressions available after u.
|
Chain<EquivalentValue> |
getAvailableEquivsBefore(Unit u)
Returns a Chain containing the EquivalentValue objects corresponding to expressions available before u.
|
List<UnitValueBoxPair> |
getAvailablePairsAfter(Unit u)
Returns a List containing the EquivalentValue corresponding to expressions available after u.
|
List<UnitValueBoxPair> |
getAvailablePairsBefore(Unit u)
Returns a List containing the UnitValueBox pairs corresponding to expressions available before u.
|
protected final Map<Unit,List<UnitValueBoxPair>> unitToPairsAfter
protected final Map<Unit,List<UnitValueBoxPair>> unitToPairsBefore
protected final Map<Unit,Chain<EquivalentValue>> unitToEquivsAfter
protected final Map<Unit,Chain<EquivalentValue>> unitToEquivsBefore
public FastAvailableExpressions(Body b, SideEffectTester st)
public List<UnitValueBoxPair> getAvailablePairsBefore(Unit u)
getAvailablePairsBefore
in interface AvailableExpressions
public Chain<EquivalentValue> getAvailableEquivsBefore(Unit u)
getAvailableEquivsBefore
in interface AvailableExpressions
public List<UnitValueBoxPair> getAvailablePairsAfter(Unit u)
getAvailablePairsAfter
in interface AvailableExpressions
public Chain<EquivalentValue> getAvailableEquivsAfter(Unit u)
getAvailableEquivsAfter
in interface AvailableExpressions
Copyright © 2021 Soot OSS. All rights reserved.