coins.driver
クラス F77Driver

java.lang.Object
  |
  +--coins.driver.Driver
        |
        +--coins.driver.F77Driver
すべての実装インタフェース:
CompilerImplementation
直系の既知のサブクラス:
FCoCo

public class F77Driver
extends Driver

A FORTRAN compiler driver.


フィールドの概要
protected static java.lang.String LIBF2C_LOCATION
           
 
クラス coins.driver.Driver から継承したフィールド
ASSEMBLER_NAME_OPTION, CG_PARALLEL, CHECK_HIR_OPTION, CHECK_SYMBOL_TABLE_OPTION, COARSE_GRAIN_PARALLEL, COINS_OPTION_DELIMITER, DEBUG_OPTION, DEFAULT_ASSEMBLER_NAME, DEFAULT_LINKER_NAME, DEFAULT_LINKER_OPTIONS_PROPERTY, DEFAULT_LIR_OPTION, DEFAULT_OPTIMIZATION_LEVEL, DEFAULT_PREPROCESSOR_NAME, DEFAULT_SETTING, defaultSettings, DUMP_HIR_OPTION, DUMP_HIR_OPTION_DELIMITER, FLOW_ANAL_OPTION_DELIMITER, HIR_FLOW_ANAL_OPTION, HIR_OPT_ARG_FROMC, HIR_OPT_OPTION, HIR_OPTIMIZATION_ARGS, HIR_TO_C_OPTION, HIR_TO_C_OPTION_DELIMITER, hirFlowRoot, LINKER_NAME_OPTION, LIR_OPTIMIZATION_ARGS, LIR_TO_C_OPTION, LIR_TO_C_OPTION_DELIMITER, MACRO_DATA_FLOW_OPTION, MAX_OPTIMIZATION_LEVEL, myName, NEW_LIR_OPTION, OLD_LIR_OPTION, OPENMP_OPTION, OPT_OPTION_DELIMITER, OUT_NEW_LIR_OPTION, PARALLEL_DO_ALL, PREPROCESSOR_NAME_OPTION, SIMULATE_OPTION, SSA_OPTIMIZATION_ARGS, SSA_OPTION, STOP_AFTER_HIR_TO_C_OPTION, STOP_AFTER_LIR_TO_C_OPTION, SYSTEM_INCLUDE_PATH_PROPERTY, TARGET_ARCH_OPTION, TARGET_CONVENTION_OPTION, VERBOSE_FLAG
 
コンストラクタの概要
F77Driver()
           
 
メソッドの概要
static void main(java.lang.String[] args)
          A main function to invoke a FORTRAN driver instance.
protected  HIR makeHirFromFortranSource(java.io.File sourceFile, HirRoot hirRoot, java.io.InputStream in, IoRoot io)
          HIR tree creation from source code.
protected  void makeHirFromSource(java.io.File sourceFile, HirRoot hirRoot, Suffix suffix, java.io.InputStream in, IoRoot io)
          HIR tree creation from source code.
protected  void setDefaultLinkerOptions(CompileSpecification spec, java.util.List options)
          Sets default linker options.
 
クラス coins.driver.Driver から継承したメソッド
assemble, basicHIROptimizations, callHirBaseToC, callLirToC, checkHirToCStopCondition, checkLIROptionsIntegrity, checkLirToCStopCondition, compile, dumpHirBase, dumpHirBase, dumpHirBase, go, includedInDelimitedList, link, makeCommandLine, makeCSourceFromHirBase, makeCSourceFromHirBase, makeCSourceFromLir, makeCSourceFromLir, makeHIRFlowAnalysis, makeLIRFromLIRSource, makeNewLirFromHir, matchDumpHirTiming, matchHirToCTiming, matchLirToCTiming, optimizeHirAfterFlowAnalysis, optimizeHirBeforeFlowAnalysis, preprocess, processSimulate, runProgram, runProgram, runProgram, separateDelimitedList, setOptimizationOptions, setSystemIncludePathOptions, testHir, testSym
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

LIBF2C_LOCATION

protected static final java.lang.String LIBF2C_LOCATION
関連項目:
定数フィールド値
コンストラクタの詳細

F77Driver

public F77Driver()
メソッドの詳細

main

public static void main(java.lang.String[] args)
A main function to invoke a FORTRAN driver instance.

パラメータ:
args - a command line.

setDefaultLinkerOptions

protected void setDefaultLinkerOptions(CompileSpecification spec,
                                       java.util.List options)
Sets default linker options.
  1. Sets default linker options specified in the default settings.
  2. Sets a -L option if the location of libf2c is specified in the default settings.
  3. Sets a -lf2c option.

オーバーライド:
クラス Driver 内の setDefaultLinkerOptions
パラメータ:
spec - a CompileSpecification object.
options - a list of linker options where the options to be set.

makeHirFromFortranSource

protected HIR makeHirFromFortranSource(java.io.File sourceFile,
                                       HirRoot hirRoot,
                                       java.io.InputStream in,
                                       IoRoot io)
                                throws java.io.IOException,
                                       PassException
HIR tree creation from source code.

パラメータ:
sourceFile - the source file.
hirRoot - an HirRoot object.
in - an input stream from which the C source program can be read.
io - an IoRoot object.
例外:
java.io.IOException - any IO error.
PassException - unrecoverable error(s) found in processing.

makeHirFromSource

protected void makeHirFromSource(java.io.File sourceFile,
                                 HirRoot hirRoot,
                                 Suffix suffix,
                                 java.io.InputStream in,
                                 IoRoot io)
                          throws java.io.IOException,
                                 PassException
HIR tree creation from source code.

オーバーライド:
クラス Driver 内の makeHirFromSource
パラメータ:
sourceFile - the source file.
hirRoot - an HirRoot object
suffix - suffix rule of the source file.
in - an input stream from which the C source program can be read
io - an IoRoot object
例外:
java.io.IOException - any IO error
PassException - unrecoverable error(s) found in processing