coins.backend.opt
Class Ssa

java.lang.Object
  extended bycoins.backend.opt.Ssa

public class Ssa
extends java.lang.Object

Transform into SSA (Static Single Assignment) form.


Constructor Summary
Ssa(boolean pruned)
          Create a transformer to SSA form.
 
Method Summary
 void doIt(Function f)
           
 void doIt(Function f, ImList args)
          Rewrite function f to SSA form.
static Ssa minimal()
          Create a transformer which converts a function to Minimal SSA form.
static Ssa pruned()
          Create a transformer which converts a function to Pruned SSA form.
static LocalTransformer trigger(java.lang.String type)
          Return transformer object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ssa

public Ssa(boolean pruned)
Create a transformer to SSA form.

Method Detail

trigger

public static LocalTransformer trigger(java.lang.String type)
Return transformer object.


minimal

public static Ssa minimal()
Create a transformer which converts a function to Minimal SSA form.


pruned

public static Ssa pruned()
Create a transformer which converts a function to Pruned SSA form.


doIt

public void doIt(Function f)

doIt

public void doIt(Function f,
                 ImList args)
Rewrite function f to SSA form.