llvm-capstone/llvm
Nikita Popov 18c70a7bd9 [JumpThreading] Simplify getPredicateAt() based folding
It's sufficient to just fold the icmp to true/false here, and then
let constant terminator folding take care of the rest.

It should be noted that while replaceFoldableUses() may not replace
all uses of the icmp, at least the use in the terminator we're
working on is always replaceable, so terminator constant folding
should be reliably enabled as a subsequent step.
2022-05-18 11:24:52 +02:00
..
benchmarks
bindings Remove loop-unswitch from various bindings. 2022-04-29 10:53:17 +01:00
cmake [llvm][lldb] use FindLibEdit.cmake everywhere 2022-05-12 15:59:41 -07:00
docs [docs][LangRef] Fix typo in llvm.smul.fix example 2022-05-17 21:36:36 +01:00
examples [ORC] Return ExecutorAddrs rather than JITEvaluatedSymbols from LLJIT::lookup. 2022-05-05 13:56:00 -07:00
include [SCEVExpander] Expand umin_seq using freeze 2022-05-18 09:53:07 +02:00
lib [JumpThreading] Simplify getPredicateAt() based folding 2022-05-18 11:24:52 +02:00
projects
resources
runtimes Generalize "check-all" umbrella targets, use for check-clang-tools 2022-05-06 12:30:49 +02:00
test [AMDGPU] Aggressively fold immediates in SIFoldOperands 2022-05-18 10:19:35 +01:00
tools [llvm-nm] Always use opaque pointers (PR55506) 2022-05-18 09:46:14 +02:00
unittests [ConstantRange] Improve the implementation of binaryAnd 2022-05-17 22:06:03 +00:00
utils [gn build] Port 1f49714d3e 2022-05-17 19:47:10 +00:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Generalize "check-all" umbrella targets, use for check-clang-tools 2022-05-06 12:30:49 +02:00
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
README.txt
RELEASE_TESTERS.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.