llvm-project/llvm
Sanjay Patel 7ef0b31389 [APInt] Add methods for saturated add and sub
This adds the sadd_sat, uadd_sat, ssub_sat, usub_sat methods for performing saturating additions and subtractions to APInt.

Split out from D54237.

Patch by: nikic (Nikita Popov)

Differential Revision: https://reviews.llvm.org/D54332

llvm-svn: 347324
2018-11-20 16:47:59 +00:00
..
benchmarks
bindings [bindings/go] Add Go bindings to LLVMGetIndices 2018-11-08 04:04:04 +00:00
cmake Swap order of discovering of -ltinfo and -lterminfo 2018-11-18 12:13:51 +00:00
docs It's its 2018-11-19 22:53:42 +00:00
examples Fix build break from r347239 2018-11-19 18:51:11 +00:00
include [APInt] Add methods for saturated add and sub 2018-11-20 16:47:59 +00:00
lib [APInt] Add methods for saturated add and sub 2018-11-20 16:47:59 +00:00
projects
resources
runtimes
test [PatternMatch] Handle undef vectors consistently 2018-11-20 16:08:19 +00:00
tools [llvm-exegesis][NFC] Some code style cleanup 2018-11-20 14:41:59 +00:00
unittests [APInt] Add methods for saturated add and sub 2018-11-20 16:47:59 +00:00
utils Fix clang test suite on Windows by reverting part of r347216 2018-11-19 19:36:28 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore [git/svn] Ignore Visual Studio's CMakeSettings.json. 2018-10-29 14:51:02 +00:00
CMakeLists.txt [CMake] Accept ENTITLEMENTS in add_llvm_executable and llvm_codesign 2018-11-16 18:10:36 +00:00
CODE_OWNERS.TXT
CREDITS.TXT It's a test commit, which is my first commit and also add my name to CREDITS.TXT 2018-11-06 03:07:03 +00:00
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT Adding Yvan as release test backup for Diana 2018-11-08 11:51:27 +00:00
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.