public class LiveVariableNode extends FlowGraphNode
basicBlock, problem| Constructor and Description |
|---|
LiveVariableNode(DataFlowProblem prob,
BasicBlock n) |
| Modifier and Type | Method and Description |
|---|---|
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, hasExceptionsRescuedpublic LiveVariableNode(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(Edge e, BasicBlock source, FlowGraphNode pred)
FlowGraphNodecompute_MEET in class FlowGraphNodepublic boolean applyTransferFunction()
FlowGraphNodeapplyTransferFunction in class FlowGraphNodeCopyright © 2001–2024 JRuby. All rights reserved.