public abstract class DataFlowProblem extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DataFlowProblem.DF_Direction |
Modifier and Type | Field and Description |
---|---|
DataFlowProblem.DF_Direction |
direction |
protected List<FlowGraphNode> |
flowGraphNodes |
protected IRScope |
scope |
Constructor and Description |
---|
DataFlowProblem(DataFlowProblem.DF_Direction d) |
Modifier and Type | Method and Description |
---|---|
abstract FlowGraphNode |
buildFlowGraphNode(BasicBlock bb) |
void |
compute_MOP_Solution() |
String |
getDataFlowVarsForOutput() |
int |
getDFVarsCount() |
DataFlowProblem.DF_Direction |
getFlowDirection() |
protected FlowGraphNode |
getFlowGraphNode(BasicBlock b) |
Iterable<BasicBlock> |
getIncomingSourcesOf(BasicBlock bb) |
abstract String |
getName() |
Iterable<BasicBlock> |
getOutgoingDestinationsOf(BasicBlock bb) |
IRScope |
getScope() |
boolean |
isEmpty()
Are there are available data flow facts to run this problem? SSS FIXME: Silly optimization?
|
void |
setup(IRScope scope) |
String |
toString() |
public final DataFlowProblem.DF_Direction direction
protected List<FlowGraphNode> flowGraphNodes
protected IRScope scope
public DataFlowProblem(DataFlowProblem.DF_Direction d)
public abstract FlowGraphNode buildFlowGraphNode(BasicBlock bb)
public abstract String getName()
public boolean isEmpty()
public DataFlowProblem.DF_Direction getFlowDirection()
public void setup(IRScope scope)
public IRScope getScope()
public void compute_MOP_Solution()
public int getDFVarsCount()
public Iterable<BasicBlock> getIncomingSourcesOf(BasicBlock bb)
public Iterable<BasicBlock> getOutgoingDestinationsOf(BasicBlock bb)
public String getDataFlowVarsForOutput()
protected FlowGraphNode getFlowGraphNode(BasicBlock b)
Copyright © 2001-2017 JRuby. All Rights Reserved.