public abstract class SSAInvokeInstruction extends SSAAbstractInvokeInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
Modifier and Type | Field and Description |
---|---|
protected int[] |
params
The value numbers of the arguments passed to the call.
|
protected int |
result |
exception, site
iindex, NO_INDEX
Modifier | Constructor and Description |
---|---|
protected |
SSAInvokeInstruction(int iindex,
int[] params,
int exception,
CallSiteReference site)
Constructor InvokeInstruction.
|
protected |
SSAInvokeInstruction(int iindex,
int result,
int[] params,
int exception,
CallSiteReference site) |
Modifier and Type | Method and Description |
---|---|
static void |
assertParamsKosher(int result,
int[] params,
CallSiteReference site) |
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 |
getNumberOfParameters()
How many parameters does this call specify?
|
int |
getNumberOfReturnValues()
How many distinct values does this call return?
|
int |
getNumberOfUses() |
int |
getReturnValue(int i)
What is the the value number of the ith value returned by this call
|
int |
getUse(int j) |
int |
hashCode() |
void |
visit(SSAInstruction.IVisitor v)
Apply an IVisitor to this instruction.
|
getCallSite, getDeclaredResultType, getDeclaredTarget, getDef, getDef, getException, getInvocationCode, getNumberOfDefs, getProgramCounter, getReceiver, hasDef, isDispatch, isFallThrough, isPEI, isSpecial, isStatic, toString
equals, getExceptionTypes, getValueString, toString
protected final int result
protected final int[] params
protected SSAInvokeInstruction(int iindex, int result, int[] params, int exception, CallSiteReference site)
protected SSAInvokeInstruction(int iindex, int[] params, int exception, CallSiteReference site)
public SSAInstruction copyForSSA(SSAInstructionFactory insts, int[] defs, int[] uses)
SSAInstruction
copyForSSA
in class SSAInstruction
public static void assertParamsKosher(int result, int[] params, CallSiteReference site) throws IllegalArgumentException
IllegalArgumentException
public void visit(SSAInstruction.IVisitor v)
SSAInstruction
visit
in class SSAInstruction
IllegalArgumentException
- if v is nullSSAInstruction.visit(IVisitor)
public int getNumberOfUses()
getNumberOfUses
in class SSAInstruction
SSAInstruction.getNumberOfUses()
public int getNumberOfParameters()
SSAAbstractInvokeInstruction
getNumberOfParameters
in class SSAAbstractInvokeInstruction
public int getNumberOfReturnValues()
SSAAbstractInvokeInstruction
getNumberOfReturnValues
in class SSAAbstractInvokeInstruction
public int getReturnValue(int i)
SSAAbstractInvokeInstruction
getReturnValue
in class SSAAbstractInvokeInstruction
public int getUse(int j)
getUse
in class SSAInstruction
SSAInstruction.getUse(int)
public int hashCode()
hashCode
in class SSAInstruction