skip to main content
10.1145/99163.99179acmconferencesArticle/Chapter ViewAbstractPublication PagesppoppConference Proceedingsconference-collections
Article
Free Access

An approach to ordering optimizing transformations

Authors Info & Claims
Published:01 February 1990Publication History

ABSTRACT

As an approach to deriving an application order of optimizing transformations, a framework is developed for examining the interactions of the transformations. The framework is based on an axiomatic specification technique and includes both pre-conditions and post conditions that must exist before and after applying optimizations. For a selected set of optimizations, the framework is used to determine those interactions among the optimizations that can create conditions and those that can destroy conditions for applying other optimizations. From these interactions, an application order is derived to obtain the potential benefits of the optimizations that can be applied to a program. In some cases, the ordering of a pair of optimizations is unambiguous in that one optimization can either create or destroy the conditions for the other. In the few cases where there is a cyclic interaction, the ordering is resolved based on the perceived importance of the two optimizations.

References

  1. 1.Alfred Aho and Jeffrey Ullman, in Principles of Compiler Design, Addison-Wesley Publishing Co., Reading, MA, 1979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.Alfred Aho, Ravi Sethi, and Jeffrey Ullman, in Compilers Principles, Techniques, and Tools, Addison-Wesley Publishing Co., Reading, MA, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.Alexender Aiken and Alexandru Nicolau, "A Development Environment for Horizontal Microcode," IEEE Transactions of Software Engineering, vol. 14, no. 5, pp. 584-594, May 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.Frances Allen, "Program Optimization," in Annual Review in Automatic Programming 5, ed. L. Bolliet et al., pp. 239-307, Pergammon Press, New York, 1969.Google ScholarGoogle Scholar
  5. 5.Frances Allen and John Cocke, "A Catalogue of Optimizing Transformations," in Design and Optimization of Compilers, ed. R. Rustin, pp. 1-30, Prentice-Hall, Inc., Englewood Cliffs, N.J., 1971.Google ScholarGoogle Scholar
  6. 6.Randy Allen and Ken Kennedy, "Automatic Translation of FORTRAN Programs to Vector Form," A CM Transactions of Programming Languages and Systems, vol. 9, no. 4, pp. 491-542, October 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.Jeanne Ferrante, Karl J. Ottenstein, and Joe D. Warren, "The Program Dependence Graph and its Use in Optimization," ACM TOPLAS, vol. 9, no. 3, pp. 319-349, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.Mahadevan Ganapathi and Charles N. Fischer, "Integrating Code Generation and Peephole Optimization," Acta lnformatica, vol. 25, no. 1, pp. 85- 109, Jan., 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.C.A.R. H oare, "An Axiomatic Basis for Computer Programming," CACM, vol. 12, no. 10, pp. 576- 583, October 1969. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10.David B. Loveman, "Program Improvement by Source-to-Source Transformation," JACM, vol. 24, no. 1, pp. 121-145, Jan 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11.David A. Padua and Michael J. Wolfe, "Advanced Compiler Optimizations for Supercomputers," Communications of the ACM, vol. 29, no. 12, pp. 1184-1201, Dec 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12.Lori L. Pollock and Mary Lou Sofia, "Incremental Global Optimization for Faster Recompilation,'" Proceedings of IEEE International Conference on Computer Languages '90, March 1990.Google ScholarGoogle Scholar
  13. 13.Michael Wolfe and Uptal Banerjee, "Data Dependence and Its Application to Parallel Processing," international Journal of Parallel Programming, vol. 16, no. 2, pp. 137-178, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14.Michael Wolfe, in Optimizing Supercompilers for Supercomputers, The MIT Press, Cambridge, MA, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. An approach to ordering optimizing transformations

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          PPOPP '90: Proceedings of the second ACM SIGPLAN symposium on Principles & practice of parallel programming
          February 1990
          206 pages
          ISBN:0897913507
          DOI:10.1145/99163
          • Chairman:
          • David Padua
          • cover image ACM SIGPLAN Notices
            ACM SIGPLAN Notices  Volume 25, Issue 3
            Mar. 1990
            216 pages
            ISSN:0362-1340
            EISSN:1558-1160
            DOI:10.1145/99164
            • Editor:
            • David Padua
            Issue’s Table of Contents

          Copyright © 1990 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 1 February 1990

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Acceptance Rates

          Overall Acceptance Rate230of1,014submissions,23%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader