CSCE 434 Lecture 32
Jump to navigation
Jump to search
« previous | Monday, November 11, 2013 | next »
Intermediate Representations
Examples:
- Abstract Syntax trees (AST)
- Linear tree form
- Directed Acyclic Graphs (DAG)
- Control Flow Graphs (CFG); not to be confused with "context-free grammars"
- Program Dependence Graphs (PDG)
- Static Single Assignment form (SSA)
- Stack Code
- Three Address Code (TAC)
- Hybrid combinations of the above
Three categories
- Structural
- graphically oriented
- heavily used in source-to-source translations
- nodes and edges tend to be large
- Linear
- Pseudo code for simple machine code
- Hybrid
- structural + linear