ip1const - do one level interprocedural constant propagation
ip1const [ options ] infile outfile { infile outfile }*
The ip1const program does very simple interprocedural constant propagation through a single level of procedure calls. That allows it to use a very efficient algorithm, while the limited power is still enough to help in a number of common cases. The algorithm uses only one procedure in memory at any given time. It makes two passes; each procedure is read twice and written once, so it should take less time than any two ordinary intraprocedural passes.
For best effect, this pass should be followed by porky with the ``-const-prop'' option to propagate the constants within the procedure once they have been put at the start of the procedure by this pass.
There are currently no command-line options.
This program was written by Chris Wilson.