1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2 ** All rights reserved.
4 ** Authors: Christian Schaefer
6 ** irflag --- optimization flags
11 /* 0 - don't do this optimization
12 1 - lets see, if there is a better graph */
14 int opt_constant_folding = 1;
15 int opt_dead_node_elimination = 0;
18 /* set the flags with set_flagname, get the flag with get_flagname */
21 set_opt_cse (int value)
33 set_opt_constant_folding (int value)
35 opt_constant_folding=value;
39 get_opt_constant_folding (void)
41 return opt_constant_folding;
45 set_opt_dead_node_elimination (int value)
47 opt_dead_node_elimination = value;
51 get_opt_dead_node_elimination (void)
53 return opt_dead_node_elimination;
57 set_optimize (int value)