#include <region_passes.h>
Inheritance diagram for CFor2ForPass:
Public Methods | |
CFor2ForPass (SuifEnv *the_env) | |
void | initialize () |
Initialize the pass. | |
Module* | clone () const |
May return "this" if the pass has no state. | |
void | do_procedure_definition (ProcedureDefinition *proc_def) |
Override this if computation is to be applied to a procedure_definition. More... | |
virtual void | finalize () |
Override this if computation is to be executed after all processing is done. More... | |
Static Public Methods | |
bool | convert_cfor2for (CForStatement* cfor, bool verbose) |
Test if cfor is a legal SUIF for statement. More... | |
Protected Attributes | |
OptionLiteral* | _verbose |
Static Protected Attributes | |
unsigned int | conversion_count = 0 |
|
|
|
Test if cfor is a legal SUIF for statement.
At this point, only look at loops of form for(int i=10; i<20; i=+2)
|
Override this if computation is to be applied to a procedure_definition.
The default is empty.
Reimplemented from PipelinablePass.
|
Override this if computation is to be executed after all processing is done.
The default is empty.
Reimplemented from PipelinablePass.
|
|
|