首页 | 本学科首页   官方微博 | 高级检索  
     


Finite constants: characterizations of a new decidable set of constants
Authors:Bernhard Steffen

Jens Knoop

Affiliation:

Laboratory for Foundations of Computer Science, University of Edinburgh, UK

Institut für Informatik und Praktische Mathematik, Christian-Albrechts-Universität, D-2300, Kiel, Germany

Abstract:Constant propagation, the replacement of program terms which represent a unique value at run time by their values, is a classical program optimization method. In spite of being treated for years, constant propagation still has been in the unsatisfactory phase of heuristics. We enhance the known constant propagation techniques to obtain an algorithm which is optimal for programs without loops. Fundamental is the introduction of a new decidable set of constants, the finite constants. This set has two different characterizations: a denotational one, which directly specifies our iterative algorithm and an operational one, which delivers the completeness or optimality of this algorithm for programs without loops. The algorithm is implemented in a commercial compiler project.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号