00001 #ifndef CONSTANT_FOLD_H 00002 #define CONSTANT_FOLD_H 00003 00004 #include "suifpasses/suifpasses.h" 00005 #include "suifnodes/suif.h" 00006 00007 class ConstantFolderPass : public PipelinablePass { 00008 public: 00009 ConstantFolderPass(SuifEnv *pEnv); 00010 Module* clone() const { return (Module*)this; } 00011 void do_procedure_definition(ProcedureDefinition *proc_def); 00012 }; 00013 #endif