explaingit

llvm-mirror/llvm

4,588LLVMAudience · developerComplexity · 5/5LicenseSetup · hard

TLDR

LLVM is an archived mirror of the compiler infrastructure toolkit used to build optimizing compilers, code optimizers, and runtime environments. Active development has moved to llvm/llvm-project.

Mindmap

mindmap
  root((LLVM Mirror))
    What It Does
      Build compilers
      Optimize code
      Runtime support
    Status
      Archived mirror
      Moved to llvm-project
      Docs in source tree
    Getting Started
      GettingStarted.rst
      LICENSE.txt
      Active repo on GitHub
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Build a custom compiler by targeting LLVM as the code generation backend

USE CASE 2

Add optimization passes to improve generated machine code for a new programming language

USE CASE 3

Study how production-grade compilers handle code optimization and target-specific code generation

Tech stack

LLVMC++

Getting it running

Difficulty · hard Time to first run · 1day+

Archived mirror, use llvm/llvm-project for active development. Compiling LLVM from source requires a powerful machine and takes significant time.

Open source under the terms described in LICENSE.txt in the repository.

In plain English

LLVM is a toolkit for building compilers, code optimizers, and runtime environments. The README describes it as open-source software for the construction of highly optimized compilers. This repository is an archived mirror, the project has since moved to a different GitHub location, and the README points readers there. The source code documentation lives in a docs/ folder within the repository. At its core, LLVM is infrastructure software that other tools are built on top of. A compiler is a program that reads code written in one language and converts it to another form, most often from a human-readable programming language down to machine instructions that a processor can execute directly. The README notes that LLVM includes not just a compiler but also optimizers (programs that improve the efficiency of code) and runtime environments (components that support a program while it is actually running). The README does not explain how to build or use LLVM beyond pointing to documentation. It notes the project is licensed under terms described in a LICENSE.txt file and refers readers to docs/GettingStarted.rst for setup instructions and docs/README.txt for an overview of the documentation structure. If you want to work with LLVM today, the active project now lives at github.com/llvm/llvm-project, which is where development, issue tracking, and contributions happen. The README for this mirror is intentionally sparse. It serves as a brief identification notice for the archived copy rather than a guide to using the software. Most of the context you would need to actually work with LLVM comes from the documentation inside the source tree rather than from this short top-level note.

Copy-paste prompts

Prompt 1
I want to build a simple compiler using LLVM as the backend. Where do I start and what are the key concepts I need to understand first?
Prompt 2
Show me how to write an LLVM optimization pass that removes dead code from a simple function.
Prompt 3
How do I compile LLVM from source using the active llvm/llvm-project repository and run a hello-world example through the clang frontend?
Open on GitHub → Explain another repo

← llvm-mirror on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.