User Guides

NOTE: If you are a user who is only interested in using an LLVM-based compiler,you should look into Clang instead. Thedocumentation here is intended for users who have a need to work with theintermediate LLVM representation.

Clang

LLVM Builds and Distributions

Optimizations

Code Generation

  • Writing an LLVM Backend
  • Information on how to write LLVM backends for machine targets.
  • The LLVM Target-Independent Code Generator
  • The design and implementation of the LLVM code generator. Useful if you areworking on retargetting LLVM to a new architecture, designing a new codegenpass, or enhancing existing components.
  • TableGen
  • Describes the TableGen tool, which is used heavily by the LLVM codegenerator.

JIT

How to debug JITed code with GDB.

Additional Topics