Abstract

In this paper, we propose a new method for code optimization. This new method is based on backward data flow analysis, and the optimization is done on the source code level. First we design a tiny language to experiment with. Then, using data flow analysis, we set up some simultaneous equations and collect the liveness information for all program points. This is the basis for the optimization. Using this technique, some code can be safely eliminated without affecting the semantics of the code segment.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call