public abstract class Variable extends Operand implements java.lang.Comparable
EMPTY_ARRAY
Constructor and Description |
---|
Variable() |
Modifier and Type | Method and Description |
---|---|
void |
addUsedVariables(java.util.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 java.lang.String |
getId() |
Operand |
getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap,
boolean force) |
Operand |
getValue(java.util.Map<Operand,Operand> valueMap) |
boolean |
isSelf() |
encode, getOperandType, hasKnownValue, isFalseyImmediate, isTruthyImmediate, retrieve, visit
public abstract java.lang.String getId()
public boolean canCopyPropagate()
Operand
canCopyPropagate
in class Operand
public Operand getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap, boolean force)
getSimplifiedOperand
in class Operand
public boolean isSelf()
public void addUsedVariables(java.util.List<Variable> l)
addUsedVariables
in class Operand
public abstract Variable clone(SimpleCloneInfo ii)
public Operand cloneForInlining(CloneInfo ii)
cloneForInlining
in class Operand
Copyright © 2001-2022 JRuby. All Rights Reserved.