Class Main

java.lang.Object
EDU.purdue.cs.bloat.optimize.Main

public class Main extends Object
Usage: java EDU.purdue.cs.bloat.optimize.Main [-options] classes dir where options include: -help print out this message -v -verbose turn on verbose mode -debug display a hideous amount of debug info -classpath list directories in which to look for classes -f optimize files even if up-to-date -closure recursively optimize referenced classes -relax-loading don't report errors if a class is not found -skip invalid input: '<'class|package.*> skip the given class or package -only invalid input: '<'class|package.*> skip all but the given class or package -preserve-debug try to preserve debug information -[no]anno insert an annotation in the contant pool -[no]stack-alloc try to push locals onto the operand stack -peel-loops invalid input: '<'n|all> peel innermost loops to enable code hoisting (n >= 0 is the maximum loop level to peel) -[no]pre perform partial redundency elimination -[no]appre perform partial redundency elimination on access paths -[no]dce perform dead code elimination -diva perform demand-driven induction variable analysis -[no]prop perform copy and constant propagation
  • Field Details

    • TRACE

      public static boolean TRACE
    • PRE

      public static boolean PRE
    • DCE

      public static boolean DCE
    • PROP

      public static boolean PROP
    • FOLD

      public static boolean FOLD
    • INFER

      public static boolean INFER
    • NUMBER

      public static boolean NUMBER
    • PERSIST

      public static boolean PERSIST
    • STACK_ALLOC

      public static boolean STACK_ALLOC
    • COMPACT_ARRAY_INIT

      public static boolean COMPACT_ARRAY_INIT
    • VERIFY

      public static boolean VERIFY
    • OPT_STACK_1

      public static boolean OPT_STACK_1
    • OPT_STACK_2

      public static boolean OPT_STACK_2
    • SKIP

      public static List SKIP
  • Constructor Details

    • Main

      public Main()
  • Method Details