Code Optimization by Model Generation in Temporal Logic
-
- Ito Souhei
- Tokyo Institute of Technology
-
- Hagihara Shigeki
- Tokyo Institute of Technology
-
- Yonezaki Naoki
- Tokyo Institute of Technology
Bibliographic Information
- Other Title
-
- 最適条件の時間論理記述を用いたモデル生成器によるコード最適化
Abstract
We propose a new method of automatic code optimization in compilers. First, we define a simple language similar to an intermediate language, and CTL*-FV which is an extension of CTL* to describe the specification of program control flow. Control flow can be considered as a model of this logic. Second, we present a procedure to obtain the conditions for the code to have the same meaning as the code which is to be optimized, and we also give logical formulae of necessary condition for optimization, such as the lack of dead code, etc. We obtain the optimized code by generating the models that satisfies these conditions with a model generator. Finally, we define the partial order of efficiency between programs, and show the codes obtained by this method are equivalent in this order.
Journal
-
- Conference Proceedings of Japan Society for Software Science and Technology
-
Conference Proceedings of Japan Society for Software Science and Technology 2003 (0), 65-65, 2003
Japan Society for Software Science and Technology
- Tweet
Details 詳細情報について
-
- CRID
- 1390282680501984896
-
- NII Article ID
- 130004638810
-
- ISSN
- 13493515
-
- Data Source
-
- JaLC
- CiNii Articles
-
- Abstract License Flag
- Disallowed