public class DefinedVariablesProblem extends DataFlowProblem<DefinedVariablesProblem,DefinedVariableNode>
DataFlowProblem.DF_Direction| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
direction, flowGraphNodes, scope| Constructor and Description |
|---|
DefinedVariablesProblem(IRScope scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDFVar(Variable v) |
DefinedVariableNode |
buildFlowGraphNode(BasicBlock bb) |
boolean |
dfVarExists(Variable v) |
Set<Variable> |
findUndefinedVars() |
Set<Variable> |
getAllVars() |
Integer |
getDFVar(Variable v) |
String |
getName() |
Variable |
getVariable(int id) |
addDataFlowVar, compute_MOP_Solution, generateWorkList, getDataFlowVarsForOutput, getDFVarsCount, getEntryNode, getExitNode, getFlowDirection, getFlowGraphNode, getScope, isEmpty, setup, toStringpublic static final String NAME
public DefinedVariablesProblem(IRScope scope)
public boolean dfVarExists(Variable v)
public Variable getVariable(int id)
public DefinedVariableNode buildFlowGraphNode(BasicBlock bb)
buildFlowGraphNode in class DataFlowProblem<DefinedVariablesProblem,DefinedVariableNode>public void addDFVar(Variable v)
public String getName()
getName in class DataFlowProblem<DefinedVariablesProblem,DefinedVariableNode>Copyright © 2001-2017 JRuby. All Rights Reserved.