harpoon.Analysis
Class Liveness

java.lang.Object
  |
  +--harpoon.Analysis.Liveness
Direct Known Subclasses:
LiveVars, QuadLiveness

public abstract class Liveness
extends Object

Liveness defines an abstract class for live variable analysis.

Version:
$Id: Liveness.java,v 1.2 2002/02/25 20:56:10 cananian Exp $
Author:
Karen K. Zee <kkz@alum.mit.edu>

Field Summary
protected  HCode hc
          The HCode for which this object contains analysis results.
 
Constructor Summary
Liveness(HCode hc)
          Creates a Liveness object from provided HCode.
 
Method Summary
abstract  Set getLiveIn(HCodeElement hce)
          Returns the Set of Temps that are live-in at the HCodeElement.
abstract  Set getLiveOut(HCodeElement hce)
          Returns the Set of Temps that are live-out at the HCodeElement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hc

protected final HCode hc
The HCode for which this object contains analysis results.

Constructor Detail

Liveness

public Liveness(HCode hc)
Creates a Liveness object from provided HCode.

Method Detail

getLiveIn

public abstract Set getLiveIn(HCodeElement hce)
Returns the Set of Temps that are live-in at the HCodeElement.


getLiveOut

public abstract Set getLiveOut(HCodeElement hce)
Returns the Set of Temps that are live-out at the HCodeElement.