|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectdk.brics.string.intermediate.operations.AliasInfo
public class AliasInfo
Alias and corruption information for a specific program point.
| Method Summary | |
|---|---|
boolean |
definitelyAliases(Variable a,
Variable b)
Returns whether the two variables are the same, or are definitely aliases. |
Set<Variable> |
getAliasesForExclusive(Variable v,
boolean onlyDefinite)
Returns a set variables containing all possible aliases of the specified variable, optionally including only definite aliases. |
Set<Variable> |
getAliasesForInclusive(Variable v,
boolean onlyDefinite)
Returns a set variables containing all possible aliases of the specified variable, optionally including only definite aliases. |
AliasStatus |
getAliasStatus(UnorderedPair<Variable> pair)
Returns the aliasing relation between two variables at this program point. |
AliasStatus |
getAliasStatus(Variable a,
Variable b)
Returns the aliasing relation between two variables at this program point. |
boolean |
isAnyCorrupt(Collection<? extends Variable> variables)
Returns whether at least one of the specified variables are corrupt. |
boolean |
isCorrupt(Variable v)
Returns whether or not the given variable is corrupt. |
boolean |
mightBeAliases(Variable a,
Variable b)
Returns whether the two variables are the same, or might be aliases. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean definitelyAliases(Variable a,
Variable b)
public Set<Variable> getAliasesForExclusive(Variable v,
boolean onlyDefinite)
v - the variable to get aliases foronlyDefinite - if true, only definite aliases of v are included (except v itself).
public Set<Variable> getAliasesForInclusive(Variable v,
boolean onlyDefinite)
v - the variable to get aliases foronlyDefinite - if true, only definite aliases of v are included (this also includes v itself).
public AliasStatus getAliasStatus(UnorderedPair<Variable> pair)
pair - a pair of live variables
AliasStatus, never null.
public AliasStatus getAliasStatus(Variable a,
Variable b)
a - a live variableb - a live variable
AliasStatus, never null.public boolean isAnyCorrupt(Collection<? extends Variable> variables)
public boolean isCorrupt(Variable v)
public boolean mightBeAliases(Variable a,
Variable b)
getAliasesForInclusive(Variable, boolean), because this returns true
if the two variables are the same.
public String toString()
toString in class Object
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||