coins.drivergen
クラス Options

java.lang.Object
  |
  +--coins.drivergen.Options

public class Options
extends java.lang.Object


フィールドの概要
static java.lang.String ASSEMBLER_NAME_OPTION
          An option name to specify an assembler command name.
static java.lang.String CHECK_HIR_OPTION
          An option name to specify whether HIR is checked before converting HIR to LIR.
static java.lang.String CHECK_SYMBOL_TABLE_OPTION
          An option name to specify whether a Symbol Table is checked before converting HIR to LIR.
 CoinsOptions coinsOptions
          CoinsOptions
static java.lang.String DEBUG_OPTION
          Option name to specify debuggin mode.
static java.lang.String DEFAULT_ASSEMBLER_NAME
          A default assembler command name, which is used to invoke a process if not specified by a corresponding compile option.
static java.lang.String DEFAULT_LINKER_NAME
          A default linker command name, which is used to invoke a process if not specified by a corresponding compile option.
static java.lang.String DEFAULT_LIR_OPTION
          A default option name to specify whether version of LIR shuould be used.
static int DEFAULT_OPTIMIZATION_LEVEL
          The implied optimization level when -O option is specified without a level.
static java.lang.String DEFAULT_PREPROCESSOR_NAME
          A default preprocessor command name, which is used to invoke a process if not specified by a corresponding compile option.
static java.lang.String DEFAULT_SETTING
          A default setting file name.
static java.lang.String DUMP_HIR_OPTION
          An option name to specify dump HIR-Base at specified timings.
static char DUMP_HIR_OPTION_DELIMITER
          A delimiter sign to delimit arguments of DUMP_HIR_OPTION.
static char FLOW_ANAL_OPTION_DELIMITER
          A delimiter sign to delimit arguments of HIR_FLOW_ANAL_OPTION.
static java.lang.String HIR_FLOW_ANAL_OPTION
          An option name to invoke HIR flow analysis.
static java.lang.String HIR_OPT_ARG_FROMC
          An option argument for HIR_OPT_OPTION
static java.lang.String HIR_OPT_OPTION
          An option name to invoke HIR optimization
static java.lang.String HIR_TO_C_OPTION
          An option name to specify when HIR-Base to C should be invoked.
static char HIR_TO_C_OPTION_DELIMITER
          A delimiter sign to delimit arguments of HIR_TO_C_OPTION.
static java.io.InputStream in
          input which is the argument of process
static IoRoot io
          IoRoot which is the argument of process
static java.lang.String LINKER_NAME_OPTION
          An option name to specify a linker command name.
static java.lang.String LIR_TO_C_OPTION
          An option name to specify when LIR to C should be invoked.
static char LIR_TO_C_OPTION_DELIMITER
          A delimiter sign to delimit arguments of LIR_TO_C_OPTION.
static java.lang.String MACRO_DATA_FLOW_OPTION
          An option name to invoke SMP parallelization.
static int MAX_OPTIMIZATION_LEVEL
          The maximum optimization level specified by -O option.
protected  java.lang.String myName
          A name in trace messages.
static java.lang.String NEW_LIR_OPTION
          An option name to specify a new version of LIR shuould be used.
static java.lang.String OLD_LIR_OPTION
          An option name to specify an old version of LIR shuould be used.
static char OPT_OPTION_DELIMITER
          A delimiter sign to delimit arguments of HIR_OPT_OPTION.
static java.io.OutputStream out
          output which is the argument of process
static java.lang.String OUT_NEW_LIR_OPTION
          A suffix option to write a new LIR source as compile output.
static java.lang.String PREPROCESSOR_NAME_OPTION
          An option name to specify a preprocessor command name.
static java.io.File sourceFile
          source file name which is the argument of the process
 CompileSpecification spec
          Compilespecification
static java.lang.String SSA_OPTION
          An option name to specify SSA options.
static java.lang.String STOP_AFTER_HIR_TO_C_OPTION
          An option name to terminate compilation of current file after HIR-Base to C is performed.
static java.lang.String STOP_AFTER_LIR_TO_C_OPTION
          An option name to terminate compilation of current file after LIR to C is performed.
static Suffix suffix
          suffix rule of the source file which is the argument of process
static java.lang.String SYSTEM_INCLUDE_PATH_PROPERTY
          A default setting property name of system include path options.
static java.lang.String TARGET_ARCH_OPTION
          An option name to specify target architecture.
static java.lang.String TARGET_CONVENTION_OPTION
          An option name to specify target architecture convention.
 Trace trace
          trace message class
 
コンストラクタの概要
Options(java.io.File sourceFile, Suffix suffix, java.io.InputStream in, java.io.OutputStream out, IoRoot io)
          Save the options
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

sourceFile

public static java.io.File sourceFile
source file name which is the argument of the process


suffix

public static Suffix suffix
suffix rule of the source file which is the argument of process


in

public static java.io.InputStream in
input which is the argument of process


out

public static java.io.OutputStream out
output which is the argument of process


io

public static IoRoot io
IoRoot which is the argument of process


myName

protected java.lang.String myName
A name in trace messages. Derived classes can override it.


spec

public CompileSpecification spec
Compilespecification


coinsOptions

public CoinsOptions coinsOptions
CoinsOptions


trace

public Trace trace
trace message class


DEFAULT_PREPROCESSOR_NAME

public static final java.lang.String DEFAULT_PREPROCESSOR_NAME
A default preprocessor command name, which is used to invoke a process if not specified by a corresponding compile option.

関連項目:
定数フィールド値

DEFAULT_ASSEMBLER_NAME

public static final java.lang.String DEFAULT_ASSEMBLER_NAME
A default assembler command name, which is used to invoke a process if not specified by a corresponding compile option.

関連項目:
定数フィールド値

DEFAULT_LINKER_NAME

public static final java.lang.String DEFAULT_LINKER_NAME
A default linker command name, which is used to invoke a process if not specified by a corresponding compile option.

関連項目:
定数フィールド値

PREPROCESSOR_NAME_OPTION

public static final java.lang.String PREPROCESSOR_NAME_OPTION
An option name to specify a preprocessor command name. When "-coins:preprocessor=foo" is specified as a compile option, a command foo is used to invoke a process instead of the default setting.

関連項目:
定数フィールド値

ASSEMBLER_NAME_OPTION

public static final java.lang.String ASSEMBLER_NAME_OPTION
An option name to specify an assembler command name. When "-coins:assembler=foo" is specified as a compile option, a command foo is used to invoke a process instead of the default setting.

関連項目:
定数フィールド値

LINKER_NAME_OPTION

public static final java.lang.String LINKER_NAME_OPTION
An option name to specify a linker command name. When "-coins:linker=foo" is specified as a compile option, a command foo is used to invoke a process instead of the default setting.

関連項目:
定数フィールド値

HIR_TO_C_OPTION

public static final java.lang.String HIR_TO_C_OPTION
An option name to specify when HIR-Base to C should be invoked. When -coins:hir2c=t1/t2/.../tn is specified, the HIR base structure is translated into a C source program and written to a file named as foo-hir-t.c, where t should be one of timing specifiers, and foo is the original file name root of the source program. Valid timing specifiers are: The timing specifiers can be altered and expanded in the derived drivers.

関連項目:
定数フィールド値

DUMP_HIR_OPTION

public static final java.lang.String DUMP_HIR_OPTION
An option name to specify dump HIR-Base at specified timings. When -coins:dumphir=t1/t2/.../tn is specified, the HIR-Base structure is dumped into a file named as foo-t.hir, where t is one of timing specifiers, and foo is the original file name root of the source program. Valid timing specifiers are: The timing specifiers can be altered and expanded in the derived drivers.

関連項目:
定数フィールド値

LIR_TO_C_OPTION

public static final java.lang.String LIR_TO_C_OPTION
An option name to specify when LIR to C should be invoked. When -coins:lir2c=t1/t2/.../tn is specified, the LIR structure is translated into a C source program and written to a file named as foo-lir-t.c, where t should be one of timing specifiers, and foo is the original file name root of the source program. Valid timing specifiers are:
  • new, just after the creation,
  • flo, after the data flow analysis and
  • opt, after the optimization.
The timing specifiers can be altered and expanded in the derived drivers.

関連項目:
定数フィールド値

HIR_TO_C_OPTION_DELIMITER

public static final char HIR_TO_C_OPTION_DELIMITER
A delimiter sign to delimit arguments of HIR_TO_C_OPTION.

関連項目:
定数フィールド値

DUMP_HIR_OPTION_DELIMITER

public static final char DUMP_HIR_OPTION_DELIMITER
A delimiter sign to delimit arguments of DUMP_HIR_OPTION.

関連項目:
定数フィールド値

LIR_TO_C_OPTION_DELIMITER

public static final char LIR_TO_C_OPTION_DELIMITER
A delimiter sign to delimit arguments of LIR_TO_C_OPTION.

関連項目:
定数フィールド値

STOP_AFTER_HIR_TO_C_OPTION

public static final java.lang.String STOP_AFTER_HIR_TO_C_OPTION
An option name to terminate compilation of current file after HIR-Base to C is performed.

関連項目:
定数フィールド値

STOP_AFTER_LIR_TO_C_OPTION

public static final java.lang.String STOP_AFTER_LIR_TO_C_OPTION
An option name to terminate compilation of current file after LIR to C is performed.

関連項目:
定数フィールド値

HIR_FLOW_ANAL_OPTION

public static final java.lang.String HIR_FLOW_ANAL_OPTION
An option name to invoke HIR flow analysis.

関連項目:
定数フィールド値

FLOW_ANAL_OPTION_DELIMITER

public static final char FLOW_ANAL_OPTION_DELIMITER
A delimiter sign to delimit arguments of HIR_FLOW_ANAL_OPTION.

関連項目:
定数フィールド値

MAX_OPTIMIZATION_LEVEL

public static final int MAX_OPTIMIZATION_LEVEL
The maximum optimization level specified by -O option.

関連項目:
定数フィールド値

DEFAULT_OPTIMIZATION_LEVEL

public static final int DEFAULT_OPTIMIZATION_LEVEL
The implied optimization level when -O option is specified without a level.

関連項目:
定数フィールド値

HIR_OPT_OPTION

public static final java.lang.String HIR_OPT_OPTION
An option name to invoke HIR optimization

関連項目:
定数フィールド値

HIR_OPT_ARG_FROMC

public static final java.lang.String HIR_OPT_ARG_FROMC
An option argument for HIR_OPT_OPTION

関連項目:
定数フィールド値

OPT_OPTION_DELIMITER

public static final char OPT_OPTION_DELIMITER
A delimiter sign to delimit arguments of HIR_OPT_OPTION.

関連項目:
定数フィールド値

TARGET_ARCH_OPTION

public static final java.lang.String TARGET_ARCH_OPTION
An option name to specify target architecture.

関連項目:
定数フィールド値

TARGET_CONVENTION_OPTION

public static final java.lang.String TARGET_CONVENTION_OPTION
An option name to specify target architecture convention.

関連項目:
定数フィールド値

CHECK_HIR_OPTION

public static final java.lang.String CHECK_HIR_OPTION
An option name to specify whether HIR is checked before converting HIR to LIR.

関連項目:
定数フィールド値

CHECK_SYMBOL_TABLE_OPTION

public static final java.lang.String CHECK_SYMBOL_TABLE_OPTION
An option name to specify whether a Symbol Table is checked before converting HIR to LIR.

関連項目:
定数フィールド値

OLD_LIR_OPTION

public static final java.lang.String OLD_LIR_OPTION
An option name to specify an old version of LIR shuould be used.

関連項目:
定数フィールド値

NEW_LIR_OPTION

public static final java.lang.String NEW_LIR_OPTION
An option name to specify a new version of LIR shuould be used.

関連項目:
定数フィールド値

DEFAULT_LIR_OPTION

public static final java.lang.String DEFAULT_LIR_OPTION
A default option name to specify whether version of LIR shuould be used.

関連項目:
定数フィールド値

OUT_NEW_LIR_OPTION

public static final java.lang.String OUT_NEW_LIR_OPTION
A suffix option to write a new LIR source as compile output.

関連項目:
定数フィールド値

DEFAULT_SETTING

public static final java.lang.String DEFAULT_SETTING
A default setting file name.

関連項目:
定数フィールド値

SYSTEM_INCLUDE_PATH_PROPERTY

public static final java.lang.String SYSTEM_INCLUDE_PATH_PROPERTY
A default setting property name of system include path options.

関連項目:
定数フィールド値

SSA_OPTION

public static final java.lang.String SSA_OPTION
An option name to specify SSA options.

関連項目:
定数フィールド値

MACRO_DATA_FLOW_OPTION

public static final java.lang.String MACRO_DATA_FLOW_OPTION
An option name to invoke SMP parallelization.

関連項目:
定数フィールド値

DEBUG_OPTION

public static final java.lang.String DEBUG_OPTION
Option name to specify debuggin mode.

関連項目:
定数フィールド値
コンストラクタの詳細

Options

public Options(java.io.File sourceFile,
               Suffix suffix,
               java.io.InputStream in,
               java.io.OutputStream out,
               IoRoot io)
Save the options