1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2 ** All rights reserved.
4 ** Authors: Christian Schaefer
6 ** irflag --- optimization flags
10 /* 0 - don't do this optimization
11 1 - lets see, if there is a better graph */
13 int opt_constant_folding = 1;
14 int opt_dead_node_elimination = 1;
17 /* set the flags with set_flagname, get the flag with get_flagname */
20 set_opt_cse (int value)
32 set_opt_constant_folding (int value)
34 opt_constant_folding=value;
38 get_opt_constant_folding (void)
40 return opt_constant_folding;
44 set_opt_dead_node_elimination (int value)
46 opt_dead_node_elimination = value;
50 get_opt_dead_node_elimination (void)
52 return opt_dead_node_elimination;
56 set_optimize (int value)