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>
-
dst
- The destination temp.
-
src
- The source temp.
-
MOVE(HCodeElement, Temp, Temp)
- Creates a
MOVE
from a source and destination Temporary.
-
def()
- Returns the Temps defined by this Quad.
-
renameDefs(TempMap)
- Rename all defined variables in this Quad according to a mapping.
-
renameUses(TempMap)
- Rename all used variables in this Quad according to a mapping.
-
toString()
- Returns a human-readable representation of this Quad.
-
use()
- Returns the Temps used by this Quad.
-
visit(QuadVisitor)
- Accept a visitor.
dst
public Temp dst
- The destination temp.
src
public Temp src
- The source temp.
MOVE
public MOVE(HCodeElement source,
Temp dst,
Temp src)
- Creates a
MOVE
from a source and destination Temporary.
use
public Temp[] use()
- Returns the Temps used by this Quad.
- Overrides:
- use in class Quad
def
public Temp[] def()
- Returns the Temps defined by this Quad.
- Overrides:
- def in class Quad
renameDefs
public void renameDefs(TempMap tm)
- Rename all defined variables in this Quad according to a mapping.
- Overrides:
- renameDefs in class Quad
renameUses
public void renameUses(TempMap tm)
- Rename all used variables in this Quad according to a mapping.
- Overrides:
- renameUses in class Quad
visit
public void visit(QuadVisitor v)
- Accept a visitor.
- Overrides:
- visit in class Quad
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