Class PhiJoinStmt
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
- All Implemented Interfaces:
Assign
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:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of operands that this PhiJoinStmt has.Returns the occurrence of the variable with which this PhiJoinStmt is concerned (usually represented by a VarExpr) at a given block.operands()Returns the operands of this PhiJoinStmt.preds()Returns the predacessor nodes (in the CFG not dominator graph) of the block in which this PhiJoinStmt occurs.voidsetOperandAt(Block block, Expr expr) Set the operand to this PhiJoinStmt for a given Block to a given expression.voidvisit(TreeVisitor visitor) voidvisitForceChildren(TreeVisitor visitor) Visit the children of this node.Methods inherited from class Stmt
cleanupOnlyMethods inherited from class Node
block, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnly
-
Constructor Details
-
PhiJoinStmt
-
-
Method Details
-
setOperandAt
-
operandAt
-
numOperands
public int numOperands()Returns the number of operands that this PhiJoinStmt has. -
preds
Returns the predacessor nodes (in the CFG not dominator graph) of the block in which this PhiJoinStmt occurs. -
operands
Returns the operands of this PhiJoinStmt. They are usually of type VarExpr. -
visitForceChildren
Description copied from class:NodeVisit the children of this node. Not all Nodes will have children to visit.- Specified by:
visitForceChildrenin classNode
-
visit
-