public class DefinedVariablesProblem extends DataFlowProblem<DefinedVariablesProblem,DefinedVariableNode>
DataFlowProblem.DF_Direction
Modifier and Type | Field and Description |
---|---|
static java.lang.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) |
java.util.Set<Variable> |
findUndefinedVars() |
java.util.Set<Variable> |
getAllVars() |
java.lang.Integer |
getDFVar(Variable v) |
java.lang.String |
getName() |
Variable |
getVariable(int id) |
addDataFlowVar, compute_MOP_Solution, generateWorkList, getDataFlowVarsForOutput, getDFVarsCount, getEntryNode, getExitNode, getFlowDirection, getFlowGraphNode, getScope, isEmpty, setup, toString
public static final java.lang.String NAME
public DefinedVariablesProblem(IRScope scope)
public java.lang.Integer getDFVar(Variable v)
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 java.util.Set<Variable> findUndefinedVars()
public java.util.Set<Variable> getAllVars()
public java.lang.String getName()
getName
in class DataFlowProblem<DefinedVariablesProblem,DefinedVariableNode>
Copyright © 2001-2018 JRuby. All Rights Reserved.