|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.dataflow.IFDS.LocalPathEdges
public class LocalPathEdges
A set of path edges for a particular procedure entry s_p.
| Constructor Summary | |
|---|---|
LocalPathEdges(boolean fastMerge)
|
|
| Method Summary | |
|---|---|
void |
addPathEdge(int i,
int n,
int j)
Record that in this procedure we've discovered a same-level realizable path from (s_p,d_i) to (n,d_j) |
boolean |
contains(int i,
int n,
int j)
|
IntSet |
getInverse(int n,
int d2)
N.B: If we're using the ZERO_PATH_SHORT_CIRCUIT, then we may have |
IntSet |
getReachable(int n)
TODO: optimize this based on altPaths |
IntSet |
getReachable(int n,
int d1)
|
IntSet |
getReachedNodeNumbers()
TODO: optimize this |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalPathEdges(boolean fastMerge)
fastMerge - if true, the representation uses extra space in order to support faster merge operations| Method Detail |
|---|
public void addPathEdge(int i,
int n,
int j)
i - n - local block number of the basic block nj -
public IntSet getInverse(int n,
int d2)
n - local block number of a basic block nd2 -
public boolean contains(int i,
int n,
int j)
i - n - local block number of a basic block nj -
public IntSet getReachable(int n,
int d1)
n -
public IntSet getReachable(int n)
n - the local block number of a node
public IntSet getReachedNodeNumbers()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||