llvm-project/llvm
Chris Bieneman b39f437757 [ADT] add initializer list specialization for is_contained
Adding an initializer list specialization for is_contained allows for
compile-time evaluation when called with a constant or runtime
evaluation for non-constant values.

This patch doesn't add any uses of this template, but that is coming in
a subsequent patch.

Reviewed By: pete

Differential Revision: https://reviews.llvm.org/D122079
2022-03-29 12:39:39 -05:00
..
benchmarks
bindings [NFC] Fix go binding build 2022-03-14 14:08:51 +08:00
cmake [cmake] Provide CURRENT_TOOLS_DIR centrally, replacing CLANG_TOOLS_DIR 2022-03-25 20:22:01 +01:00
docs Revert "[misexpect] Re-implement MisExpect Diagnostics" 2022-03-29 06:20:30 +00:00
examples Reland "[ELF] Enable new passmanager plugin support for LTO" 2022-03-24 16:29:18 +01:00
include [ADT] add initializer list specialization for is_contained 2022-03-29 12:39:39 -05:00
lib [X86] combineCarryThroughADD - remove unused peek through of SEXT/AEXT nodes. 2022-03-29 17:22:50 +01:00
projects
resources
runtimes Revert "[bootstrap] Allow passing options to sub-builds for all targets" 2022-03-21 22:21:30 -07:00
test [InstCombine] Fold (ctpop(X) == 1) | (X == 0) into ctpop(X) < 2 2022-03-29 11:30:06 -04:00
tools [llvm-pdbutil] Fix a crash due to Expected not checked before destruction 2022-03-29 10:01:32 -07:00
unittests [ADT] add initializer list specialization for is_contained 2022-03-29 12:39:39 -05:00
utils [doc] Rely on tblgen to dump supported options value when generating doc 2022-03-29 12:25:33 +02:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Add a cmake flag to turn `llvm_unreachable()` into builtin_trap() when assertions are disabled 2022-03-18 19:24:14 +00:00
CODE_OWNERS.TXT [CODE_OWNERS/CREDITS] Update my email address 2022-03-16 21:07:15 +00:00
CREDITS.TXT [CODE_OWNERS/CREDITS] Update my email address 2022-03-16 21:07:15 +00:00
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.