|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.driver.Driver
coins.lparallel.LoopPara
coins.lparallel.F77LoopPara
A driver implementation using COINS Compiler Driver API.
| Field Summary | |
protected static java.lang.String |
DEFAULT_OPENMP_NAME
|
protected static java.lang.String |
LIBF2C_LOCATION
|
| Fields inherited from class coins.lparallel.LoopPara |
fHir2CFile, fOpenMPTmpFileName, fstophir2c, fSubprogramsToBeParallelized, fTemporaryFileManager |
| Constructor Summary | |
F77LoopPara()
|
|
| Method Summary | |
void |
compile(java.io.File sourceFile,
Suffix suffix,
java.io.InputStream in,
java.io.OutputStream out,
IoRoot io)
Compiler. This sample compiler has eight passes: C source to HIR-C(*), HIR-C to HIR-Base(*), Flow analysis on HIR(*), Optimization and Parallelization on HIR, HIR to LIR(*), Assembly code generation(*). |
static void |
main(java.lang.String[] args)
A main function. |
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. |
| Methods inherited from class coins.lparallel.LoopPara |
assemble, cleanup, getSubprogramsToBeParallelized, go, hir2OpenMP, link, LoopParallel, makeCSourceFromHirBase, OpenMPCompile, optimizeHir, testHir, testSym |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.lang.String LIBF2C_LOCATION
protected static final java.lang.String DEFAULT_OPENMP_NAME
| Constructor Detail |
public F77LoopPara()
| Method Detail |
public void compile(java.io.File sourceFile,
Suffix suffix,
java.io.InputStream in,
java.io.OutputStream out,
IoRoot io)
throws java.io.IOException,
PassException
compile in interface CompilerImplementationcompile in class LoopParasourceFile - the source file name.in - input.out - output.
java.io.IOException
PassException
protected void setDefaultLinkerOptions(CompileSpecification spec,
java.util.List options)
setDefaultLinkerOptions in class Driverspec - a CompileSpecification object.options - a list of linker options where the options to be set.
protected HIR makeHirFromFortranSource(java.io.File sourceFile,
HirRoot hirRoot,
java.io.InputStream in,
IoRoot io)
throws java.io.IOException,
PassException
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.
protected void makeHirFromSource(java.io.File sourceFile,
HirRoot hirRoot,
Suffix suffix,
java.io.InputStream in,
IoRoot io)
throws java.io.IOException,
PassException
Driver
makeHirFromSource in class DriversourceFile - 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.
PassException - unrecoverable error(s) found in processing.
java.io.IOException - any IO error.public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||