llvm-project/llvm
Nikita Popov 274b2439f8 [ConstantRange] Add fast signed multiply
The multiply() implementation is very slow -- it performs six
multiplications in double the bitwidth, which means that it will
typically work on allocated APInts and bypass fast-path
implementations. Add an additional implementation that doesn't
try to produce anything better than a full range if overflow is
possible. At least for the BasicAA use-case, we really don't care
about more precise modeling of overflow behavior. The current
use of multiply() is fine while the implementation is limited to
a single index, but extending it to the multiple-index case makes
the compile-time impact untenable.
2021-10-17 16:41:49 +02:00
..
benchmarks
bindings
cmake [CMake] Add optional libCURL dependency to llvm build configuration 2021-10-13 10:58:10 -07:00
docs [docs] Mention DragonFlyBSD as a supported platform for LLVM. 2021-10-16 13:20:10 +02:00
examples [examples] Fix LLJITWithRemoteDebugging example after 4fcc0ac15e. 2021-10-13 18:19:53 -07:00
include [ConstantRange] Add fast signed multiply 2021-10-17 16:41:49 +02:00
lib [ConstantRange] Add fast signed multiply 2021-10-17 16:41:49 +02:00
projects
resources
runtimes [runtimes] Ensure required deps for tests targets are actually built 2021-09-29 14:41:33 -07:00
test [X86][Costmodel] Load/store i64 Stride=4 VF=16 interleaving costs 2021-10-17 17:28:10 +03:00
tools [llvm-cxxfilt] Use nonMicrosoftDemangle for demangling NFC 2021-10-16 13:32:17 +02:00
unittests [ConstantRange] Add fast signed multiply 2021-10-17 16:41:49 +02:00
utils [gn build] Port ff13189c5d 2021-10-17 08:39:45 +00:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [mlgo][aot] requrie the model is autogenerated for test determinism 2021-10-13 14:02:41 -07:00
CODE_OWNERS.TXT
CREDITS.TXT
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.