harpoon.IR.Properties
Interface UseDefable

All Superinterfaces:
HCodeElement
All Known Implementing Classes:
Instr, Quad

public interface UseDefable
extends HCodeElement

UseDefable defines an interface for intermediate representations that keep use/def information.

Version:
$Id: UseDefable.java,v 1.2 2002/02/25 21:04:45 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Method Summary
 Temp[] def()
          Return all the Temps defined by this HCodeElement.
 Collection defC()
          Returns a Collection of all the Temps defined in this HCodeElement.
 Temp[] use()
          Return all the Temps used by this HCodeElement.
 Collection useC()
          Returns a Collection of all the Temps read in this HCodeElement.
 
Methods inherited from interface harpoon.ClassFile.HCodeElement
getID, getLineNumber, getSourceFile
 

Method Detail

use

public Temp[] use()
Return all the Temps used by this HCodeElement.


def

public Temp[] def()
Return all the Temps defined by this HCodeElement.


useC

public Collection useC()
Returns a Collection of all the Temps read in this HCodeElement.


defC

public Collection defC()
Returns a Collection of all the Temps defined in this HCodeElement.