commit | ec129c28af58d8200538184cab0ec659c437095d | [log] [tgz] |
---|---|---|
author | Amir Ayupov <[email protected]> | Wed Aug 09 22:45:26 2023 |
committer | Amir Ayupov <[email protected]> | Wed Aug 09 23:42:25 2023 |
tree | fed1257860b96be73d52227797151a334173fc6e | |
parent | 6dbd458128dd24d35c0fe9121bde62f0c4da92f8 [diff] |
[YAML][NFC] Use BumpPtrAllocator instead of unique_ptrs Avoid both memory leaks and expensive dynamic allocations by using SpecificBumpPtrAllocator for HNode types. It's expected they're not deallocated until the `Input` class is destroyed, so deallocating all at once works well in this case. Reduces YAML profile pre-processing time in BOLT from > 11.2067 ( 3.2%) 1.6487 ( 7.3%) 12.8554 ( 3.5%) 12.8635 ( 5.6%) pre-process profile data to > 10.6613 ( 3.1%) 1.6489 ( 6.7%) 12.3102 ( 3.3%) 12.3134 ( 5.3%) pre-process profile data Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D155006
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, or #llvm IRC channel on OFTC.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.