1 / 6

The structure of an optimizing compiler

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.

Download Presentation

The structure of an optimizing compiler

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related