|
SandMark version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.obfuscate.boolsplitter.dtree.Node | +--sandmark.obfuscate.boolsplitter.dtree.Stmt | +--sandmark.obfuscate.boolsplitter.dtree.PhiStmt | +--sandmark.obfuscate.boolsplitter.dtree.PhiJoinStmt
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.
SSAConstructionInfo
Field Summary | |
(package private) Block |
block
|
(package private) java.util.Map |
operands
|
Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.PhiStmt |
target |
Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.Node |
key, parent, valueNumber |
Constructor Summary | |
PhiJoinStmt(VarExpr target,
Block block)
Constructor. |
Method Summary | |
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. |
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.PhiStmt |
clone, defs, target |
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Stmt |
cleanupOnly |
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Node |
block, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnly |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
java.util.Map operands
Block block
Constructor Detail |
public PhiJoinStmt(VarExpr target, Block block)
target
- The target of this PhiStmt.block
- The basic Block in which this PhiJoinStmt resides.Method Detail |
public void setOperandAt(Block block, Expr expr)
block
- expr
- public Expr operandAt(Block block)
block
- The block at which an occurrence of the variable occurs.VarExpr
public int numOperands()
public java.util.Collection preds()
public java.util.Collection operands()
operands
in class PhiStmt
VarExpr
public void visitForceChildren(TreeVisitor visitor)
Node
visitForceChildren
in class Node
public void visit(TreeVisitor visitor)
visit
in class Node
|
SandMark version 3.0 Wed Jan 29 10:30:05 MST 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |