Computer Software
Print ISSN : 0289-6540
A Type System for Optimization Verifying Compilers
Yutaka MATSUNOHiroyuki SATO
Author information
JOURNAL FREE ACCESS

2005 Volume 22 Issue 3 Pages 3_19-3_35

Details
Abstract

This paper presents a type theoretical framework for the verification of compiler optimizations. Although today's compiler optimizations are fairly advanced, there is still not an appropriate theoretical framework for the verification of compiler optimizations. To establish a generalized theoretical framework, we introduce assignment types for variables that represent how the value of variables will be calculated in a program. In this paper, first we introduce our type system. Second we prove soundness of our type system. This implies that the given two programs are equivalent if their return values are equal in types. Soundness ensures that many structure preserving optimizations preserve program semantics. Furthermore, by extending the notion of type equality to order relations, we redefine several optimizations and prove that they also preserve program semantics.

Content from these authors
© Japan Society for Software Science and Technology 2005
Previous article Next article
feedback
Top