Go to file
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
clang [NFC] Remove MS line endings in diagnostics file. 2018-11-20 16:32:46 +00:00
clang-tools-extra [clang-tidy] Don't generate incorrect fixes for class constructed from list-initialized arguments 2018-11-20 15:45:15 +00:00
compiler-rt [XRay] Add a test for allocator exhaustion 2018-11-20 03:56:04 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc r600: Add datalayout to image builtin implementation 2018-11-10 21:43:40 +00:00
libcxx [NFC][libcxx] Fix incorrect comments 2018-11-19 22:06:42 +00:00
libcxxabi [CMake] Passthrough CFLAGS when checking the compiler-rt path 2018-11-14 00:09:26 +00:00
libunwind [CMake] Passthrough CFLAGS when checking the compiler-rt path 2018-11-14 00:09:26 +00:00
lld [WebAssembly] Fix inaccurate comments / assertion messages 2018-11-19 23:31:28 +00:00
lldb [lit] Build and link TestIRMemoryMapWindows explicitly 2018-11-20 16:44:06 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [APInt] Add methods for saturated add and sub 2018-11-20 16:47:59 +00:00
openmp Fix for bugzilla https://bugs.llvm.org/show_bug.cgi?id=39137. 2018-11-14 13:49:41 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [CMake] Fix generation of exported targets in build directory 2018-11-06 15:18:17 +00:00
README.md Update the project name in README.md 2018-10-19 00:03:01 +00:00

README.md

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.