All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface harpoon.Analysis.Maps.UseDefMap

public interface UseDefMap
A UseDefMap is a mapping from temporaries to the HCodeElements that define them.

Version:
$Id: UseDefMap.java,v 1.3 1998/10/11 02:37:07 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Method Index

 o defMap(HCode, Temp)
Return an array of HCodeElements that define Temp t.
 o defMapE(HCode, Temp)
Return an Enumeration of HCodeElements that define Temp t.
 o useMap(HCode, Temp)
Return an array of HCodeElements that use Temp t.
 o useMapE(HCode, Temp)
Return an Enumeration of HCodeElements that use Temp t.

Methods

 o useMap
 public abstract HCodeElement[] useMap(HCode hc,
                                       Temp t)
Return an array of HCodeElements that use Temp t.

Parameters:
hc - The HCode containing t. The HCodeElements in hc must implement harpoon.IR.Properties.UseDef.
t - The temporary to examine.
Returns:
an array of HCodeElements where HCodeElement.use() includes t.
 o useMapE
 public abstract Enumeration useMapE(HCode hc,
                                     Temp t)
Return an Enumeration of HCodeElements that use Temp t.

Parameters:
hc - The HCode containing t. The HCodeElements in hc must implement harpoon.IR.Properties.UseDef.
t - The temporary to examine.
Returns:
an Enumeration of HCodeElements where HCodeElement.use() includes t.
 o defMap
 public abstract HCodeElement[] defMap(HCode hc,
                                       Temp t)
Return an array of HCodeElements that define Temp t.

Parameters:
hc - The HCode containing t. The HCodeElements in hc must implement harpoon.IR.Properties.UseDef.
t - The temporary to examine.
Returns:
an array of HCodeElements where HCodeElement.def() includes t.
 o defMapE
 public abstract Enumeration defMapE(HCode hc,
                                     Temp t)
Return an Enumeration of HCodeElements that define Temp t.

Parameters:
hc - The HCode containing t. The HCodeElements in hc must implement harpoon.IR.Properties.UseDef.
t - The temporary to examine.
Returns:
an Enumeration of HCodeElements where HCodeElement.def() includes t.

All Packages  Class Hierarchy  This Package  Previous  Next  Index