Added comment
[libfirm] / ir / ir / iropt_t.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/ir/iropt_t.h
4  * Purpose:     iropt --- optimizations intertwined with IR construction -- private header.
5  * Author:      Martin Trapp, Christian Schaefer
6  * Modified by: Goetz Lindenmaier
7  * Created:
8  * CVS-ID:      $Id$
9  * Copyright:   (c) 1998-2003 Universität Karlsruhe
10  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
11  */
12
13 /**
14 * @file iropt_t.h
15 *
16 * Declarations for optimizations intertwined with IR construction.
17 *
18 * @author Martin Trapp, Christian Schaefer
19 */
20
21 # ifndef _IROPT_T_H_
22 # define _IROPT_T_H_
23
24 # include "pset.h"
25 # include "iropt.h"
26
27 ir_node *equivalent_node (ir_node *n);
28
29 /*@{*/
30
31 /** For cse */
32 pset *new_identities (void);
33 void  del_identities (pset *value_table);
34 void  add_identities (pset *value_table, ir_node *node);
35 /*@}*/
36
37 ir_node *optimize_node (ir_node *n);
38
39 ir_node *optimize_in_place_2 (ir_node *n);
40
41
42 # endif /* _IROPT_T_H_ */