All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.IR.QuadSSA.MOVE

java.lang.Object
   |
   +----harpoon.IR.QuadSSA.Quad
           |
           +----harpoon.IR.QuadSSA.MOVE

public class MOVE
extends Quad
MOVE objects represent an assignment to a compiler temporary. The source of the assignment must be another temporary.

Version:
$Id: MOVE.java,v 1.10 1998/10/11 03:01:17 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Variable Index

 o dst
The destination temp.
 o src
The source temp.

Constructor Index

 o MOVE(HCodeElement, Temp, Temp)
Creates a MOVE from a source and destination Temporary.

Method Index

 o def()
Returns the Temps defined by this Quad.
 o renameDefs(TempMap)
Rename all defined variables in this Quad according to a mapping.
 o renameUses(TempMap)
Rename all used variables in this Quad according to a mapping.
 o toString()
Returns a human-readable representation of this Quad.
 o use()
Returns the Temps used by this Quad.
 o visit(QuadVisitor)
Accept a visitor.

Variables

 o dst
 public Temp dst
The destination temp.

 o src
 public Temp src
The source temp.

Constructors

 o MOVE
 public MOVE(HCodeElement source,
             Temp dst,
             Temp src)
Creates a MOVE from a source and destination Temporary.

Methods

 o use
 public Temp[] use()
Returns the Temps used by this Quad.

Overrides:
use in class Quad
 o def
 public Temp[] def()
Returns the Temps defined by this Quad.

Overrides:
def in class Quad
 o renameDefs
 public void renameDefs(TempMap tm)
Rename all defined variables in this Quad according to a mapping.

Overrides:
renameDefs in class Quad
 o renameUses
 public void renameUses(TempMap tm)
Rename all used variables in this Quad according to a mapping.

Overrides:
renameUses in class Quad
 o visit
 public void visit(QuadVisitor v)
Accept a visitor.

Overrides:
visit in class Quad
 o toString
 public String toString()
Returns a human-readable representation of this Quad.

Overrides:
toString in class Quad

All Packages  Class Hierarchy  This Package  Previous  Next  Index