summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* [ValueTracking] Convert most of the calls to computeKnownBits to use the vers...Craig Topper2017-05-241-10/+4
* [InstCombine] Cleanup the interface for overflow checksCraig Topper2017-05-221-12/+14
* [KnownBits] Use isNegative/isNonNegative to shorten some code. NFCCraig Topper2017-05-221-2/+2
* [ValueTracking] Replace all uses of ComputeSignBit with computeKnownBits.Craig Topper2017-05-151-7/+3
* [InstCombine] Merge duplicate functionality between InstCombine and ValueTrac...Craig Topper2017-05-151-95/+5
* [InstCombine] add (ashr (shl i32 X, 31), 31), 1 --> and (not X), 1Sanjay Patel2017-05-101-0/+10
* [InstCombine] add helper function for add X, C folds; NFCISanjay Patel2017-05-101-34/+45
* [InstCombine][KnownBits] Use KnownBits better to detect nsw addsCraig Topper2017-05-031-32/+44
* [APInt] Add clearSignBit method. Use it and setSignBit in a few places. NFCICraig Topper2017-04-281-1/+1
* InstCombine: Use the new SimplifyQuery versions of Simplify*. Use AssumptionC...Daniel Berlin2017-04-261-6/+4
* [ValueTracking] Introduce a KnownBits struct to wrap the two APInts for compu...Craig Topper2017-04-261-26/+21
* InstCombine: Fix assert when reassociating fsub with undefMatt Arsenault2017-04-241-0/+5
* Fix for PR32740 - Invalid floating type, unreachable between r300969 and r301029Artur Pilipenko2017-04-221-2/+5
* [InstCombine] fadd double (sitofp x), y check that the promotion is validArtur Pilipenko2017-04-211-22/+38
* [APInt] Rename getSignBit to getSignMaskCraig Topper2017-04-201-6/+6
* [InstCombine] Support folding a subtract with a constant LHS into a phi nodeCraig Topper2017-04-141-0/+5
* Fix spelling compliment->complement. Mostly refering to 2s complement. NFCCraig Topper2017-04-111-2/+2
* [InstCombine] Use commutable matchers and m_OneUse in visitSub to shorten cod...Craig Topper2017-04-101-15/+11
* [InstCombine] Use m_c_Add to shorten some code. Add testcases for this fold s...Craig Topper2017-04-101-2/+1
* [InstCombine] Support folding of add instructions with vector constants into ...Craig Topper2017-04-101-7/+2
* [InstCombine] Use commutable and/or/xor matchers to simplify some codeCraig Topper2017-04-101-9/+4
* [InstCombine] Remove testing assert I accidentally left in r299710.Craig Topper2017-04-061-3/+1
* [InstCombine] When checking to see if we can turn subtracts of 2^n - 1 into x...Craig Topper2017-04-061-5/+7
* [InstCombine] rename variable for easier reading; NFCSanjay Patel2017-04-041-7/+8
* [InstCombine] Turn subtract of vectors of i1 into xor like we do for scalar i...Craig Topper2017-04-041-1/+1
* [InstCombine] Fix typo last->least. NFCCraig Topper2017-03-301-3/+3
* NFC. InstCombiner::visitFAdd extract LHSIntVal/RHSIntVal local variablesArtur Pilipenko2017-03-211-9/+11
* [InstCombine] don't try SimplifyDemandedInstructionBits from add/sub because ...Sanjay Patel2017-02-221-8/+0
* [InstCombine] add nsw/nuw X, signbit --> or X, signbitSanjay Patel2017-02-181-2/+9
* [InstCombine] improve formatting; NFCSanjay Patel2017-02-151-6/+3
* [InstCombine] add a wrapper for a common pair of transforms; NFCISanjay Patel2017-01-101-9/+3
* [InstCombine] Combine adds across a zextDavid Majnemer2017-01-041-0/+12
* [InstCombine] Address post-commit feedbackDavid Majnemer2016-12-301-1/+2
* [InstCombine] More thoroughly canonicalize the position of zextsDavid Majnemer2016-12-301-9/+47
* Revert @llvm.assume with operator bundles (r289755-r289757)Daniel Jasper2016-12-191-5/+5
* Remove the AssumptionCacheHal Finkel2016-12-151-5/+5
* [InstCombine] use m_APInt to allow sub with constant folds for splat vectorsSanjay Patel2016-10-141-18/+19
* [InstCombine] sub X, sext(bool Y) -> add X, zext(bool Y)Sanjay Patel2016-10-141-0/+11
* InstCombine: Replace some never-null pointers with references. NFCJustin Bogner2016-08-051-5/+5
* [InstCombine] fold add(zext(xor X, C), C) --> sext X when C is INT_MIN in the...Sanjay Patel2016-07-191-0/+10
* [InstCombine] allow X + signbit --> X ^ signbit for vector splatsSanjay Patel2016-07-161-3/+10
* Apply clang-tidy's modernize-loop-convert to most of lib/Transforms.Benjamin Kramer2016-06-261-6/+3
* Delete more dead code.Rafael Espindola2016-06-221-22/+0
* Remove uses of builtin comma operator.Richard Trieu2016-02-181-5/+12
* Fix Clang-tidy readability-redundant-control-flow warnings; other minor fixes.Eugene Zelenko2016-02-021-2/+0
* function names start with a lowercase letter; NFCSanjay Patel2016-02-011-15/+15
* [InstCombine] Fix indentation. NFC.Craig Topper2015-12-211-2/+2
* Fix some Clang-tidy modernize warnings, other minor fixes.Eugene Zelenko2015-11-041-14/+12
* don't repeat function names in comments; NFCSanjay Patel2015-09-091-1/+1
* [InstCombine] Generalize sub of selects optimization to all BinaryOperatorsDavid Majnemer2015-07-141-26/+0
OpenPOWER on IntegriCloud