Initial revision
[libfirm] / ir / ir / irflag.h
1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2 ** All rights reserved.
3 **
4 ** Authors: Christian Schaefer
5 **
6 ** irflag --- optimization flags
7 */
8
9 #ifndef _IRFLAG_H_
10 #define _IRFLAG_H_
11
12 extern int opt_cse;
13 extern int opt_constant_folding;
14
15 /* set the flags with set_flagname, get the flag with get_flagname */
16
17 void set_opt_cse (int value);
18 int  get_opt_cse (void);
19 void set_opt_constant_folding (int value);
20 int  get_opt_constant_folding (void);
21
22 void set_optimize (int value);
23 int  get_optimize (void);
24
25 #endif