|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.simd.LirDefUseRel
Class for a def-use relation
| Constructor Summary | |
LirDefUseRel()
Constructs an LirDefUseRel object |
|
| Method Summary | |
void |
add(LirNode e1,
LirNode e2)
Adds elements to a def-use table |
void |
build(java.util.Vector lirs)
Builds a def-use relation from L-expressions |
void |
decompose(LirNode e)
Decomposes a LirNode and adds to defTable, useTable |
java.util.Vector |
getChildren(LirNode e)
Retrieves a L-expression related to given L-expression in def-userelation |
java.util.Vector |
getDefLirs(LirNode e)
Retrieves L-expressions related to a given L-expression in defTable |
java.util.Vector |
getParents(LirNode e)
Retrieves a L-expression related to given L-expression in use-def relation |
Relation |
getRelation()
Returns a def-use relation |
void |
getRoots(java.util.List ls)
Retrieves L-expressions which is not related to any L-expression in def-use relation |
java.util.Vector |
getUseLirs(LirNode e)
Retrieves L-expressions related to a given L-expression in useTable |
void |
mkDefUseRel(java.util.Vector lirs)
Makes a def-use relation from L-expressions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LirDefUseRel()
| Method Detail |
public void mkDefUseRel(java.util.Vector lirs)
throws SimdOptException
lirs - Vector
SimdOptExceptionpublic Relation getRelation()
public void add(LirNode e1,
LirNode e2)
throws SimdOptException
e1 - LirNodee2 - LirNode
SimdOptException
public void decompose(LirNode e)
throws SimdOptException
e - LirNode
SimdOptException
public void build(java.util.Vector lirs)
throws SimdOptException
lirs - Vector
SimdOptExceptionpublic java.util.Vector getDefLirs(LirNode e)
e - LirNode
public java.util.Vector getUseLirs(LirNode e)
e - LirNode
public java.util.Vector getParents(LirNode e)
e - LirNode
public java.util.Vector getChildren(LirNode e)
e - LirNode
public void getRoots(java.util.List ls)
ls - List
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||