| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Instr | clone(CloneInfo
This object manages renaming of variables and labels, handles
args and return values. ii)Implements abstract org. Clone the instruction for use in an inlining context (either when a scope is inlined into another scope, or when a block has to be cloned because its associated call belongs to an inlined scope). |
| public static CopyInstr | |
| public Operand | |
| public Operand | simplifyOperands(IRScope
where this instr exists scope, Map<Operand, Operand> Mapping from operands to their simplified values valueMap)Overrides org. This method takes as input a map of operands to their values, and outputs the result of this instruction. |
| public void |
| CopyInstr | back to summary |
|---|---|
| public CopyInstr(Operation op, Variable result, Operand source) | |
| CopyInstr | back to summary |
|---|---|
| public CopyInstr(Variable result, Operand source) | |
| clone | back to summary |
|---|---|
| public Instr clone(CloneInfo ii) Implements abstract org. Doc from org. Clone the instruction for use in an inlining context (either when a scope is inlined into another scope, or when a block has to be cloned because its associated call belongs to an inlined scope). This might renaming variables and labels to eliminate naming conflicts. The implementation might vary on the cloning mode. | |
| decode | back to summary |
|---|---|
| public static CopyInstr decode(IRReaderDecoder d) | |
| getSource | back to summary |
|---|---|
| public Operand getSource() | |
| simplifyOperands | back to summary |
|---|---|
| public Operand simplifyOperands(IRScope scope, Map<Operand, Operand> valueMap) Overrides org. Doc from org. This method takes as input a map of operands to their values, and outputs the result of this instruction. If the value map provides a value for any of the instruction's operands the expectation is that the operand will be replaced with the simplified value. It is not required that it do so -- code correctness is not compromised by failure to simplify. | |
| visit | back to summary |
|---|---|
| public void visit(IRVisitor visitor) Overrides org.
| |