CS 738: Advanced Compiler Optimizations (2017-18 Ist Semester)

This course aims to teach topics in program analysis and compiler optimizations.

Code of Ethics

Any report/program/assignment you submit must clearly distinguish your contribution from others (webpages, softwares, report, discussions with other students). The penalty for copying in any form will be severe.


Important: All emails' subject line should begin with "[CS738]". Email not complying to this rule will NOT be entertained.

Topics Covered and Slides

The slides are not suitable for taking prints as there is a lot of redundancy due to overlays. Use handouts if you really need a print.

  1. Introduction [handouts] [slides]

  2. Overview of Optimizations [handouts] [slides]

  3. Data Flow Analysis [handouts] [slides]

  4. Data Flow Analysis (contd ...) [handouts] [slides]

  5. Data Flow Analysis Foundations [handouts] [slides]

  6. DFA Foundations (contd ...) [handouts] [slides]

  7. Flow Graph Theory [handouts] [slides]

  8. Constant Propagation [handouts] [slides]

  9. SSA [handouts] [slides] [paper]

  10. SSA (contd ...) [handouts] [slides]

  11. Conditional Constant Propagation [handouts] [slides] [paper]

  12. Pointer Analysis [handouts] [slides] [Anderson's][Steensgaard's] [Yanniss's Tutorial]

  13. Interprocedural analysis [handouts] [slides]

  14. ... (Functional Approach) [handouts] [slides]

RA. ... (Call-strings Approach) [handouts] [slides] By Prof Uday

  1. Liveness based Garbage Collection [handouts] [slides] [paper1][paper2] [Mohri-Nederhof Transformation]

  2. Types and Program Analysis [handouts] [slides]

  3. Untyped Lambda Calculus [handouts] [slides]

  4. Typed Arithmetic Expressions [handouts] [slides]

  5. Simply Typed Lambda Calculus [handouts] [slides]

  6. Type-based Points-to Analysis [handouts] [slides] [Steensgaard's] [Manuvir's]

RA: Reading Assignment


There will be short assignments to give you a chance to apply the lecture material. Assignments will have some written and some programming tasks.

Course Project

Course Outline

The course will mainly cover topics from the following list (not necessarily in the same order). Not all topics listed below will be covered, and depending on class feedback, new topics may be added.

Evaluation Scheme


Assignments 5% - 10%
Quizzes 5%
Mid semester exam 10% - 20%
End semester exam 25% - 35%
Course Project 30% - 40%
(Approx Breakup: Proposal: 5% Report: 15% Implementation: 10% Presentation: 5% )

Research Material

Take me to the Top

powered by Pandoc

Last Modified at : Mon Oct 16 11:42:04 IST 2017