|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object joeq.Compiler.Dataflow.Problem joeq.Compiler.Dataflow.ReachingDefs
public class ReachingDefs
ReachingDefs
Nested Class Summary | |
---|---|
static class |
ReachingDefs.RDVisitor
|
Constructor Summary | |
---|---|
ReachingDefs()
|
Method Summary | |
---|---|
Fact |
boundary()
Returns the boundary value for this dataflow problem. |
boolean |
direction()
Returns true if this is a forward dataflow problem, false if it is a backward dataflow problem. |
Set |
getReachingDefs(BasicBlock bb)
|
Set |
getReachingDefs(BasicBlock bb,
Quad q)
|
Set |
getReachingDefs(BasicBlock bb,
Quad q,
RegisterFactory.Register r)
|
Set |
getReachingDefs(BasicBlock bb,
RegisterFactory.Register r)
|
TransferFunction |
getTransferFunction(Object e)
Returns the transfer function for the given code element. |
void |
initialize(jwutil.graphs.Graph g)
Performs necessary initialization for this dataflow problem. |
Fact |
interior()
Returns the value that the interior points should be initialized to. |
static void |
main(String[] args)
|
static ReachingDefs |
solve(ControlFlowGraph cfg)
|
Methods inherited from class joeq.Compiler.Dataflow.Problem |
---|
apply, closure, compare, compose, merge |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReachingDefs()
Method Detail |
---|
public void initialize(jwutil.graphs.Graph g)
Problem
initialize
in class Problem
g
- graph of locations that we will run overpublic boolean direction()
Problem
direction
in class Problem
public Fact boundary()
Problem
boundary
in class Problem
public Fact interior()
Problem
interior
in class Problem
public TransferFunction getTransferFunction(Object e)
Problem
getTransferFunction
in class Problem
e
- code element
public static void main(String[] args)
public static ReachingDefs solve(ControlFlowGraph cfg)
public Set getReachingDefs(BasicBlock bb)
public Set getReachingDefs(BasicBlock bb, RegisterFactory.Register r)
public Set getReachingDefs(BasicBlock bb, Quad q)
public Set getReachingDefs(BasicBlock bb, Quad q, RegisterFactory.Register r)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |