harpoon.IR.Properties
Interface UseDefable

All Superinterfaces:
HCodeElement
All Known Implementing Classes:
AGET, ALENGTH, ANEW, ARRAYINIT, ASET, CALL, CJMP, CodeGen.InstrCC, CodeGen.InstrDELAYSLOT, COMPONENTOF, CONST, DEBUG, FOOTER, GET, HANDLER, HEADER, INSTANCEOF, Instr, InstrCALL, InstrDIRECTIVE, InstrJUMP, InstrLABEL, InstrMEM, InstrMOVE, InstrMOVEproxy, LABEL, LowQuad, METHOD, MONITORENTER, MONITOREXIT, MOVE, NEW, NOP, OPER, PAOFFSET, PARRAY, PCALL, PCONST, PFCONST, PFIELD, PFOFFSET, PGET, PHI, PMCONST, PMETHOD, PMOFFSET, POPER, PPTR, PSET, Quad, RegAlloc.RestoreProxy, RegAlloc.SpillLoad, RegAlloc.SpillProxy, RegAlloc.SpillStore, RETURN, SET, SIGMA, SWITCH, THROW, TYPECAST, TYPESWITCH

public interface UseDefable
extends HCodeElement

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

Version:
$Id: UseDefable.java,v 1.3 2002/04/10 03:05:09 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Method Summary
 Temp[] def()
          Return all the Temps defined by this HCodeElement.
 Collection<Temp> defC()
          Returns a Collection of all the Temps defined in this HCodeElement.
 Temp[] use()
          Return all the Temps used by this HCodeElement.
 Collection<Temp> 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

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


def

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


useC

Collection<Temp> useC()
Returns a Collection of all the Temps read in this HCodeElement.


defC

Collection<Temp> defC()
Returns a Collection of all the Temps defined in this HCodeElement.