Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Lowering Class Reference

Driver module for OSUIF lowering pass. More...

Inheritance diagram for Lowering:

Module List of all members.

Public Methods

 Lowering (SuifEnv* suif_env, const LString& moduleName)
Moduleclone () const
 generates a new copy of the current instance if necessary The implementor of a subclass is responsible for overriding this method if the implementation has a unique state the default implementation returns the current instance.

virtual void initialize ()
 initializes the modules. More...

bool parse_command_line (TokenStream* stream )
 parses the input for this Module.

virtual void execute ()
 executes the Module parse_command_line should be called before this method is invoked.


Public Attributes

String _input_file
String _output_file

Protected Attributes

LoweringPass_pass


Detailed Description

Driver module for OSUIF lowering pass.

We somewhat abuse the module mechanism in this class because command line parsing is forwarded to the OSUIF lowering pass.


Constructor & Destructor Documentation

Lowering::Lowering ( SuifEnv * suif_env,
const LString & moduleName)


Member Function Documentation

Module * Lowering::clone ( void) const [inline, virtual]

generates a new copy of the current instance if necessary The implementor of a subclass is responsible for overriding this method if the implementation has a unique state the default implementation returns the current instance.

Reimplemented from Module.

void Lowering::execute ( void) [inline, virtual]

executes the Module parse_command_line should be called before this method is invoked.

Reimplemented from Module.

void Lowering::initialize ( void) [inline, virtual]

initializes the modules.

This method must/will be called before a call to parse_command_line or execute

Reimplemented from Module.

bool Lowering::parse_command_line ( TokenStream * stream) [inline, virtual]

parses the input for this Module.

Reimplemented from Module.


Member Data Documentation

String Lowering::_input_file

String Lowering::_output_file

LoweringPass * Lowering::_pass [protected]


The documentation for this class was generated from the following file:
Generated at Mon Jul 31 13:44:00 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000