1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2 ** All rights reserved.
4 ** Authors: Christian Schaefer
6 ** irflag --- optimization flags
14 /* 0 - don't do this optimization
15 1 - lets see, if there is a better graph */
17 int opt_constant_folding = 1;
18 int opt_dead_node_elimination = 1;
21 /* set the flags with set_flagname, get the flag with get_flagname */
24 set_opt_cse (int value)
36 set_opt_constant_folding (int value)
38 opt_constant_folding=value;
42 get_opt_constant_folding (void)
44 return opt_constant_folding;
48 set_opt_dead_node_elimination (int value)
50 opt_dead_node_elimination = value;
54 get_opt_dead_node_elimination (void)
56 return opt_dead_node_elimination;
60 set_optimize (int value)