Optimize

 
free web templates

Some standard intra-procedural optimizations. Useful to clean up code after certain transformations. This transformation is experimental.


Options

OptionArgumentsDescription
--Transform Optimize Some standard intra-procedural optimizations. Useful to clean up code after certain transformations.
--OptimizeKinds constProp, copyProp, mergeLocals List of optimizing transformations to apply Default=NONE.
  • constProp = Constant Propagation, i.e. replace a variable with its value, if it is constant.
  • copyProp = Copy Propagation, i.e. after the assignment x=y replaces uses of variable x with y.
  • mergeLocals = Not yet implemented.