org.jikesrvm.compilers.opt.ssa
Class SSATuneUp

java.lang.Object
  extended by org.jikesrvm.compilers.opt.driver.OptimizationPlanElement
      extended by org.jikesrvm.compilers.opt.driver.OptimizationPlanCompositeElement
          extended by org.jikesrvm.compilers.opt.ssa.SSATuneUp

public final class SSATuneUp
extends OptimizationPlanCompositeElement

This phase puts the IR in SSA form and performs a set of simple optimizations to clean up.


Nested Class Summary
private static class SSATuneUp.FoldingDriver
          This class drives expression folding.
static class SSATuneUp.TuneUpPreparation
          This class sets up the IR state prior to entering SSA.
 
Constructor Summary
SSATuneUp()
          Build this phase as a composite of others.
 
Method Summary
 boolean shouldPerform(OptOptions options)
          Determine, possibly by consulting the passed options object, if this optimization plan element should be performed.
 
Methods inherited from class org.jikesrvm.compilers.opt.driver.OptimizationPlanCompositeElement
compose, elapsedTime, getName, initializeForMeasureCompilation, perform, printingEnabled, reportStats
 
Methods inherited from class org.jikesrvm.compilers.opt.driver.OptimizationPlanElement
prettyPrintTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSATuneUp

public SSATuneUp()
Build this phase as a composite of others.

Method Detail

shouldPerform

public boolean shouldPerform(OptOptions options)
Description copied from class: OptimizationPlanElement
Determine, possibly by consulting the passed options object, if this optimization plan element should be performed.

Overrides:
shouldPerform in class OptimizationPlanCompositeElement
Parameters:
options - The Options object for the current compilation.
Returns:
true if the plan element should be performed.