public abstract class SSAAbstractBinaryInstruction extends SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
Modifier and Type | Field and Description |
---|---|
protected int |
result |
protected int |
val1 |
protected int |
val2 |
iindex, NO_INDEX
Constructor and Description |
---|
SSAAbstractBinaryInstruction(int iindex,
int result,
int val1,
int val2) |
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() |
copyForSSA, equals, getExceptionTypes, getValueString, isFallThrough, isPEI, toString, toString, visit
protected final int result
protected final int val1
protected final int val2
public SSAAbstractBinaryInstruction(int iindex, int result, int val1, int val2)
public boolean hasDef()
SSAInstruction
hasDef
in class SSAInstruction
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