2018-10-19 00:03:01 +00:00
|
|
|
# The LLVM Compiler Infrastructure
|
2017-10-19 21:09:49 +00:00
|
|
|
|
2019-10-24 01:03:37 +00:00
|
|
|
Welcome to the LLVM project!
|
|
|
|
|
2023-03-06 19:45:23 +00:00
|
|
|
This repository contains the source code for LLVM, a toolkit for the
|
|
|
|
construction of highly optimized compilers, optimizers, and run-time
|
|
|
|
environments.
|
|
|
|
|
2019-10-24 01:03:37 +00:00
|
|
|
The LLVM project has multiple components. The core of the project is
|
|
|
|
itself called "LLVM". This contains all of the tools, libraries, and header
|
2021-05-12 15:48:50 +00:00
|
|
|
files needed to process intermediate representations and convert them into
|
2022-03-31 11:35:40 +00:00
|
|
|
object files. Tools include an assembler, disassembler, bitcode analyzer, and
|
2023-03-06 19:45:23 +00:00
|
|
|
bitcode optimizer.
|
2019-10-24 01:03:37 +00:00
|
|
|
|
2022-03-31 11:35:40 +00:00
|
|
|
C-like languages use the [Clang](http://clang.llvm.org/) frontend. This
|
2020-04-07 06:36:49 +00:00
|
|
|
component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode
|
2019-10-24 01:03:37 +00:00
|
|
|
-- and from there into object files, using LLVM.
|
|
|
|
|
|
|
|
Other components include:
|
|
|
|
the [libc++ C++ standard library](https://libcxx.llvm.org),
|
|
|
|
the [LLD linker](https://lld.llvm.org), and more.
|
|
|
|
|
2023-03-06 19:45:23 +00:00
|
|
|
## Getting the Source Code and Building LLVM
|
2019-10-24 01:03:37 +00:00
|
|
|
|
|
|
|
Consult the
|
2023-03-06 19:45:23 +00:00
|
|
|
[Getting Started with LLVM](https://llvm.org/docs/GettingStarted.html#getting-the-source-code-and-building-llvm)
|
|
|
|
page for information on building and running LLVM.
|
|
|
|
|
|
|
|
For information on how to contribute to the LLVM project, please take a look at
|
|
|
|
the [Contributing to LLVM](https://llvm.org/docs/Contributing.html) guide.
|
2022-02-08 20:54:32 +00:00
|
|
|
|
|
|
|
## Getting in touch
|
|
|
|
|
2023-03-06 19:45:23 +00:00
|
|
|
Join the [LLVM Discourse forums](https://discourse.llvm.org/), [Discord
|
|
|
|
chat](https://discord.gg/xS7Z362), or #llvm IRC channel on
|
|
|
|
[OFTC](https://oftc.net/).
|
2022-02-08 20:54:32 +00:00
|
|
|
|
|
|
|
The LLVM project has adopted a [code of conduct](https://llvm.org/docs/CodeOfConduct.html) for
|
|
|
|
participants to all modes of communication within the project.
|