Computer Science · Artificial Intelligence
Author manuscript, published in "Workshop Static Single-Assignment Form Seminar,, Autrans: France (2009)" In and Out of SSA: A Denotational Specification
See on the mapAbstract
We present non-standard denotational specifications of the SSA form and of its conversion processes from and to imperative programming languages. Thus, we provide a strong mathematical foundation for this intermediate code representation language used in modern compilers such as GCC or Intel CC. More specifically, we provide (1) a new functional approach to SSA, the Static Single Assignment form, together with its denotational semantics, (2) a collecting denotational semantics for a simple imperative language Imp, (3) a non-standard denotational semantics specifying the conversion of Imp to SSA and (4) a nonstandard denotational semantics for the reverseSSA toImp conversion process. These translations are proven correct, ensuring that the structure of the memory states manipulated by imperative constructs is preserved in compilers ’ middle ends that use the SSA