GeistHaus
log in · sign up

How I implement SSA form

gist.github.com

How I implement SSA form. GitHub Gist: instantly share code, notes, and snippets.

4 pages link to this URL
A catalog of ways to generate SSA

Static Single Assignment is a program representation where each “variable” (though this term can be misleading) is assigned exactly once. Mostly the variables aren’t variables at all, but instead names for values—for expressions. SSA is used a lot in compilers. See this lesson from Cornell for converting Bril to SSA, which also has some good background. I’m making this page to catalog the papers I have found interesting and leave a couple of comments on them.

4 inbound links article en
A catalog of side effects

Optimizing compilers like to keep track of each IR instruction’s effects. An instruction’s effects vary wildly from having no effects at all, to writing a specific variable, to completely unknown (writing all state).

0 inbound links article en