|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.ssa.SSAInstruction
public abstract class SSAInstruction
An instruction in SSA form.
| Nested Class Summary | |
|---|---|
static interface |
SSAInstruction.IVisitor
This interface is used by Instruction.visit to dispatch based on the instruction type. |
static class |
SSAInstruction.Visitor
A base visitor implementation that does nothing. |
| Constructor Summary | |
|---|---|
protected |
SSAInstruction()
prevent instantiation by the outside |
| Method Summary | |
|---|---|
abstract SSAInstruction |
copyForSSA(int[] defs,
int[] uses)
This method is meant to be used during SSA conversion for an IR that is not in SSA form. |
boolean |
equals(java.lang.Object obj)
We assume these instructions are canonical and managed by a governing IR object. |
int |
getDef()
|
int |
getDef(int i)
|
abstract java.util.Collection<TypeReference> |
getExceptionTypes()
|
int |
getNumberOfDefs()
|
int |
getNumberOfUses()
Method getNumberOfUses. |
int |
getUse(int j)
Method getUse. |
protected java.lang.String |
getValueString(SymbolTable symbolTable,
ValueDecorator d,
int valueNumber)
|
boolean |
hasDef()
Does this instruction define a normal value, as distinct from a set of exceptions possibly thrown by it (e.g. |
abstract int |
hashCode()
|
abstract boolean |
isFallThrough()
|
boolean |
isPEI()
PEI == "Potentially excepting instruction" |
java.lang.String |
toString()
|
abstract java.lang.String |
toString(SymbolTable symbolTable,
ValueDecorator d)
Method toString. |
abstract void |
visit(SSAInstruction.IVisitor v)
Apply an IVisitor to this instruction. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected SSAInstruction()
| Method Detail |
|---|
public abstract SSAInstruction copyForSSA(int[] defs,
int[] uses)
SSAConversion
public abstract java.lang.String toString(SymbolTable symbolTable,
ValueDecorator d)
symbolTable -
public java.lang.String toString()
toString in class java.lang.Object
protected java.lang.String getValueString(SymbolTable symbolTable,
ValueDecorator d,
int valueNumber)
public abstract void visit(SSAInstruction.IVisitor v)
public boolean hasDef()
public int getDef()
public int getDef(int i)
public int getNumberOfDefs()
public int getNumberOfUses()
public int getUse(int j)
throws java.lang.UnsupportedOperationException
j -
java.lang.UnsupportedOperationExceptionpublic abstract int hashCode()
hashCode in class java.lang.Objectpublic boolean isPEI()
IInstruction
isPEI in interface IInstructionpublic abstract java.util.Collection<TypeReference> getExceptionTypes()
public abstract boolean isFallThrough()
public final boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||