public abstract class Variable extends Operand implements Comparable
EMPTY_ARRAY
Constructor and Description |
---|
Variable() |
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, visit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo
public abstract String getName()
public boolean canCopyPropagate()
Operand
canCopyPropagate
in class Operand
public Operand getSimplifiedOperand(Map<Operand,Operand> valueMap, boolean force)
getSimplifiedOperand
in class Operand
public boolean isSelf()
public void addUsedVariables(List<Variable> l)
addUsedVariables
in class Operand
public abstract Variable clone(SimpleCloneInfo ii)
public Operand cloneForInlining(CloneInfo ii)
cloneForInlining
in class Operand
Copyright © 2001-2015 JRuby. All Rights Reserved.