Simple and efficient construction of static single assignment form

  • Authors:
  • Matthias Braun;Sebastian Buchwald;Sebastian Hack;Roland Leißa;Christoph Mallon;Andreas Zwinkau

  • Affiliations:
  • Karlsruhe Institute of Technology, Germany;Karlsruhe Institute of Technology, Germany;Saarland University, Germany;Saarland University, Germany;Saarland University, Germany;Karlsruhe Institute of Technology, Germany

  • Venue:
  • CC'13 Proceedings of the 22nd international conference on Compiler Construction
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a simple SSA construction algorithm, which allows direct translation from an abstract syntax tree or bytecode into an SSA-based intermediate representation. The algorithm requires no prior analysis and ensures that even during construction the intermediate representation is in SSA form. This allows the application of SSA-based optimizations during construction. After completion, the intermediate representation is in minimal and pruned SSA form. In spite of its simplicity, the runtime of our algorithm is on par with Cytron et al.'s algorithm.