Package EDU.purdue.cs.bloat.tree
Class PhiStmt
- java.lang.Object
-
- EDU.purdue.cs.bloat.tree.Node
-
- EDU.purdue.cs.bloat.tree.Stmt
-
- EDU.purdue.cs.bloat.tree.PhiStmt
-
- All Implemented Interfaces:
Assign
- Direct Known Subclasses:
PhiCatchStmt,PhiJoinStmt
public abstract class PhiStmt extends Stmt implements Assign
A PhiStmt is inserted into a CFG in Single Static Assignment for. It is used to "merge" uses of the same variable in different basic blocks.- See Also:
PhiJoinStmt,PhiCatchStmt
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()DefExpr[]defs()Return the expressions (variables) defined by this PhiStmt.abstract java.util.Collectionoperands()VarExprtarget()-
Methods inherited from class EDU.purdue.cs.bloat.tree.Stmt
cleanupOnly
-
Methods inherited from class EDU.purdue.cs.bloat.tree.Node
block, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visit, visitChildren, visitForceChildren, visitOnly
-
-
-
-
Constructor Detail
-
PhiStmt
public PhiStmt(VarExpr target)
Constructor.- Parameters:
target- A stack expression or local variable that is the target of this phi-statement.
-
-