coins.backend
Class Root

java.lang.Object
  extended bycoins.backend.Root

public class Root
extends java.lang.Object

BackEnd global variables


Field Summary
 java.lang.String additionalPass
          Optional pass spec.
 java.io.PrintWriter debOut
          Stream to print debugging information.
 boolean dispIntervalTime
          Flag indicating whether or not print laptime.
 boolean GCflush
           
 boolean javaCG
          Code generator in Java
 boolean liveRangeSplitting
          True if live range splitting will be taken place.
 boolean optLoopInversion
          Loop Inversion Flag.
 boolean sourceDebugInfo
          Whether or not generating source-level debugging information.
 CompileSpecification spec
          Compiler command line options
 IntervalTimer timer
          Interval Timer Object.
 Trace trace
           
 
Constructor Summary
Root(CompileSpecification spec, java.io.PrintWriter debOut)
          Create BackEnd's global variables.
Root(CompileSpecification spec, java.io.PrintWriter debOut, java.io.OutputStream asmOut)
          Deprecated.  
 
Method Summary
 void addHook(java.lang.String name, java.lang.Object val)
          Add a new value to named hook.
 java.io.PrintWriter asmWriter()
          Deprecated.  
 void attach(java.lang.String className)
          Load extension module.
 java.lang.Object getHook(java.lang.String name)
          Return value of hook.
static void init(CompileSpecification spec)
          Obsolete initializer...
 boolean isOptionSet(java.lang.String optionName)
          Return options
 void registerTransformer(Transformer trans)
          Register transformer to named hook.
 void setAsmStream(java.io.OutputStream stream)
          Deprecated.  
 void setHook(java.lang.String name, java.lang.Object val)
          Set a new value to named hook.
 void setSimulationData(java.lang.Object data)
          Set data object for simulator.
 java.lang.Object simulationData()
          Return data object for simulator.
 boolean traceOK(java.lang.String tag, int thresh)
          Return true if trace designated tag should be done.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debOut

public final java.io.PrintWriter debOut
Stream to print debugging information.


sourceDebugInfo

public final boolean sourceDebugInfo
Whether or not generating source-level debugging information.


optLoopInversion

public final boolean optLoopInversion
Loop Inversion Flag.


liveRangeSplitting

public final boolean liveRangeSplitting
True if live range splitting will be taken place.


dispIntervalTime

public final boolean dispIntervalTime
Flag indicating whether or not print laptime.


GCflush

public final boolean GCflush

timer

public final IntervalTimer timer
Interval Timer Object.


spec

public final CompileSpecification spec
Compiler command line options


trace

public final Trace trace

javaCG

public final boolean javaCG
Code generator in Java


additionalPass

public final java.lang.String additionalPass
Optional pass spec.

Constructor Detail

Root

public Root(CompileSpecification spec,
            java.io.PrintWriter debOut,
            java.io.OutputStream asmOut)
Deprecated.  

Create BackEnd's global variables.


Root

public Root(CompileSpecification spec,
            java.io.PrintWriter debOut)
Create BackEnd's global variables.

Method Detail

init

public static void init(CompileSpecification spec)
Obsolete initializer...


isOptionSet

public boolean isOptionSet(java.lang.String optionName)
Return options


attach

public void attach(java.lang.String className)
Load extension module.


setAsmStream

public void setAsmStream(java.io.OutputStream stream)
Deprecated.  

Set assembler output stream.


asmWriter

public java.io.PrintWriter asmWriter()
Deprecated.  

Return assembler output stream.


setSimulationData

public void setSimulationData(java.lang.Object data)
Set data object for simulator.


simulationData

public java.lang.Object simulationData()
Return data object for simulator.


traceOK

public boolean traceOK(java.lang.String tag,
                       int thresh)
Return true if trace designated tag should be done.


registerTransformer

public void registerTransformer(Transformer trans)
Register transformer to named hook.


setHook

public void setHook(java.lang.String name,
                    java.lang.Object val)
Set a new value to named hook.

Parameters:
name - name of hook.
val - value set to hook.

addHook

public void addHook(java.lang.String name,
                    java.lang.Object val)
Add a new value to named hook.

Parameters:
name - name of hook.
val - value added to hook.

getHook

public java.lang.Object getHook(java.lang.String name)
Return value of hook.

Parameters:
name - name of hook.
Returns:
list of hook objects.