Repolode
llvm

llvm/llvm-project

A modular collection of compiler and toolchain technologies, including the LLVM core, the Clang C/C++ frontend, libc++ and the LLD linker.

Stars
41,146
Forks
19,227
Open issues
40,870
Last commit
2 hours ago

What is it?

LLVM is a toolkit for building optimizing compilers, optimizers and run-time environments. The core LLVM component provides the libraries, tools and header files needed to process intermediate representations and turn them into object files, including an assembler, disassembler, bitcode analyzer and bitcode optimizer.

The project also includes Clang, a frontend that compiles C, C++, Objective-C and Objective-C++ code into LLVM bitcode and then into object files. Other components in the same repository include the libc++ C++ standard library and the LLD linker.

The repository is the monorepo for these projects, so developers building compilers, language tooling or code generators can work with the shared infrastructure in one place.

Key features

  • 01Provides a reusable intermediate representation and code generation infrastructure.
  • 02Includes Clang, a frontend for C, C++, Objective-C and Objective-C++.
  • 03Ships libc++, a C++ standard library implementation.
  • 04Includes the LLD linker and other toolchain components.
  • 05Offers tools such as an assembler, disassembler and bitcode optimizer.

Use cases

  • Building a compiler or code generator for a new programming language.
  • Compiling C or C++ projects with the Clang toolchain.
  • Writing optimization passes over LLVM intermediate representation.
  • Linking native binaries with the LLD linker.

Quick start

  1. 1

    Read the Getting Started guide for building LLVM from source

  2. 2

    Get the source code and build LLVM

Things to know

  • Building from source is a large undertaking that requires substantial compile time and disk space.
  • The README does not give a package-manager install path; you must build from the repository.

Topics

FAQ

What is llvm-project?
A modular collection of compiler and toolchain technologies, including the LLVM core, the Clang C/C++ frontend, libc++ and the LLD linker. LLVM is a toolkit for building optimizing compilers, optimizers and run-time environments. The core LLVM component provides the libraries, tools and header files needed to process intermediate representations and turn them into object files, including an assembler, disassembler, bitcode analyzer and bitcode optimizer.
Is llvm-project free to use? What license does it have?
llvm-project is open source under the Other license. Check the license terms before using it in commercial products.
Is llvm-project still maintained?
Actively maintained. The last commit to llvm-project was on Oct 22, 2026.
What can I use llvm-project for?
Building a compiler or code generator for a new programming language. Compiling C or C++ projects with the Clang toolchain. Writing optimization passes over LLVM intermediate representation. Linking native binaries with the LLD linker.
How do I install llvm-project?
Read the Getting Started guide for building LLVM from source Get the source code and build LLVM
Where can I get llvm-project?
The source code and installation instructions are on GitHub: https://github.com/llvm/llvm-project

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects