Summary
The importance of producing data flow information on demand is discussed. The method of attributes is applied to the demand analysis of live variables.
Part I of this paper described the method of attributes, which is a technique for high level data flow analysis. In that paper, the method was applied to two well-known problems: analysis of dead variables and analysis of available expressions. Both of these analyses are called exhaustive because they uncover information for all program points.
In this part, we apply the method of attributes to a problem in demand data flow analysis.
Similar content being viewed by others
References
Allen, F.: Program optimization. Ann. Rev. Automatic Programming 2, 239–307 (1969)
Babich, W.A.: High level data flow analysis using a parse tree representation of the program. Ph.D. dissertation, Department of Computer Science, University of North Carolina, Chapel Hill, N.C., TR-77-008, 1977
Crawford, J., Jazayeri, M.: An algorithm for hoisting. Proc. 15th Annual Southeast Regional ACM Conference, Biloxi, pp. 80–93, 1977
Denning, P.: Resource allocation in multiprocess computer systems. Ph.D. dissertation, M.I.T., Project MAC Technical Report MAC-TR-50, 1968
Graham, S., Wegman, M.: A fast and usually linear algorithm for global flow analysis. J. Assoc. Comput. Mach. 23, 172–202 (1976)
Hecht, M., Ullman, J.: A simple algorithm for global data flow analysis problems. SIAM J. Comput. 4, 519–532 (1975)
Kibler, D.F., Neighbors, J.M., Standish, T.A.: Program manipulation via an efficient production system. Proc. Symposium on Artificial Intelligence and Programming Languages, Rochester, 1977
Lowry, E.S., Medlock, C.W.: Object code optimization. Comm. ACM 12, 13–22 (1969)
Rosen, B.K.: High-level data flow analysis. Comm. ACM 20, 712–724 (1977)
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Babich, W.A., Jazayeri, M. The method of attributes for data flow analysis. Acta Informatica 10, 265–272 (1978). https://doi.org/10.1007/BF00264320
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF00264320