harpoon.IR.Quads
Class SSIToSSA

java.lang.Object
  |
  +--harpoon.IR.Quads.SSIToSSA

public class SSIToSSA
extends Object

SSIToSSA renames variables to eliminate sigma functions in an SSI-form codeview, yielding an SSA codeview.

Version:
$Id: SSIToSSA.java,v 1.3 2002/02/26 22:45:57 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Field Summary
 AllocationInformation allocInfo
          AllocationInformation for the new quads, or null if no allocation information for the old quads was supplied.
 Derivation derivation
          Derivation for the new quads, or null if no Derivation for the old quads was supplied.
 Map quadMap
          Map from old ssi quads to new ssa quads.
 Quad rootQuad
          New root element (of the SSA-form graph)
 TempMap tempMap
          Map from old ssi temps to new ssa temps.
 
Constructor Summary
SSIToSSA(Code c, QuadFactory nqf)
          Converts the given code (in SSI form) to a graph graph in SSA form created using the given code factory nqf.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootQuad

public final Quad rootQuad
New root element (of the SSA-form graph)


tempMap

public final TempMap tempMap
Map from old ssi temps to new ssa temps.


quadMap

public final Map quadMap
Map from old ssi quads to new ssa quads.


allocInfo

public final AllocationInformation allocInfo
AllocationInformation for the new quads, or null if no allocation information for the old quads was supplied.


derivation

public final Derivation derivation
Derivation for the new quads, or null if no Derivation for the old quads was supplied.

Constructor Detail

SSIToSSA

public SSIToSSA(Code c,
                QuadFactory nqf)
Converts the given code (in SSI form) to a graph graph in SSA form created using the given code factory nqf.