Command Line Options

Command Line Options

    Print a single preprocessed input file before sending to parser and exit

    Print a single pre-annotated input file before sending to preprocessor and exit

    Create file options.cetus with default options

    Create system wide file options.cetus with default options

    Expand all header file #includes into code

    Expand user (non-standard) header file #includes into code

    Print this message

    Load options from file options.cetus

    Sets macros for the specified names with comma-separated list (no space is allowed). e.g., -macro=ARCH=i686,OS=linux

    Set the output directory name (default is cetus_output)

    Name of parser to be used for parsing source file

    Set the preprocessor command to use

    Preserves K&R-style function declaration

    Causes all passes that observe this flag to skip the listed procedures

    Degree of status messages (0-4) that you wish to see (default is 0)

    Print the version information

    Specify level of alias analysis
      =0 disable alias analysis (assume no alias)
      =1 advanced interprocedural analysis (default)
         Uses interprocedural points-to analysis
      =2 assume no alias when points-to analysis is too conservative

    Print the static call graph to stdout

    Perform Data Dependence Testing
      =1 banerjee-wolfe test (default)
      =2 range test

    Annotate loops with Parallelization decisions
      =1 parallelizes outermost loops (default)
      =2 parallelizes every loop
      =3 parallelizes outermost loops with report
      =4 parallelizes every loop with report

    Perform scalar/array privatization analysis

    Specifies the accuracy of symbolic analysis with value ranges
      =0 disable range computation (minimal symbolic analysis)
      =1 enable local range computation (default)
      =2 enable inter-procedural computation (experimental)

    Perform reduction variable analysis
      =1 enable only scalar reduction analysis (default)
      =2 enable array reduction analysis and transformation

    Perform induction variable substitution

    Normalize for loops so they begin at 0 and have a step of 1

    Normalize return statements for all procedures

    Inserts loop-profiling calls
      =1 every loop          =2 outermost loop
      =3 every omp parallel  =4 outermost omp parallel
      =5 every omp for       =6 outermost omp for

    Eliminates unreachable branch targets
      =0 disable (default)
      =1 enable
      =2 leave old statements as comments

    (Experimental) Perform simple subroutine inline expansion tranformation
      =0 inline inside main function (default)
      =1 inline inside selected functions provided in the "functions" sub-option
      =2 inline selected functions provided in the "functions" sub-option, when invoked
      =3 inline according to the "inlinein" pragmas
      =4 inline according to both "inlinein" and "inline" pragmas
      =0 perform inlining recursively i.e. within callees (and their callees) as well (default)
      =1 perform 1-level inlining 
      =0 do not honor "noinlinein" and "noinline" pragmas
      =1 honor "noinlinein" and "noinline" pragmas (default)
      =0 remove inlined (and other) functions if they are no longer executed (default)
      =1 do not remove the inlined (and other) functions even if they are no longer executed
      =0 try to inline all function calls depending on other options (default)
      =1 try to inline function calls inside for loops only 
      =0 consider the functions provided in the command line with "functions" sub-option (default)
      =1 consider all functions except the ones provided in the command line with "functions" sub-option
      =[comma-separated list] consider the provided functions. 
      (Note 1: This sub-option is meaningful for modes 1 and 2 only) 
      (Note 2: It is used with "complement" sub-option to determine which functions should be considered.)

    Transform all statements so they contain at most one function call

    Transform all variable declarations so they contain at most one declarator

    Transform all procedures so they have a single return statement

    Generate OpenMP pragma
      =1 comment out existing OpenMP pragmas (default)
      =2 remove existing OpenMP pragmas
      =3 remove existing OpenMP and Cetus pragmas
      =4 keep all pragmas

    Inserts runtime for selecting profitable omp parallel region (See the API documentation for more details)
      =0 disable
      =1 Model-based loop selection (default)
      =2 Profile-based loop selection