Package org.jruby.ir.dataflow
Class DataFlowProblem<T extends DataFlowProblem<T,U>,U extends FlowGraphNode<T,U>>
java.lang.Object
org.jruby.ir.dataflow.DataFlowProblem<T,U>
- Direct Known Subclasses:
DefinedVariablesProblem
,LiveVariablesProblem
,LoadLocalVarPlacementProblem
,StoreLocalVarPlacementProblem
,UnboxableOpsAnalysisProblem
public abstract class DataFlowProblem<T extends DataFlowProblem<T,U>,U extends FlowGraphNode<T,U>>
extends Object
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
abstract U
void
protected LinkedList
<U> Generate an ordered list of flow graph nodes in a forward or backward order depending on direction.int
getFIC()
abstract String
getName()
boolean
isEmpty()
Are there are available data flow facts to run this problem? SSS FIXME: Silly optimization?void
toString()
-
Field Details
-
direction
-
flowGraphNodes
-
fic
-
-
Constructor Details
-
DataFlowProblem
-
-
Method Details
-
buildFlowGraphNode
-
getName
-
isEmpty
public boolean isEmpty()Are there are available data flow facts to run this problem? SSS FIXME: Silly optimization? -
getFlowDirection
-
setup
-
getFIC
-
compute_MOP_Solution
public void compute_MOP_Solution() -
generateWorkList
Generate an ordered list of flow graph nodes in a forward or backward order depending on direction. -
getDFVarsCount
public int getDFVarsCount() -
getDataFlowVarsForOutput
-
toString
-
getFlowGraphNode
-
getEntryNode
-
getExitNode
-
addDataFlowVar
public int addDataFlowVar()
-