commit | 624cc7048f604ed1087f63fdbe4cbf40f1d35b69 | [log] [tgz] |
---|---|---|
author | Kazu Hirata <kazu@google.com> | Wed Dec 11 08:35:41 2024 -0800 |
committer | GitHub <noreply@github.com> | Wed Dec 11 08:35:41 2024 -0800 |
tree | 5b5e4b1ef7c5f7060b498f23a2f4dd0c6aa3b156 | |
parent | 00e1cc4c9d002c78cf890b630343b052ebca0399 [diff] |
[AST] Migrate away from PointerUnion::{is,get} (NFC) (#119523) Note that PointerUnion::{is,get} have been soft deprecated in PointerUnion.h: // FIXME: Replace the uses of is(), get() and dyn_cast() with // isa<T>, cast<T> and the llvm::dyn_cast<T> I'm not touching PointerUnion::dyn_cast for now because it's a bit complicated; we could blindly migrate it to dyn_cast_if_present, but we should probably use dyn_cast when the operand is known to be non-null.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with 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 guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.