Skip to main content

Symbolic Program Analysis in Almost-Linear Time

Journal articles
Reif, JH; Tarjan, RE
Published in: SIAM Journal on Computing
February 1982

This paper describes an algorithm to construct, for each expression in a given program text, a symbolic expression whose value is equal to the value of the text expression for all executions of the program. We call such a mapping from text expressions to symbolic expressions a cover. Covers are useful in such program optimization techniques as constant propagation and code motion. The particular cover constructed by our methods is in general weaker than the covers obtainable by the methods of [Ki], [FKU], [RL], [R2] but our method has the advantage of being very efficient. It requires $O(m\alpha (m,n) + l)$ operations if extended bit vector operations have unit cost, where n is the number of vertices in the control flow graph of the program, m is the number of edges, l is the length of the program text, and $\alpha $ is related to a functional inverse of Ackermann’s function [T2]. Our method does not require that the program be well-structured nor that the flow graph be reducible.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

SIAM Journal on Computing

DOI

EISSN

1095-7111

ISSN

0097-5397

Publication Date

February 1982

Volume

11

Issue

1

Start / End Page

81 / 93

Publisher

Society for Industrial & Applied Mathematics (SIAM)

Related Subject Headings

  • Computation Theory & Mathematics
  • 4903 Numerical and computational mathematics
  • 4901 Applied mathematics
  • 4613 Theory of computation
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Reif, J. H., & Tarjan, R. E. (1982). Symbolic Program Analysis in Almost-Linear Time. SIAM Journal on Computing, 11(1), 81–93. https://doi.org/10.1137/0211007
Reif, John H., and Robert E. Tarjan. “Symbolic Program Analysis in Almost-Linear Time.” SIAM Journal on Computing 11, no. 1 (February 1982): 81–93. https://doi.org/10.1137/0211007.
Reif JH, Tarjan RE. Symbolic Program Analysis in Almost-Linear Time. SIAM Journal on Computing. 1982 Feb;11(1):81–93.
Reif, John H., and Robert E. Tarjan. “Symbolic Program Analysis in Almost-Linear Time.” SIAM Journal on Computing, vol. 11, no. 1, Society for Industrial & Applied Mathematics (SIAM), Feb. 1982, pp. 81–93. Crossref, doi:10.1137/0211007.
Reif JH, Tarjan RE. Symbolic Program Analysis in Almost-Linear Time. SIAM Journal on Computing. Society for Industrial & Applied Mathematics (SIAM); 1982 Feb;11(1):81–93.

Published In

SIAM Journal on Computing

DOI

EISSN

1095-7111

ISSN

0097-5397

Publication Date

February 1982

Volume

11

Issue

1

Start / End Page

81 / 93

Publisher

Society for Industrial & Applied Mathematics (SIAM)

Related Subject Headings

  • Computation Theory & Mathematics
  • 4903 Numerical and computational mathematics
  • 4901 Applied mathematics
  • 4613 Theory of computation