Skip to Main content Skip to Navigation
Conference papers

A Formally Verified SSA-based Middle-end: Static Single Assignment meets CompCert

Gilles Barthe 1 Delphine Demange 2 David Pichardie 2
2 CELTIQUE - Software certification with semantic analysis
Inria Rennes – Bretagne Atlantique , IRISA-D4 - LANGAGE ET GÉNIE LOGICIEL
Abstract : CompCert is a formally verified compiler that generates compact and efficient PowerPC, ARM and x86 code for a large and realistic subset of the C language. However, CompCert foregoes using Static Single Assignment (SSA), an intermediate representation that allows for writing simpler and faster optimizers, and is used by many compilers. In fact, it has remained an open problem to verify formally a SSA-based compiler middle-end. We report on a formally verified, SSA-based, middle-end for CompCert. Our middle-end performs conversion from CompCert intermediate form to SSA form, optimization of SSA programs, including Global Value Numbering, and transforming out of SSA to intermediate form. In addition to provide the first formally verified SSA-based middle-end, we address two problems raised by Leroy [13]: giving a simple and intuitive formal semantics to SSA, and leveraging the global properties of SSA to reason locally about program optimizations.
Document type :
Conference papers
Complete list of metadatas

https://hal.inria.fr/hal-01110783
Contributor : Delphine Demange <>
Submitted on : Wednesday, January 28, 2015 - 10:01:20 PM
Last modification on : Friday, July 10, 2020 - 4:16:25 PM

Links full text

Identifiers

Citation

Gilles Barthe, Delphine Demange, David Pichardie. A Formally Verified SSA-based Middle-end: Static Single Assignment meets CompCert. 21th European Symposium on Programming, ESOP 2012, Mar 2012, Tallin, Estonia. pp.47-66, ⟨10.1007/978-3-642-28869-2_3⟩. ⟨hal-01110783⟩

Share

Metrics

Record views

1167