llvm-project/llvm/lib/Transforms/InstCombine
Nikita Popov 39f2bebf41 [InstCombine] Refactor OptimizeOverflowCheck; NFCI
Extract method to compute overflow based on binop and signedness,
and then make the result handling code generic. This extends the
always-overflow handling to signed muls, but has currently no effect,
as we don't compute always overflow for them (thus NFC).

llvm-svn: 361721
2019-05-26 11:43:37 +00:00
..
CMakeLists.txt [InstCombine] Optimize `atomicrmw <op>, 0` into `load atomic` when possible 2019-02-07 21:27:23 +00:00
InstCombineAddSub.cpp [NFC][InstCombine] Add FIXME for one-use check on constant negation transforms. 2019-05-20 21:00:42 +00:00
InstCombineAndOrXor.cpp [InstCombine] try harder to form rotate (funnel shift) (PR20750) 2019-05-13 17:28:19 +00:00
InstCombineAtomicRMW.cpp [InstCombine] Extend saturating idempotent atomicrmw transform to FP 2019-03-01 19:50:36 +00:00
InstCombineCalls.cpp [InstCombine] Remove OverflowCheckFlavor; NFC 2019-05-26 11:43:31 +00:00
InstCombineCasts.cpp [InstCombine] When turning sext into zext due to known bits, return the new ZExt instead of calling replaceinstuseswith 2019-05-08 20:59:21 +00:00
InstCombineCompares.cpp [InstCombine] Refactor OptimizeOverflowCheck; NFCI 2019-05-26 11:43:37 +00:00
InstCombineInternal.h [InstCombine] Refactor OptimizeOverflowCheck; NFCI 2019-05-26 11:43:37 +00:00
InstCombineLoadStoreAlloca.cpp Use the DataLayout::typeSizeEqualsStoreSize helper. NFC 2019-05-24 09:20:20 +00:00
InstCombineMulDivRem.cpp [InstCombine] canonicalize fdiv after fmul if reassociation is allowed 2019-04-15 13:23:38 +00:00
InstCombinePHI.cpp [opaque pointer types] Pass value type to LoadInst creation. 2019-02-01 20:44:24 +00:00
InstCombineSelect.cpp [InstCombine] sink FP negation of operands through select 2019-05-06 20:34:05 +00:00
InstCombineShifts.cpp [InstCombine] canShiftBinOpWithConstantRHS(): drop bogus signbit check 2019-05-17 15:52:49 +00:00
InstCombineSimplifyDemanded.cpp [InstCombine] Limit a vector demanded elts rule which was producing invalid IR. 2019-04-30 23:09:26 +00:00
InstCombineTables.td InstCombine/AMDGPU: Add dimension-aware image intrinsics to SimplifyDemanded 2018-06-21 13:37:31 +00:00
InstCombineVectorOps.cpp [InstSimplify] fold insertelement-of-extractelement 2019-05-24 00:13:58 +00:00
InstructionCombining.cpp [InstCombine] Factor out unreachable inst idiom creation [NFC] 2019-04-17 17:37:58 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00