public class BindingStorePlacementNode extends FlowGraphNode
_bb, _prob| Constructor and Description |
|---|
BindingStorePlacementNode(DataFlowProblem prob,
BasicBlock n) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStoreAndBindingAllocInstructions() |
boolean |
applyTransferFunction()
Compute "OUT/IN" for the current node! The choice of "IN/OUT" is determined by the direction of data flow.
|
void |
buildDataFlowVars(Instr i)
Builds the data-flow variables (or facts) for a particular instruction.
|
void |
compute_MEET(CFG.CFG_Edge edge,
FlowGraphNode pred)
"MEET" current solution of "IN/OUT" with "OUT/IN(pred)",
where "pred" is a predecessor of the current node!
The choice of "IN/OUT" is determined by the direction of data flow.
|
void |
init()
Initialize this data flow node for solving the current problem
This is done after building dataflow variables for the problem.
|
void |
initSolnForNode()
Initialize this data flow node to compute the new solution
This is done before iteratively calling the MEET operator.
|
java.lang.String |
toString() |
buildDataFlowVars, computeDataFlowInfo, finalizeSolnForNode, getBBpublic BindingStorePlacementNode(DataFlowProblem prob, BasicBlock n)
public void init()
FlowGraphNodeinit in class FlowGraphNodepublic void buildDataFlowVars(Instr i)
FlowGraphNodebuildDataFlowVars in class FlowGraphNodepublic void initSolnForNode()
FlowGraphNodeinitSolnForNode in class FlowGraphNodepublic void compute_MEET(CFG.CFG_Edge edge, FlowGraphNode pred)
FlowGraphNodecompute_MEET in class FlowGraphNodepublic boolean applyTransferFunction()
FlowGraphNodeapplyTransferFunction in class FlowGraphNodepublic java.lang.String toString()
toString in class java.lang.Objectpublic void addStoreAndBindingAllocInstructions()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.