static class IndexPropagationSystem.UpdateUseArrayOperator extends DF_Operator
Given two value numbers v1, v2, this function updates a heap variable lattice cell to indicate that element at array v1 index v2 is available, and doesn't kill any available indices
Modifier and Type | Field and Description |
---|---|
private ValueNumberPair |
v
The value number pair used in the dataflow equation.
|
Constructor and Description |
---|
UpdateUseArrayOperator(int v1,
int v2)
Create an operator with a given value number pair
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(DF_LatticeCell[] operands)
Evaluate the dataflow equation with this operator.
|
String |
toString() |
private final ValueNumberPair v
UpdateUseArrayOperator(int v1, int v2)
v1
- first value number in the pairv2
- second value number in the pairpublic boolean evaluate(DF_LatticeCell[] operands)
evaluate
in class DF_Operator
operands
- operands in the dataflow equation