| |
|
| java.lang.Object EDU.purdue.cs.bloat.tree.Node EDU.purdue.cs.bloat.tree.Stmt EDU.purdue.cs.bloat.tree.PhiStmt EDU.purdue.cs.bloat.tree.PhiJoinStmt
PhiJoinStmt | public class PhiJoinStmt extends PhiStmt (Code) | | PhiJoinStmt represents a phi-function inserted into a control flow
graph during conversion of variables to static single-assignment form. A
PhiJoinStmt at a point of control flow convergence.
See Also: EDU.purdue.cs.bloat.ssa.SSAConstructionInfo See Also: SSAConstructionInfo |
Method Summary | |
public int | numOperands() Returns the number of operands that this PhiJoinStmt has. | public Expr | operandAt(Block block) Returns the occurrence of the variable with which this PhiJoinStmt is
concerned (usually represented by a VarExpr) at a given block. | public Collection | operands() Returns the operands of this PhiJoinStmt. | public Collection | preds() Returns the predacessor nodes (in the CFG not dominator graph) of the
block in which this PhiJoinStmt occurs. | public void | setOperandAt(Block block, Expr expr) Set the operand to this PhiJoinStmt for a given Block to a given
expression. | public void | visit(TreeVisitor visitor) | public void | visitForceChildren(TreeVisitor visitor) |
PhiJoinStmt | public PhiJoinStmt(VarExpr target, Block block)(Code) | | Constructor.
Parameters: target - The target of this PhiStmt. Parameters: block - The basic Block in which this PhiJoinStmt resides. |
numOperands | public int numOperands()(Code) | | Returns the number of operands that this PhiJoinStmt has.
|
operandAt | public Expr operandAt(Block block)(Code) | | Returns the occurrence of the variable with which this PhiJoinStmt is
concerned (usually represented by a VarExpr) at a given block.
Parameters: block - The block at which an occurrence of the variable occurs. See Also: VarExpr |
operands | public Collection operands()(Code) | | Returns the operands of this PhiJoinStmt. They are usually of type
VarExpr.
See Also: VarExpr |
preds | public Collection preds()(Code) | | Returns the predacessor nodes (in the CFG not dominator graph) of the
block in which this PhiJoinStmt occurs.
|
setOperandAt | public void setOperandAt(Block block, Expr expr)(Code) | | Set the operand to this PhiJoinStmt for a given Block to a given
expression.
Parameters: block - Parameters: expr - |
|
|
|