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, siteiindex, 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, toStringequals, getExceptionTypes, getValueString, toStringprotected 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)
SSAInstructioncopyForSSA in class SSAInstructionpublic static void assertParamsKosher(int result,
int[] params,
CallSiteReference site)
throws IllegalArgumentException
IllegalArgumentExceptionpublic void visit(SSAInstruction.IVisitor v)
SSAInstructionvisit in class SSAInstructionIllegalArgumentException - if v is nullSSAInstruction.visit(IVisitor)public int getNumberOfUses()
getNumberOfUses in class SSAInstructionSSAInstruction.getNumberOfUses()public int getNumberOfParameters()
SSAAbstractInvokeInstructiongetNumberOfParameters in class SSAAbstractInvokeInstructionpublic int getNumberOfReturnValues()
SSAAbstractInvokeInstructiongetNumberOfReturnValues in class SSAAbstractInvokeInstructionpublic int getReturnValue(int i)
SSAAbstractInvokeInstructiongetReturnValue in class SSAAbstractInvokeInstructionpublic int getUse(int j)
getUse in class SSAInstructionSSAInstruction.getUse(int)public int hashCode()
hashCode in class SSAInstructionCopyright © 2015. All rights reserved.