|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
public interface AnalysisInterface<ElementType>
Lattice and transfer functions for a dataflow analysis.
| Method Summary | |
|---|---|
Collection<Statement> |
getInitial(FlowGraph g)
Returns the set of statements to start the analysis at. |
boolean |
isForward()
Returns true if this is a forwards analysis, and false if it is a backwards analysis. |
boolean |
merge(ElementType source,
VariableFilter filter,
ElementType dest)
Computes the least upper bound of two lattice elements. |
ElementType |
newBottomElement()
Constructs a new lattice bottom element. |
boolean |
transfer(ElementType in,
Statement s,
ElementType out)
Computes the lattice element resulting from flowing through the given statement. |
| Method Detail |
|---|
Collection<Statement> getInitial(FlowGraph g)
g - the flow graph about to be analyzed
boolean isForward()
boolean merge(ElementType source,
VariableFilter filter,
ElementType dest)
source - the first elementfilter - the filter to merge throughdest - the second element and destination for the result
true if the new value of dest is changedElementType newBottomElement()
boolean transfer(ElementType in,
Statement s,
ElementType out)
in - the flow before the statementout - destination for the result
true if the new value of out is changed
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||