public class AnnotatedLSTGraph extends LSTGraph
LSTGraph so that it comprises
AnnotatedLSTNodes which have extra information in them.LSTGraph,
AnnotatedLSTNode| Modifier and Type | Field and Description |
|---|---|
private static boolean |
DEBUG
Debug messages?
|
_firstNode, _lastNode, backwardTopSorted, forwardTopSorted, numberOfNodes| Constructor and Description |
|---|
AnnotatedLSTGraph(IR ir,
LSTGraph graph)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
perform(IR ir)
The main entry point
|
private static void |
report(String message)
Debug helper
|
getLoop, getLoopNestDepth, getRoot, inInnermostLoop, isLoopExit, toStringaddGraphEdge, addGraphEdge, addGraphNode, addRootNode, addTopSortNode, allocateNodeNumber, buildRevTopSort, buildTopSort, clearDFS, compactNodeNumbering, enumerateNodes, firstNode, initTopSort, isTopSorted, lastNode, numberOfNodes, printDepthFirst, removeGraphNode, resetTopSorted, rootNodes, setFirstNode, setLastNode, setNumberOfNodes, setTopSorted, startNode, topSort, topSortOrderprivate static final boolean DEBUG
public AnnotatedLSTGraph(IR ir, LSTGraph graph)
ir - The containing IRgraph - The LSTGraph to convert into an annotated graph