public abstract class Variable extends Operand implements Comparable
EMPTY_ARRAY| Constructor and Description |
|---|
Variable(OperandType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
boolean |
canCopyPropagate()
Can we replace every use of a variable 'v' that contains the value of this operand
with the operand itself? This takes importance when there are at least two uses
of 'v' within this scope.
|
abstract Variable |
clone(SimpleCloneInfo ii) |
Operand |
cloneForInlining(CloneInfo ii) |
abstract String |
getName() |
Operand |
getSimplifiedOperand(Map<Operand,Operand> valueMap,
boolean force) |
Operand |
getValue(Map<Operand,Operand> valueMap) |
boolean |
isSelf() |
encode, getOperandType, hasKnownValue, retrieve, visitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTopublic Variable(OperandType type)
public abstract String getName()
public boolean canCopyPropagate()
OperandcanCopyPropagate in class Operandpublic Operand getSimplifiedOperand(Map<Operand,Operand> valueMap, boolean force)
getSimplifiedOperand in class Operandpublic boolean isSelf()
public void addUsedVariables(List<Variable> l)
addUsedVariables in class Operandpublic abstract Variable clone(SimpleCloneInfo ii)
public Operand cloneForInlining(CloneInfo ii)
cloneForInlining in class OperandCopyright © 2001-2015 JRuby. All Rights Reserved.