harpoon.Analysis.Instr
Class IgnoreSpillUseDefer
java.lang.Object
harpoon.IR.Properties.UseDefer
harpoon.Analysis.Instr.IgnoreSpillUseDefer
public class IgnoreSpillUseDefer
- extends UseDefer
IgnoreSpillUseDefer defines a view of the code that
will skip over newly inserted spill instructions when deciding what
Temps instructions read and write. This is useful for
the garbage collection analyses which need to know what Temps are
live in terms of the program itself, ignoring memory
communication due to spill code.
For example, a SpillLoad from the stack location for t0 to
r3 is no longer considered a definition of t0 by
this UseDefer.
This class may need to be updated to take a
UseDefer parameter, rather than relying on the
underlying IR implementing the UseDefable interface.
- Version:
- $Id: IgnoreSpillUseDefer.java,v 1.2 2002/02/25 20:57:30 cananian Exp $
- Author:
- Felix S. Klock II <pnkfelix@mit.edu>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USEDEFER
public static IgnoreSpillUseDefer USEDEFER
IgnoreSpillUseDefer
public IgnoreSpillUseDefer()
- Creates a
IgnoreSpillUDr.
useC
public Collection useC(HCodeElement hce)
- Description copied from class:
UseDefer
- Returns a
Collection of all the
Temps that may be read by hce.
- Specified by:
useC in class UseDefer
defC
public Collection defC(HCodeElement hce)
- Description copied from class:
UseDefer
- Returns a
Collection of all the
Temps that are defined by hce.
- Specified by:
defC in class UseDefer