libFirm 1.20
libfirm/irgopt.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
00003  *
00004  * This file is part of libFirm.
00005  *
00006  * This file may be distributed and/or modified under the terms of the
00007  * GNU General Public License version 2 as published by the Free Software
00008  * Foundation and appearing in the file LICENSE.GPL included in the
00009  * packaging of this file.
00010  *
00011  * Licensees holding valid libFirm Professional Edition licenses may use
00012  * this file in accordance with the libFirm Commercial License.
00013  * Agreement provided with the Software.
00014  *
00015  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00016  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00017  * PURPOSE.
00018  */
00019 
00025 #ifndef FIRM_IR_IRGOPT_H
00026 #define FIRM_IR_IRGOPT_H
00027 
00028 #include "firm_types.h"
00029 #include "begin.h"
00030 
00042 FIRM_API void local_optimize_node(ir_node *n);
00043 
00051 FIRM_API void local_optimize_graph(ir_graph *irg);
00052 
00064 FIRM_API void local_opts(ir_graph *irg);
00065 
00069 FIRM_API int optimize_graph_df(ir_graph *irg);
00070 
00074 FIRM_API void remove_unreachable_code(ir_graph *irg);
00075 
00083 FIRM_API int remove_bads(ir_graph *irg);
00084 
00092 FIRM_API int remove_tuples(ir_graph *irg);
00093 
00101 FIRM_API ir_graph_pass_t *optimize_graph_df_pass(const char *name);
00102 
00112 FIRM_API void remove_critical_cf_edges(ir_graph *irg);
00113 
00124 FIRM_API void remove_critical_cf_edges_ex(ir_graph *irg,
00125                                           int ignore_exception_edges);
00126 
00129 #include "end.h"
00130 
00131 #endif