Functional Elimination of Φ-instructions

Lennart Beringer

Research output: Contribution to journalArticlepeer-review

2 Scopus citations

Abstract

We present a functional analogue of the elimination of Φ-instructions from Static Single Assignment (SSA) code. Extending earlier work on the relationship between SSA and functional languages we show that transformations from A-normal form (ANF) into a more restrictive form called GNF require the same compensating instructions to be inserted as are commonly inserted during the translation from SSA to machine code. Lifting the translation from the syntactic level to the type level, we introduce type systems that mediate the transition from ANF code into correctly register-allocated machine code and allow code optimisations and transformations to be performed in a typed functional setting.

Original languageEnglish (US)
Pages (from-to)3-20
Number of pages18
JournalElectronic Notes in Theoretical Computer Science
Volume176
Issue number3 SPEC. ISS.
DOIs
StatePublished - Jul 19 2007
Externally publishedYes

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • General Computer Science

Keywords

  • Compilation
  • Functional intermediate representations
  • Phi-elimination
  • Static single assignment form
  • Type systems for register allocation

Fingerprint

Dive into the research topics of 'Functional Elimination of Φ-instructions'. Together they form a unique fingerprint.

Cite this