All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.IR.QuadSSA.SIGMA

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

public abstract class SIGMA
extends Quad
SIGMA functions are added where control flow splits.

They have the form: <t1, t2, ..., tn> = sigma(t0).

Version:
$Id: SIGMA.java,v 1.4 1998/11/10 03:34:11 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Variable Index

 o dst
 o src

Constructor Index

 o SIGMA(HCodeElement, Temp[], int)
 o SIGMA(HCodeElement, Temp[][], Temp[], int)
Creates a SIGMA.

Method Index

 o assign(Temp[], int)
 o clone()
Properly clone dst[][] and src[] arrays.
 o def()
Return all 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()
Force everyone to reimplement toString()
 o use()
Return all the Temps used by this Quad.
 o visit(QuadVisitor)
Accept a visitor.

Variables

 o dst
 public Temp dst[][]
 o src
 public Temp src[]

Constructors

 o SIGMA
 public SIGMA(HCodeElement source,
              Temp dst[][],
              Temp src[],
              int arity)
Creates a SIGMA.

 o SIGMA
 public SIGMA(HCodeElement source,
              Temp src[],
              int arity)

Methods

 o assign
 public void assign(Temp d[],
                    int which_succ)
 o use
 public Temp[] use()
Return all the Temps used by this Quad.

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

Overrides:
def 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 renameDefs
 public void renameDefs(TempMap tm)
Rename all defined variables in this Quad according to a mapping.

Overrides:
renameDefs in class Quad
 o clone
 public Object clone()
Properly clone dst[][] and src[] arrays.

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

Overrides:
visit in class Quad
 o toString
 public String toString()
Force everyone to reimplement toString()

Overrides:
toString in class Quad

All Packages  Class Hierarchy  This Package  Previous  Next  Index