Useful Links
Computer Science
Programming
Compiler Design
1. Introduction to Compilation
2. Programming Language Foundations
3. Formal Language Theory
4. Lexical Analysis
5. Syntax Analysis
6. Semantic Analysis
7. Intermediate Code Generation
8. Code Optimization
9. Code Generation
10. Runtime Environment
11. Advanced Compilation Topics
12. Compiler Construction Tools and Techniques
Intermediate Code Generation
Intermediate Representation Design
IR Design Goals
Machine Independence
Optimization Facilitation
Translation Simplicity
IR Classification
High-Level IR
Medium-Level IR
Low-Level IR
Three-Address Code
TAC Instruction Format
Address Types
Temporary Variable Management
TAC Instruction Types
TAC Representation Methods
Quadruples
Triples
Indirect Triples
Representation Trade-offs
Static Single Assignment Form
SSA Properties
Phi Functions
SSA Construction Algorithm
SSA Destruction
Control Flow Representation
Basic Blocks
Control Flow Graphs
Dominance Relations
Loop Detection
Translation Schemes
Syntax-Directed Translation
Translation Grammar
Action Symbol Placement
Expression Translation
Arithmetic Expressions
Boolean Expressions
Short-Circuit Evaluation
Array References
Record Field Access
Statement Translation
Assignment Statements
Conditional Statements
Loop Statements
Switch Statements
Break and Continue Statements
Procedure Call Translation
Parameter Passing Mechanisms
Return Value Handling
Activation Record Setup
Nested Procedure Calls
Declaration Translation
Variable Declarations
Array Declarations
Record Declarations
Procedure Declarations
Previous
6. Semantic Analysis
Go to top
Next
8. Code Optimization