public abstract class SSAAbstractUnaryInstruction extends SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
Modifier and Type | Field and Description |
---|---|
protected int |
result |
protected int |
val |
iindex, NO_INDEX
Modifier | Constructor and Description |
---|---|
protected |
SSAAbstractUnaryInstruction(int iindex,
int result,
int val) |
Modifier and Type | Method and Description |
---|---|
int |
getDef() |
int |
getDef(int i)
Return the ith def
|
int |
getNumberOfDefs() |
int |
getNumberOfUses() |
int |
getUse(int j) |
boolean |
hasDef()
Does this instruction define a normal value, as distinct from a set of exceptions possibly thrown by it (e.g.
|
int |
hashCode() |
boolean |
isFallThrough() |
copyForSSA, equals, getExceptionTypes, getValueString, isPEI, toString, toString, visit
protected SSAAbstractUnaryInstruction(int iindex, int result, int val)
public boolean hasDef()
SSAInstruction
hasDef
in class SSAInstruction
SSAInstruction.getDef()
public int getDef()
getDef
in class SSAInstruction
public int getDef(int i)
SSAInstruction
getDef
in class SSAInstruction
i
- number of the def, starting at 0.public int getNumberOfDefs()
getNumberOfDefs
in class SSAInstruction
SSAInstruction.getNumberOfUses()
public int getNumberOfUses()
getNumberOfUses
in class SSAInstruction
public int getUse(int j)
getUse
in class SSAInstruction
SSAInstruction.getUse(int)
public int hashCode()
hashCode
in class SSAInstruction
public boolean isFallThrough()
isFallThrough
in class SSAInstruction