public class LatestComputation
extends java.lang.Object
Constructor and Description |
---|
LatestComputation(UnitGraph unitGraph,
DelayabilityAnalysis delayed,
java.util.Map<Unit,EquivalentValue> equivRhsMap)
given a DelayabilityAnalysis and the computations of each unit,
calculates the latest computation-point for each expression.
|
LatestComputation(UnitGraph unitGraph,
DelayabilityAnalysis delayed,
java.util.Map<Unit,EquivalentValue> equivRhsMap,
BoundedFlowSet<EquivalentValue> set)
given a DelayabilityAnalysis and the computations of each unit,
calculates the latest computation-point for each expression.
the equivRhsMap could be calculated on the fly, but it is
very likely that it already exists (as similar maps are used for
calculating Earliestness, Delayed,...the shared set allows more efficient set-operations, when they the computation is merged with other analyses/computations. |
Modifier and Type | Method and Description |
---|---|
FlowSet<EquivalentValue> |
getFlowBefore(java.lang.Object node)
returns the set of expressions, that have their latest computation just
before
node . |
public LatestComputation(UnitGraph unitGraph, DelayabilityAnalysis delayed, java.util.Map<Unit,EquivalentValue> equivRhsMap)
equivRhsMap
could be calculated on the fly, but it is
very likely that it already exists (as similar maps are used for
calculating Earliestness, Delayed,...dg
- a ExceptionalUnitGraphdelayed
- the delayability-analysis of the same graph.equivRhsMap
- all computations of the graphpublic LatestComputation(UnitGraph unitGraph, DelayabilityAnalysis delayed, java.util.Map<Unit,EquivalentValue> equivRhsMap, BoundedFlowSet<EquivalentValue> set)
equivRhsMap
could be calculated on the fly, but it is
very likely that it already exists (as similar maps are used for
calculating Earliestness, Delayed,...dg
- a ExceptionalUnitGraphdelayed
- the delayability-analysis of the same graph.equivRhsMap
- all computations of the graphset
- the shared flowSetpublic FlowSet<EquivalentValue> getFlowBefore(java.lang.Object node)
node
.node
- an Object of the flow-graph (in our case always a unit).