Lecture Slides

 

 

1

Introduction

first0.c   first.S   ctof.c   ctof.s   ctof.c004t.gimple   commonSubExp.c   commonSubExp.s   constFold.c   constFold.s   strengthRed.c   strengthRed.s   strengthRed1.c   strengthRed1.s   loopInv.c   loopInv.s  

2

Scanner

3

lex/flex

lex.l   y.tab.h   myLex.c++   Makefile lex4.l input4

4

Syntax Analysis: Intro

5

Top-Down Parsing

6

Bottom-Up Parsing

7

LR Parsing

8

Bison

exp.l   exp.y   Makefile  

9

Attribute Synthesis

expLL.l   expLL.y   Makefile  

10

Intermediate-Representations

11

Intermediate Code Generation

12

Code Improvement - I

Page 525 ... 542 (8.4 and 8.5)

13

Global Optimization and Dataflow Analysis

         Previous Page