public class PhiJoinStmt extends PhiStmt
SSAConstructionInfo| Constructor and Description |
|---|
PhiJoinStmt(VarExpr target,
Block block)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
numOperands()
Returns the number of operands that this PhiJoinStmt has.
|
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.
|
java.util.Collection |
operands()
Returns the operands of this PhiJoinStmt.
|
java.util.Collection |
preds()
Returns the predacessor nodes (in the CFG not dominator graph) of the
block in which this PhiJoinStmt occurs.
|
void |
setOperandAt(Block block,
Expr expr)
Set the operand to this PhiJoinStmt for a given Block to a given
expression.
|
void |
visit(TreeVisitor visitor) |
void |
visitForceChildren(TreeVisitor visitor)
Visit the children of this node.
|
cleanupOnlyblock, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlypublic void setOperandAt(Block block, Expr expr)
block - expr - public Expr operandAt(Block block)
block - The block at which an occurrence of the variable occurs.VarExprpublic int numOperands()
public java.util.Collection preds()
public java.util.Collection operands()
public void visitForceChildren(TreeVisitor visitor)
NodevisitForceChildren in class Nodepublic void visit(TreeVisitor visitor)