org.jruby.compiler.ir.dataflow
Class DataFlowProblem
java.lang.Object
org.jruby.compiler.ir.dataflow.DataFlowProblem
- Direct Known Subclasses:
- LiveVariablesProblem
public abstract class DataFlowProblem
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_direction
public final DataFlowProblem.DF_Direction _direction
_cfg
protected CFG _cfg
_fgNodes
protected java.util.List<FlowGraphNode> _fgNodes
DataFlowProblem
public DataFlowProblem(DataFlowProblem.DF_Direction d)
buildFlowGraphNode
public abstract FlowGraphNode buildFlowGraphNode(BasicBlock bb)
getProblemName
public abstract java.lang.String getProblemName()
isEmpty
public boolean isEmpty()
- Are there are available data flow facts to run this problem? SSS FIXME: Silly optimization?
getFlowDirection
public DataFlowProblem.DF_Direction getFlowDirection()
compute_MOP_Solution
public void compute_MOP_Solution(CFG c)
getDFVarsCount
public int getDFVarsCount()
incomingEdgesOf
public java.util.Set<CFG.CFG_Edge> incomingEdgesOf(BasicBlock bb)
outgoingEdgesOf
public java.util.Set<CFG.CFG_Edge> outgoingEdgesOf(BasicBlock bb)
getDataFlowVarsForOutput
public java.lang.String getDataFlowVarsForOutput()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2002-2009 JRuby Team. All Rights Reserved.