2c4b369aa0130aa0f836111f77887524db406a42
[libfirm] / ir / ir / iropt_t.h
1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2 ** All rights reserved.
3 **
4 ** Authors: Martin Trapp, Christian Schaefer
5 **
6 ** Declarations for optimizations intertwined with IR construction.
7 */
8
9 /* $Id$ */
10
11 # ifndef _IROPT_T_H_
12 # define _IROPT_T_H_
13
14 # include "pset.h"
15 # include "iropt.h"
16
17 ir_node *equivalent_node (ir_node *n);
18
19 /* For cse */
20 pset *new_identities (void);
21 void  del_identities (pset *value_table);
22 void  add_identity (pset *value_table, ir_node *node);
23
24 ir_node *optimize_in_place_2 (ir_node *n);
25
26
27 # endif /* _IROPT_T_H_ */