Affiliation:
1. IBM T. J. Watson Research Center, Yorktown Heights, NY
Abstract
Constant propagation is a well-known global flow analysis problem. The goal of constant propagation is to discover values that are constant on all possible executions of a program and to propagate these constant values as far foward through the program as possible. Expressions whose operands are all constants can be evaluated at compile time and the results propagated further. Using the algorithms presented in this paper can produce smaller and faster compiled programs. The same algorithms can be used for other kinds of analyses (e.g., type of determination). We present four algorithms in this paper, all
conservitive
in the sense that all constants may not be found, but each constant found is constant over all possible executions of the program. These algorithms are among the simplest, fastest, and most powerful global constant propagation algorithms known. We also present a new algorithm that performs a form of interprocedural data flow analysis in which aliasing information is gathered in conjunction with constant progagation. Several variants of this algorithm are considered.
Publisher
Association for Computing Machinery (ACM)
Reference41 articles.
1. Interprocedural data fiow analysis;ALLEN F.E;Inf. Proc.,1974
2. The experimental compiling system;ALLEN F. E.;IBM J. Res. Dev.,1980
Cited by
287 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Lazy Sparse Conditional Constant Propagation in the Sea of Nodes;Proceedings of the 21st ACM SIGPLAN International Conference on Managed Programming Languages and Runtimes;2024-09-13
2. Predictable and optimized single-path code for predicated processors;Journal of Systems Architecture;2024-09
3. Leveraging Datapath Propagation in IC3 for Hardware Model Checking;IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems;2024-07
4. Compiling with Abstract Interpretation;Proceedings of the ACM on Programming Languages;2024-06-20
5. EAtuner: Comparative Study of Evolutionary Algorithms for Compiler Auto-tuning;2024 27th International Conference on Computer Supported Cooperative Work in Design (CSCWD);2024-05-08