coins.ssa
Class PublicSsa

java.lang.Object
  extended bycoins.ssa.PublicSsa

public class PublicSsa
extends java.lang.Object

This class is to use SSA module from other optimizers.


Field Summary
(package private)  SsaEnvironment env
          The environment of the SSA module
(package private)  Function f
          The current function
(package private)  MemoryAliasAnalyze mem
          The memory alias analysis engine
(package private)  SsaSymTab sstab
          The symbol table of the SSA module
 
Constructor Summary
PublicSsa(Function func, IoRoot io)
          Constructor
 
Method Summary
 void backTranslate()
          Back translate from SSA form.
 void translate()
          Translate into SSA form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

env

SsaEnvironment env
The environment of the SSA module


sstab

SsaSymTab sstab
The symbol table of the SSA module


f

Function f
The current function


mem

MemoryAliasAnalyze mem
The memory alias analysis engine

Constructor Detail

PublicSsa

public PublicSsa(Function func,
                 IoRoot io)
Constructor

Parameters:
func - The current function
io - The IoRoot of the COINS compiler
Method Detail

translate

public void translate()
Translate into SSA form. Pruned SSA is generated. Also, memory alias analysis are done.


backTranslate

public void backTranslate()
Back translate from SSA form. Sreedhar Method III is used.