Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Time Spent in Code Gen

Paul Bowen-Huggett edited this page May 29, 2018 · 9 revisions

The following charts show the time spent in the "back-end" of LLVM when compiling large projects (Clang+LLVM3.7 and Chrome). The X axis contains a point for each of the project's source files: for each of these a point shows the ratio of time spent in clang (i.e. the “front-end”) to the time spent in LLVM (the “back-end”) performing optimization and code-generation.

The llvm-prepo work aims to eliminate the back-end time for functions that are not changed by a user between compilations. These charts show the percentage compilation time reduction if we assume that the llvm-prepo passes themselves add no overhead; this corresponds to the ”speed of light” for the project.

LLVM

LLVM

Chrome

Chrome

Clone this wiki locally