coins.mdf
Class MdfDriver

java.lang.Object
  extended bycoins.mdf.MdfDriver

public class MdfDriver
extends java.lang.Object

The driver of the MDF module. This class divides the input HIR into several macro tasks and construct the macro flow graph. And also, it makes the dynamic scheduler.


Field Summary
(package private)  HirRoot hirRoot
          The current HirRoot
 
Constructor Summary
MdfDriver(HirRoot hRoot, IoRoot iRoot, CompileSpecification spc)
          Constructor:
MdfDriver(HirRoot hRoot, IoRoot iRoot, CompileSpecification spc, SnapShot snapshot)
          Constructor:
 
Method Summary
 void hir2OpenMP(HirRoot pHirRoot, SymRoot pSymRoot, IoRoot pIoRoot, LoopPara pLoopPara)
           
 void invoke()
          Doing the macro data flow process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hirRoot

final HirRoot hirRoot
The current HirRoot

Constructor Detail

MdfDriver

public MdfDriver(HirRoot hRoot,
                 IoRoot iRoot,
                 CompileSpecification spc)
Constructor:

Parameters:
hRoot - The current HirRoot
iRoot - The current IoRoot
spc - The current compiler specification

MdfDriver

public MdfDriver(HirRoot hRoot,
                 IoRoot iRoot,
                 CompileSpecification spc,
                 SnapShot snapshot)
Constructor:

Parameters:
hRoot - The current HirRoot
iRoot - The current IoRoot
spc - The current compiler specification
snapshot - The XML generator
Method Detail

invoke

public void invoke()
            throws PassException
Doing the macro data flow process.

Throws:
PassException

hir2OpenMP

public void hir2OpenMP(HirRoot pHirRoot,
                       SymRoot pSymRoot,
                       IoRoot pIoRoot,
                       LoopPara pLoopPara)
                throws java.io.IOException,
                       PassException
Throws:
java.io.IOException
PassException