llvm-project/llvm/lib/Transforms/InstCombine
Craig Topper bb9737247a [InstCombine] Merge duplicate functionality between InstCombine and ValueTracking
Summary:
Merge overflow computation for signed add,
appearing both in InstCombine and ValueTracking.

As part of the merge,
cleanup the interface for overflow checks in InstCombine.

Patch by Yoav Ben-Shalom.

Reviewers: craig.topper, majnemer

Reviewed By: craig.topper

Subscribers: takuto.ikuta, llvm-commits

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

llvm-svn: 303029
2017-05-15 02:44:08 +00:00
..
CMakeLists.txt [CMake] NFC. Updating CMake dependency specifications 2016-11-17 04:36:50 +00:00
InstCombineAddSub.cpp [InstCombine] Merge duplicate functionality between InstCombine and ValueTracking 2017-05-15 02:44:08 +00:00
InstCombineAndOrXor.cpp [InstCombine] remove fold that swaps xor/or with constants; NFCI 2017-05-10 21:33:55 +00:00
InstCombineCalls.cpp [KnownBits] Add bit counting methods to KnownBits struct and use them where possible 2017-05-12 17:20:30 +00:00
InstCombineCasts.cpp [InstCombineCasts] Fix checks in sext->lshr->trunc pattern. 2017-05-09 16:24:59 +00:00
InstCombineCompares.cpp [InstCombine] use local variable to reduce code duplication; NFCI 2017-05-08 16:33:42 +00:00
InstCombineInternal.h [InstCombine] Merge duplicate functionality between InstCombine and ValueTracking 2017-05-15 02:44:08 +00:00
InstCombineLoadStoreAlloca.cpp [InstCombine] Reduce visitLoadInst() code duplication. NFCI. 2017-04-19 17:26:57 +00:00
InstCombineMulDivRem.cpp [InstCombine] Merge duplicate functionality between InstCombine and ValueTracking 2017-05-15 02:44:08 +00:00
InstCombinePHI.cpp InstCombine: Use the new SimplifyQuery versions of Simplify*. Use AssumptionCache, DominatorTree, TargetLibraryInfo everywhere. 2017-04-26 20:56:07 +00:00
InstCombineSelect.cpp InstCombine: Use the new SimplifyQuery versions of Simplify*. Use AssumptionCache, DominatorTree, TargetLibraryInfo everywhere. 2017-04-26 20:56:07 +00:00
InstCombineShifts.cpp InstCombine: Use the new SimplifyQuery versions of Simplify*. Use AssumptionCache, DominatorTree, TargetLibraryInfo everywhere. 2017-04-26 20:56:07 +00:00
InstCombineSimplifyDemanded.cpp [KnownBits] Add bit counting methods to KnownBits struct and use them where possible 2017-05-12 17:20:30 +00:00
InstCombineVectorOps.cpp InstCombine: Use the new SimplifyQuery versions of Simplify*. Use AssumptionCache, DominatorTree, TargetLibraryInfo everywhere. 2017-04-26 20:56:07 +00:00
InstructionCombining.cpp [InstCombine] Prevent InstCombine from triggering an extra iteration if something changed in the initial Worklist creation 2017-05-13 06:56:04 +00:00
LLVMBuild.txt