fixed const mismatch
[libfirm] / ir / ana2 / pto_init.h
index 2cce353..e972e87 100644 (file)
@@ -1,39 +1,72 @@
 /* -*- c -*- */
 
 /*
* Project:     libFIRM
- * File name:   ir/ana2/pto_init.c
- * Purpose:     Pto Initialization
* Author:      Florian
* Modified by:
* Created:     Mon 18 Oct 2004
* CVS-ID:      $Id$
* Copyright:   (c) 1999-2004 Universität Karlsruhe
* Licence:     This file is protected by GPL -  GNU GENERAL PUBLIC LICENSE.
- */
  Project:     libFIRM
+   File name:   ir/ana/pto_init.h
+   Purpose:     ...
  Author:      Florian
  Modified by:
  Created:     Sat Nov 13 19:35:27 CET 2004
  CVS-ID:      $Id$
  Copyright:   (c) 1999-2004 Universität Karlsruhe
  Licence:     This file is protected by the GPL -  GNU GENERAL PUBLIC LICENSE.
+*/
 
-# ifndef _PTO_INIT_H_
-# define _PTO_INIT_H_
 
-void pto_init_node (ir_node*);
+# ifndef _PTO_INIT_
+# define _PTO_INIT_
+
+# include "irgraph.h"
+# include "ecg.h"
+
+/* ===================================================
+   Global Defines:
+   =================================================== */
+
+/* ===================================================
+ Global Data Types:
+ =================================================== */
+
+/* ===================================================
+   Global Prototypes:
+   =================================================== */
+/* "Fake" the arguments to the main method */
+void fake_main_args (ir_graph*);
+
+/* Initialise the Init module */
+void pto_init_init (void);
+
+/* Cleanup the Init module */
+void pto_init_cleanup (void);
+
+/* Initialise the Names of the Types/Entities */
+void pto_init_type_names (void);
+
+/* Initialise the given graph */
+void pto_init_graph (ir_graph*);
+
+/* Reset the given graph for a new pass run */
+void pto_reset_graph_pto (ir_graph*, int);
+
+/* ===================================================
+   Global Variables:
+   =================================================== */
+
+
+# endif /* not defined _PTO_INIT_ */
 
-# endif /* not defined _PTO_INIT_H_ */
 
 \f
 /*
- * $Log$
- * Revision 1.1  2004/11/04 14:58:59  liekweg
- * added initialisation
- *
- * Revision 1.3  2004/10/25 11:59:45  liekweg
- * Copy Only works
- *
- * Revision 1.2  2004/10/21 11:09:37  liekweg
- * Moved memwalk stuf into irmemwalk
- * Moved lset stuff into lset
- * Moved typalise stuff into typalise
- *
- * Revision 1.1  2004/10/20 14:59:42  liekweg
- * Added ana2, added ecg and pto
- *
- */
+  $Log$
+  Revision 1.4  2004/11/24 14:53:56  liekweg
+  Bugfixes
+
+  Revision 1.3  2004/11/20 21:21:56  liekweg
+  Finalise initialisation
+
+  Revision 1.2  2004/11/18 16:37:07  liekweg
+  rewrite
+
+
+*/