beifg: Remove the unused function be_ifg_nodes_break().
[libfirm] / include / libfirm / ircgopt.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 University of Karlsruhe.
4  */
5
6 /**
7  * @file
8  * @brief   Removal of unreachable methods.
9  * @author  Hubert Schmid
10  * @date    09.06.2002
11  * @brief
12  *  Removal of unreachable methods. The set of unreachable methods is computed
13  *  by the callgraph.
14  */
15 #ifndef FIRM_IR_ICGOPT_H
16 #define FIRM_IR_ICGOPT_H
17
18 #include <stddef.h>
19
20 #include "firm_types.h"
21 #include "begin.h"
22
23 /**
24  * Removes all methods which are not reachable from "keep_arr".
25  *
26  * Frees all interprocedural loop information.
27  */
28 FIRM_API void gc_irgs(size_t n_keep, ir_entity *keep_arr[]);
29
30 /**
31  * Creates an ir_prog pass for gc_irgs().
32  *
33  * @param name     the name of this pass or NULL
34  * @return  the newly created ir_graph pass
35  */
36 FIRM_API ir_prog_pass_t *gc_irgs_pass(const char *name);
37
38 #include "end.h"
39
40 #endif