Single-Pass Generation of Static Single Assignment Form for Structured Languages

Marc Michael Brandis, Hanspeter Mössenböck

Research output: Contribution to journalArticlepeer-review

Abstract

Over the last few years, static single assignment (SSA) form has been established as a suitable intermediate program representation that allows new powerful optimizations and simplifies others considerably. Algorithms are known that generate SSA form from programs with an arbitrary flow of control. These algorithms need several passes. We show that it is possible to generate SSA form in a single pass (even during parsing) if the program contains only structured control flow (i.e., no gotos). For such programs the dominator tree can be built on the fly, too.
Original languageEnglish
JournalACM Transactions on Programming Languages and Systems
DOIs
Publication statusPublished - Nov 1994

Fields of science

  • 102 Computer Sciences
  • 102009 Computer simulation
  • 102011 Formal languages
  • 102013 Human-computer interaction
  • 102029 Practical computer science
  • 102022 Software development
  • 102024 Usability research

Cite this