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

RemoveIfAndLoopPass Class Reference

Dismantles if statements and do & while loops. More...

#include <region_passes.h>

Inheritance diagram for RemoveIfAndLoopPass:

PipelinablePass Pass Module List of all members.

Public Methods

 RemoveIfAndLoopPass (SuifEnv *the_env, const LString &name = "dismantle_ifs_and_loops")
Moduleclone () const
 May return "this" if the pass has no state.

void initialize ()
 Initialize the pass.

void do_procedure_definition (ProcedureDefinition *proc_def)
 Override this if computation is to be applied to a procedure_definition. More...


Protected Attributes

OptionLiteral_preserve_ifs


Detailed Description

Dismantles if statements and do & while loops.

CFors are dismantled and for loops are preserved.


Constructor & Destructor Documentation

RemoveIfAndLoopPass::RemoveIfAndLoopPass ( SuifEnv * the_env,
const LString & name = "dismantle_ifs_and_loops")


Member Function Documentation

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

May return "this" if the pass has no state.

Reimplemented from PipelinablePass.

void RemoveIfAndLoopPass::do_procedure_definition ( ProcedureDefinition * proc_def) [virtual]

Override this if computation is to be applied to a procedure_definition.

The default is empty.

Reimplemented from PipelinablePass.

void RemoveIfAndLoopPass::initialize ( void) [virtual]

Initialize the pass.

Reimplemented from PipelinablePass.


Member Data Documentation

OptionLiteral * RemoveIfAndLoopPass::_preserve_ifs [protected]


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