1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2 ** All rights reserved.
4 ** Authors: Martin Trapp, Christian Schaefer
6 ** Declarations for optimizations intertwined with IR construction.
16 /* optimize_in_place (n) may change the contents of the ir_node itself,
17 [e.g. by making it a Id-node], but does not change its identity.
18 So it is safe to be called on already referenced nodes.
20 optimize_in_place (n) returns a pointer to a node equivalent to `n'
21 which should be used instead of `n'.
23 optimize (n) may deallocate `n' and everything allocated after `n'! */
25 tarval *computed_value (ir_node *n);
27 ir_node *optimize (ir_node *n);
28 ir_node *optimize_in_place (ir_node *n);
30 # endif /* _IROPT_H_ */