Updated header
[libfirm] / ir / ana2 / pto_init.h
1 /* -*- c -*- */
2
3 /*
4  * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
5  *
6  * This file is part of libFirm.
7  *
8  * This file may be distributed and/or modified under the terms of the
9  * GNU General Public License version 2 as published by the Free Software
10  * Foundation and appearing in the file LICENSE.GPL included in the
11  * packaging of this file.
12  *
13  * Licensees holding valid libFirm Professional Edition licenses may use
14  * this file in accordance with the libFirm Commercial License.
15  * Agreement provided with the Software.
16  *
17  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
18  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19  * PURPOSE.
20  */
21
22 /**
23  * @file
24  * @brief     ...
25  * @author    Florian
26  * @date      Sat Nov 13 19:35:27 CET 2004
27  * @version   $Id$
28  */
29 # ifndef FIRM_ANA2_PTO_INIT_H
30 # define FIRM_ANA2_PTO_INIT_H
31
32 # include "irgraph.h"
33 # include "ecg.h"
34
35 /* ===================================================
36    Global Defines:
37    =================================================== */
38
39 /* ===================================================
40  Global Data Types:
41  =================================================== */
42
43 /* ===================================================
44    Global Prototypes:
45    =================================================== */
46 /* "Fake" the arguments to the main method */
47 void fake_main_args (ir_graph*);
48
49 /* Initialise the Init module */
50 void pto_init_init (void);
51
52 /* Cleanup the Init module */
53 void pto_init_cleanup (void);
54
55 /* Initialise the Names of the Types/Entities */
56 void pto_init_type_names (void);
57
58 /* Initialise the given graph */
59 void pto_init_graph (ir_graph*);
60
61 /* Reset the given graph for a new pass run */
62 void pto_reset_graph_pto (ir_graph*, int);
63
64 /* ===================================================
65    Global Variables:
66    =================================================== */
67
68
69 # endif
70
71
72 \f
73 /*
74   $Log$
75   Revision 1.4  2004/11/24 14:53:56  liekweg
76   Bugfixes
77
78   Revision 1.3  2004/11/20 21:21:56  liekweg
79   Finalise initialisation
80
81   Revision 1.2  2004/11/18 16:37:07  liekweg
82   rewrite
83
84
85 */