| |
|
| java.lang.Object EDU.purdue.cs.bloat.tree.Node EDU.purdue.cs.bloat.tree.Expr EDU.purdue.cs.bloat.tree.DefExpr
All known Subclasses: EDU.purdue.cs.bloat.tree.MemExpr,
DefExpr | abstract public class DefExpr extends Expr (Code) | | An expression in which a definition occurs. Each instance has a unique
version number associated with it.
|
Constructor Summary | |
public | DefExpr(Type type) Constructor. |
Method Summary | |
protected void | addUse(Expr use) | public void | cleanupOnly() Clean up this expression. | public boolean | hasUse(Expr use) | public boolean | isDef() Determines whether or not this DefExpr defines a local
variable in its parent. | protected void | removeUse(Expr use) | public Collection | uses() Returns the Exprs in which the variable defined by this are
used. | public int | version() Returns Number DefExpr this is. |
DefExpr | public DefExpr(Type type)(Code) | | Constructor.
Parameters: type - The Type (descriptor) of this expression |
cleanupOnly | public void cleanupOnly()(Code) | | Clean up this expression. Notify all the expressions that use this
definition that it is no longer their defining expression.
|
isDef | public boolean isDef()(Code) | | Determines whether or not this DefExpr defines a local
variable in its parent.
See Also: Assign.defs |
uses | public Collection uses()(Code) | | Returns the Exprs in which the variable defined by this are
used.
|
version | public int version()(Code) | | Returns Number DefExpr this is. This is also the SSA version number of
the expression that this DefExpr defines.
|
|
|
|