Lehrstuhl Informatik II   
Sprachen und Beschreibungsstrukturen      
   Home Lehre Wintersemester 09/10 Vorlesungen Program Optimization login

Program Optimization

Dozent:Prof. Dr. Helmut Seidl
Ort/Zeit:Monday and Wednesday, 12:15-13:45 in seminar room MI 02.07.014
ModulNummer:IN2053
Beschreibung:    The lecture is meant for students in their Hauptstudium or in their Master studies who are interested in compiler technology. The lecture is part of practical computer science.

Lecture times / important news:

Lectures: Monday and Wednesday 12:15-13:45, seminar room MI 02.07.014  (Start: 21.10.2009)
Exercises:  Thursdays 16:00-17:30 in seminar room MI 02.07.014. (Start: 29.10.2009)

Exam:  Wednesday, February 17, 14:30-16:30 in audiotorium HS2. (You may bring an A4 of hand-written notes to the exam.)
Klausureinsicht: Thursday, March 4, 14:00-16:00 in room MI 02.07.34.


Content:

Audience:  The lecture is meant for students in their Hauptstudium or in their Master studies who are interested in compiler technology. The lecture is part of practical computer science.

Programs which we write should be both efficient and easily to maintain. In particular, maintainability means that programs should be well-structured and easily understandable also by humans. Being well-structured and easily readable, though, may often come at the price oft a degradation in efficiency at run-time.

For this reason, most compilers offer an optimization phase in which the source program is analyzed and where various transformations are applied to automatically improve efficiency.

In some cases, it may happen that the attempt for improvement overshoots the target and results in programs which are perhaps fast but are no longer equivalent to the original program.

In the lecture, we give an overview over standard techniques for improving the quality of the generated code. In particular, we are interested in methods which guarantee that the resulting code still is equivalent to the source program.

 


Folien:

Exercise sheets:

  1. PDF
  2. PDF
  3. PDF
  4. PDF
  5. PDF
  6. PDF
  7. PDF
  8. PDF

 

Material:

The lecture is recorded. In order to view the recordings, the tool TTT Teleteaching tool is required.

  • Literature
    • Muchnick: Advanced Compiler Design and Implementation. Morgan Kaufmann, 1997
    • Wilhelm, Maurer: Übersetzerbau. Theorie, Konstruktion, Generierung. Springer, 1992
    • Nielson, Nielson, Hankin: Principles of Program Analysis. Springer, 2005
    • Knoop: Optimal interprocedural program optimization: A new framework and its application. Springer, 1998



TUM - Lehrstuhl Informatik II (Sprachen und Beschreibungsstrukturen) Thanks: Tango and TinyMCE     Generationszeit: 9 ms