|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Analysis.SESE
public class SESE
SESE
computes nested single-entry single-exit regions
from a cycle-equivalency set.
See Johnson, Pearson, and Pingali, "Finding regions fast: Single entry single exit and control regions in linear time" (Technical Report TR 93-1365, Cornell University, July 1993). Their PLDI'94 paper "The program structure tree: Computing control regions in linear time" might also provide a useful reference.
Nested Class Summary | |
---|---|
static class |
SESE.Region
SESE.Region represents a single-entry single-exit
(SESE) Region, as computed by the SESE object. |
Field Summary | |
---|---|
Map |
smallestSESE
Mapping from Nodes/Edges to smallest enclosing canonical SESE Region . |
SESE.Region |
topLevel
Root of Region tree. |
Constructor Summary | |
---|---|
SESE(HCode hc)
Creates a SESE using a CycleEq . |
Method Summary | |
---|---|
Iterator |
depthFirst()
Iterate through SESE regions, depth-first. |
void |
print(PrintWriter pw)
|
Iterator |
topDown()
Iterate through SESE regions, top-down. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final SESE.Region topLevel
Region
tree.
public final Map smallestSESE
Region
.
Constructor Detail |
---|
public SESE(HCode hc)
SESE
using a CycleEq
.
Method Detail |
---|
public Iterator topDown()
public Iterator depthFirst()
public void print(PrintWriter pw)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |