|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.ssa.SSAInstruction
com.ibm.wala.ssa.SSAAddressOfInstruction
public class SSAAddressOfInstruction
An SSAAddressOfInstruction represents storing the address of some "source" level entity (@see SSAIndirectionData.Name) into an SSA
value number.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.ibm.wala.ssa.SSAInstruction |
|---|
SSAInstruction.IVisitor, SSAInstruction.Visitor |
| Constructor Summary | |
|---|---|
SSAAddressOfInstruction(int lval,
int basePointer,
FieldReference field,
TypeReference pointeeType)
Use this constructor when taking the address of a field in an object. |
|
SSAAddressOfInstruction(int lval,
int basePointer,
int indexVal,
TypeReference pointeeType)
Use this constructor when taking the address of an array element. |
|
SSAAddressOfInstruction(int lval,
int local,
TypeReference pointeeType)
Use this constructor when taking the address of a local variable. |
|
| Method Summary | |
|---|---|
SSAInstruction |
copyForSSA(SSAInstructionFactory insts,
int[] defs,
int[] uses)
This method is meant to be used during SSA conversion for an IR that is not in SSA form. |
int |
getDef()
|
int |
getDef(int i)
Return the ith def |
int |
getNumberOfDefs()
|
int |
getNumberOfUses()
|
TypeReference |
getType()
|
int |
getUse(int i)
|
int |
hashCode()
|
boolean |
isFallThrough()
|
java.lang.String |
toString(SymbolTable symbolTable)
|
void |
visit(SSAInstruction.IVisitor v)
Apply an IVisitor to this instruction. |
| Methods inherited from class com.ibm.wala.ssa.SSAInstruction |
|---|
equals, getExceptionTypes, getValueString, hasDef, isPEI, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SSAAddressOfInstruction(int lval,
int local,
TypeReference pointeeType)
public SSAAddressOfInstruction(int lval,
int basePointer,
int indexVal,
TypeReference pointeeType)
public SSAAddressOfInstruction(int lval,
int basePointer,
FieldReference field,
TypeReference pointeeType)
| Method Detail |
|---|
public TypeReference getType()
public SSAInstruction copyForSSA(SSAInstructionFactory insts,
int[] defs,
int[] uses)
SSAInstruction
copyForSSA in class SSAInstructionpublic int hashCode()
hashCode in class SSAInstructionpublic boolean isFallThrough()
isFallThrough in class SSAInstructionpublic java.lang.String toString(SymbolTable symbolTable)
toString in class SSAInstructionpublic void visit(SSAInstruction.IVisitor v)
SSAInstruction
visit in class SSAInstructionpublic int getNumberOfDefs()
getNumberOfDefs in class SSAInstructionpublic int getDef(int i)
SSAInstruction
getDef in class SSAInstructioni - number of the def, starting at 0.public int getDef()
getDef in class SSAInstructionpublic int getNumberOfUses()
getNumberOfUses in class SSAInstructionpublic int getUse(int i)
getUse in class SSAInstruction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||