public class LoadLocalVarPlacementNode extends FlowGraphNode
basicBlock, problem
Constructor and Description |
---|
LoadLocalVarPlacementNode(DataFlowProblem prob,
BasicBlock n) |
Modifier and Type | Method and Description |
---|---|
void |
addLoads(Map<Operand,Operand> varRenameMap) |
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(Edge e,
BasicBlock source,
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.
|
String |
toString() |
buildDataFlowVars, computeDataFlowInfo, finalizeSolnForNode, getBB, getExceptionTargetNode, getNonExitBBExceptionTargetNode, hasExceptionsRescued
public LoadLocalVarPlacementNode(DataFlowProblem prob, BasicBlock n)
public void init()
FlowGraphNode
init
in class FlowGraphNode
public void buildDataFlowVars(Instr i)
FlowGraphNode
buildDataFlowVars
in class FlowGraphNode
public void initSolnForNode()
FlowGraphNode
initSolnForNode
in class FlowGraphNode
public void compute_MEET(Edge e, BasicBlock source, FlowGraphNode pred)
FlowGraphNode
compute_MEET
in class FlowGraphNode
public boolean applyTransferFunction()
FlowGraphNode
applyTransferFunction
in class FlowGraphNode
Copyright © 2001-2016 JRuby. All Rights Reserved.