Advanced Compiler Construction (9hp)DF00100, 2010VT
Ca. 32 h lectures in 2-3 intensive weeks.
Additionally some lessons and lab sessions.
Ph.D. students or practitioners in computer science or systems engineering.
The course was last given
vt1/2008. The course is usually given every second year only.
Give Ph.D. students or practitioners knowledge about advanced compiler
technology, including program analysis, intermediate representations, compiler
code generation, compiler frameworks, run-time systems, compilation techniques for embedded systems, and compiler
generation tools for code generation from natural semantics specifications.
Basic course in compiler construction, corresponding to the undergraduate
courses Compilers and Interpreters, or
Basic course in data structures and algorithms.
Basic knowledge in processor architecture.
Programming in C++/Linux for the Compiler framework labs.
Some background in combinatorial optimization may be useful.
Introduction: Processor architectures, code generation, intermediate
Foundations, e.g., control and data flow analysis, data dependence analysis. Interprocedural analysis.
Overview of optimizations.
SSA form and its construction.
SSA based optimizations.
Chi functions in lazy memory SSA based analysis.
Code selection. Instruction scheduling. Register allocation.
Data dependence analysis. Loop transformations.
Automatic loop vectorization and parallelization.
Memory hierarchy optimization.
Special code generation problems for irregular architectures, DSPs.
Compiling for multicore processors.
Other topics, e.g., code motion, binary translation, garbage collection, as time permits.
2 intensive weeks of lecturing, including some lessons
(assistant-guided repetition + problem solving sessions).
Optional lab series with some open-source compiler framework.
Several extra sessions for student presentations
at the end of the course.
To be announced on the
course home page.
Christoph Kessler (course leader),
LAB2: Compiler framework labs 3 hp
TEN1: Written or oral exam 4.5 hp
PRE1: Presentation, written summary, opposition 1.5 hp
9 hp (= 6 gp)
CUGS advanced course.
Linköping, usually in february / early march (e.g. weeks 7 and 8).
See the course homepage for the preliminary dates.
Page responsible: Webmaster
Last updated: 2012-05-03