libFirm
irpass.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1995-2009 University of Karlsruhe. All right reserved.
3  *
4  * This file is part of libFirm.
5  *
6  * This file may be distributed and/or modified under the terms of the
7  * GNU General Public License version 2 as published by the Free Software
8  * Foundation and appearing in the file LICENSE.GPL included in the
9  * packaging of this file.
10  *
11  * Licensees holding valid libFirm Professional Edition licenses may use
12  * this file in accordance with the libFirm Commercial License.
13  * Agreement provided with the Software.
14  *
15  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17  * PURPOSE.
18  */
19 
25 #ifndef FIRM_IR_PASS_H
26 #define FIRM_IR_PASS_H
27 
28 #include "firm_types.h"
29 #include "begin.h"
30 
41  int verify_all,
42  int dump_all);
43 
51  ir_graph_pass_t *pass);
52 
61 
68 
79  int verify_all,
80  int dump_all);
81 
89  ir_prog_pass_t *pass);
90 
98  ir_graph_pass_manager_t *graph_mgr);
99 
107  ir_graph_pass_t *pass);
108 
117 
124 
132  ir_graph_pass_manager_t *mgr, unsigned run_idx);
133 
145  const char *name, void (*function)(ir_graph *irg));
146 
158  const char *name, int (*function)(ir_graph *irg));
159 
172  ir_graph_pass_t *memory,
173  const char *name, int (*function)(ir_graph *irg, void *context));
174 
184 
196  const char *name, void (*function)(void));
197 
210  ir_prog_pass_t *memory,
211  const char *name, int (*function)(ir_prog *irp, void *context));
212 
224  const char *name, void (*function)(void *context), void *context);
225 
233  ir_prog_pass_manager_t *mgr, unsigned run_idx);
234 
235 #include "end.h"
236 
237 #endif