|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xact.analysis.dataflow.DataflowAnalyzer<ElementType>
public class DataflowAnalyzer<ElementType>
Performs a dataflow analysis on a flow graph, given an AnalysisInterface
instance.
Constructor Summary | |
---|---|
DataflowAnalyzer(FlowGraph graph,
AnalysisInterface<ElementType> lat)
Constructs a DataflowAnalyzer for analyzing the given flow graph. |
Method Summary | |
---|---|
ElementType |
getFlowIn(Statement s)
Returns the lattice element for the flow into the given statement. |
ElementType |
getFlowOut(Statement s)
Returns the lattice element for the flow out of the given statement. |
void |
run()
Computes the least fixed point iteratively. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataflowAnalyzer(FlowGraph graph, AnalysisInterface<ElementType> lat)
DataflowAnalyzer
for analyzing the given flow graph.
Method Detail |
---|
public ElementType getFlowIn(Statement s)
public ElementType getFlowOut(Statement s)
public void run()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |