Download
the structure of an optimizing compiler n.
Skip this Video
Loading SlideShow in 5 Seconds..
The structure of an optimizing compiler PowerPoint Presentation
Download Presentation
The structure of an optimizing compiler

The structure of an optimizing compiler

80 Views Download Presentation
Download Presentation

The structure of an optimizing compiler

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. The structure of an optimizing compiler String of characters Lexical analyzer String of tokens Parser Parse tree Semantic analyzer Parse tree Intermediate-code generator Medium-level intermediate code Optimizer Medium-level intermediate code Code Generator Low-level intermediate code Postpass optimizer Relocatable object module or runable machine code

  2. 1C 5C 2C 3C Source and high-level optimizations A B 4C D E

  3. 1C 5C 2C 3C High and mid-level optimization A B 4C D E

  4. 2C 3C Medium and low-level optimizations A B 1C 5C 4C D E

  5. 1C 5C 2C 3C Low-level (machine dependent) optimizations A B 4C D E

  6. 1C 5C 2C 3C Link-time optimizations A B 4C D E