public class ArraySubscriptMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
label1 |
protected java.lang.String |
label2 |
java.util.HashMap<ArrayRef,SubscriptPair> |
table |
protected java.lang.String |
tableName |
private int |
uniqueNum |
Constructor and Description |
---|
ArraySubscriptMap() |
Modifier and Type | Method and Description |
---|---|
void |
add(ArrayRef v1,
SubscriptPair v2) |
protected ArraySubscriptMap |
clone() |
java.util.Set<ArrayRef> |
getKeys() |
java.util.ArrayList<ArrayRefVarExpr> |
getUniqueArrayAccess() |
SubscriptPair |
lookup(ArrayRef key) |
ArrayRef |
lookupKey(ArrayRef key) |
void |
print() |
void |
remove(ArrayRef key) |
void |
setUniqueNum(int uniqueNum) |
void |
updateKeys(ArrayRef oldKey,
ArrayRef newKey) |
void |
updateValue(ArrayRef arrayRef,
SubscriptPair p) |
public final java.util.HashMap<ArrayRef,SubscriptPair> table
protected final java.lang.String tableName
protected final java.lang.String label1
protected final java.lang.String label2
private int uniqueNum
public SubscriptPair lookup(ArrayRef key)
public void add(ArrayRef v1, SubscriptPair v2)
public void remove(ArrayRef key)
public void print()
public java.util.Set<ArrayRef> getKeys()
protected ArraySubscriptMap clone()
clone
in class java.lang.Object
public void updateValue(ArrayRef arrayRef, SubscriptPair p)
public void setUniqueNum(int uniqueNum)
public java.util.ArrayList<ArrayRefVarExpr> getUniqueArrayAccess() throws StaticRegionException
StaticRegionException