|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.ssa.DefUse
public class DefUse
An object which represent Def-Use information for an SSA IR
| Constructor Summary | |
|---|---|
DefUse(IR ir)
keep this package private: all calls should be through SSACache |
|
| Method Summary | |
|---|---|
SSAInstruction |
getDef(int v)
|
IR |
getIR()
Return the actual, honest-to-goodness IR object used to compute the DefUse information. |
int |
getNumberOfUses(int v)
|
java.util.Iterator<SSAInstruction> |
getUses(int v)
Return all uses of the variable with the given value number |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefUse(IR ir)
ir - an IR in SSA form.
java.lang.IllegalArgumentException - if ir is null| Method Detail |
|---|
public SSAInstruction getDef(int v)
public java.util.Iterator<SSAInstruction> getUses(int v)
v - value numberpublic int getNumberOfUses(int v)
v - a value number
public IR getIR()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||