ACM Home Page
Please provide us with feedback. Feedback
Interprocedural constant propagation
Full text PdfPdf (982 KB)
Source Symposium on Compiler Construction archive
Proceedings of the 1986 SIGPLAN symposium on Compiler construction table of contents
Palo Alto, California, United States
Pages: 152 - 161  
Year of Publication: 1986
ISBN:0-89791-197-0
Also published in ...
Authors
David Callahan  Rice Univ.
Keith D. Cooper  Rice Univ.
Ken Kennedy  Rice Univ.
Linda Torczon  Rice Univ.
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 43,   Citation Count: 46
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/12276.13327
What is a DOI?

ABSTRACT

In a compiling system that attempts to improve code for a whole program by optimizing across procedures, the compiler can generate better code for a specific procedure if it knows which variables will have constant values, and what those values will be, when the procedure is invoked. This paper presents a general algorithm for determining for each procedure in a given program the set of inputs that will have known constant values at run time. The precision of the answers provided by this method are dependent on the precision of the local analysis of individual procedures in the program. Since the algorithm is intended for use in a sophisticated software development environment in which local analysis would be provided by the source editor, the quality of the answers will depend on the amount of work the editor performs. Several reasonable strategies for local analysis with different levels of complexity and precision are suggested and the results of a prototype implementation in a vectorizing Fortran compiler are presented.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
AhUl 77
 
Alle 74
F. E. Allen. Interprocedural data flow analysis. Proceeding8 IFIP Congre88 7g, North-Holland Publishing Co.: Amsterdam. 1974.
 
AlKe 84
J.R. Allen and K. Keanedy. PFC: a program to convert Fortran to parallel form. Supercomputer6: Denigu and Application8 (K. Hwang, ed.). IEEE Computer Society Press, ~984.
Ball 79
 
Coop 83
Coop 85
CoKe 84
CoKT 85
 
CoKT 86
K.D. Cooper, K. Kennedy and L. Torczon. Optimization of compiled code in the IRa programming environment. Proceeding8 of the Nineteenth Annual Hawaii International Conference on Systems Sciences. January, 1986.
 
Dong 80
J. Dongarra. LINPACK working note ~3: FORTRAN BLAS timing. Technical Report ANI~80-24, Argonne National Laboratory, February 1980.
 
DBMS 79
J. J. Dongarra, J. R. Bunch, C. B. Moler, and G. W. Stewart. LINPACK U~ers' Guide. SIAM, Philadelphia. 1979.
 
HoKe 85
R. T. Hood and K. Kennedy. A programming environment for Fortran. Proceedings of the Eighteenth Annual Hawaii International Conference on Systems Sciences, 1985.
 
KaUl 77
J. Kam and J. Ullman. Monotone data flow analysis frameworks. Acta lnformatica, 7. 1977.
 
Kenn 78
K. Kennedy. Use-definition chains with applications. Jr. Computer Languages, 3(3). 1978.
 
Kenn 81
K. Kennedy. A survey of data flow analysis techniques. Program Flow Analysis: Theory and Applications (S.S. Muchnick and N.D. Jones, eds.). Prentice-Hall. 1981. pp. 5-54.
Kild 73
Myer 81
 
ReLe 82
J. H. Reif and H. R. Lewis. Symbolic evaluation and the global value graph. TR 37-82, Aiken Computation Laboratory, Harvard University. 1982.
Sche 77
 
Torc 85
WeZa 85

CITED BY  46

Collaborative Colleagues:
David Callahan: colleagues
Keith D. Cooper: colleagues
Ken Kennedy: colleagues
Linda Torczon: colleagues