All Packages Class Hierarchy This Package Previous Next Index
Class harpoon.IR.QuadSSA.RETURN
java.lang.Object
|
+----harpoon.IR.QuadSSA.Quad
|
+----harpoon.IR.QuadSSA.RETURN
- public class RETURN
- extends Quad
RETURN
objects indicate a method return, with an
optional return value.
- Version:
- $Id: RETURN.java,v 1.14 1998/10/11 03:01:17 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
-
retval
- Return value.
-
RETURN(HCodeElement)
- Creates a
RETURN
with does not return a value.
-
RETURN(HCodeElement, Temp)
- Creates a
RETURN
.
-
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 all the Temps used by this Quad.
-
visit(QuadVisitor)
- Accept a visitor.
retval
public Temp retval
- Return value.
null
if there is no return value.
RETURN
public RETURN(HCodeElement source,
Temp retval)
- Creates a
RETURN
.
RETURN
public RETURN(HCodeElement source)
- Creates a
RETURN
with does not return a value.
use
public Temp[] use()
- Returns all the Temps used by this Quad.
- Overrides:
- use 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
renameDefs
public void renameDefs(TempMap tm)
- Rename all defined variables in this Quad according to a mapping.
- Overrides:
- renameDefs 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