| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addUsedVariables(List<Variable> l)
Implements abstract org. Append the list of variables used in this operand to the input list |
| public boolean | canCopyPropagate()
Overrides org. Can we replace every use of a variable 'v' that contains the value of this operand with the operand itself? |
| public abstract Variable | |
| public Operand | |
| public abstract String | |
| public Operand | getSimplifiedOperand(Map<Operand, Operand> valueMap, boolean force)
Overrides org.
|
| public Operand | |
| public boolean |
| Variable | back to summary |
|---|---|
| public Variable() | |
| addUsedVariables | back to summary |
|---|---|
| public void addUsedVariables(List<Variable> l) Implements abstract org. Append the list of variables used in this operand to the input list
| |
| canCopyPropagate | back to summary |
|---|---|
| public boolean canCopyPropagate() Overrides org. Doc from org. 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. Ex: v = [1,2,3]; x = v; y = v In this case, we cannot replace the occurrences of 'v' because we would then get x = [1,2,3]; y = [1,2,3] which would then result in two different array objects being constructed instead of a single one.
| |
| clone | back to summary |
|---|---|
| public abstract Variable clone(SimpleCloneInfo ii) | |
| cloneForInlining | back to summary |
|---|---|
| public Operand cloneForInlining(CloneInfo ii) Implements abstract org.
| |
| getId | back to summary |
|---|---|
| public abstract String getId() | |
| getSimplifiedOperand | back to summary |
|---|---|
| public Operand getSimplifiedOperand(Map<Operand, Operand> valueMap, boolean force) Overrides org.
| |
| getValue | back to summary |
|---|---|
| public Operand getValue(Map<Operand, Operand> valueMap) Overrides org.
| |
| isSelf | back to summary |
|---|---|
| public boolean isSelf() | |