| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjoeq.Compiler.Dataflow.Problem
joeq.Compiler.Dataflow.LivenessAnalysis
public class LivenessAnalysis
LivenessAnalysis
| Constructor Summary | |
|---|---|
LivenessAnalysis()
 | 
|
| 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.  | 
 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.  | 
 boolean | 
isLiveAtIn(BasicBlock bb,
           RegisterFactory.Register r)
 | 
 boolean | 
isLiveAtOut(BasicBlock bb,
            RegisterFactory.Register r)
 | 
static void | 
main(String[] args)
 | 
 void | 
setKilledAtIn(BasicBlock bb,
              RegisterFactory.Register r)
 | 
 void | 
setLiveAtIn(BasicBlock bb,
            RegisterFactory.Register r)
 | 
static LivenessAnalysis | 
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 LivenessAnalysis()
| Method Detail | 
|---|
public void initialize(jwutil.graphs.Graph g)
Problem
initialize in class Problemg - graph of locations that we will run overpublic boolean direction()
Problem
direction in class Problempublic Fact boundary()
Problem
boundary in class Problempublic Fact interior()
Problem
interior in class Problempublic TransferFunction getTransferFunction(Object e)
Problem
getTransferFunction in class Probleme - code element
public static void main(String[] args)
public static LivenessAnalysis solve(ControlFlowGraph cfg)
public boolean isLiveAtOut(BasicBlock bb,
                           RegisterFactory.Register r)
public boolean isLiveAtIn(BasicBlock bb,
                          RegisterFactory.Register r)
public void setLiveAtIn(BasicBlock bb,
                        RegisterFactory.Register r)
public void setKilledAtIn(BasicBlock bb,
                          RegisterFactory.Register r)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||