summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Commit message (Expand)AuthorAgeFilesLines
* [IR] redefine 'UnsafeAlgebra' / 'reassoc' fast-math-flags and add 'trans' fas...Sanjay Patel2017-11-061-5/+6
* [Transforms] Fix some Clang-tidy modernize and Include What You Use warnings;...Eugene Zelenko2017-10-241-24/+41
* [InstCombine] use correct type when propagating constant condition in simplif...Sanjay Patel2017-10-061-2/+3
* [InstCombine] rename SimplifyDivRemOfSelect to be clearer, add comments, simp...Sanjay Patel2017-10-061-19/+19
* [InstCombine] Add select simplificationsQuentin Colombet2017-09-201-0/+4
* [InstCombine] fix and enhance udiv/urem narrowingSanjay Patel2017-08-241-24/+41
* [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isInteger...Craig Topper2017-07-091-3/+2
* [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhereCraig Topper2017-07-071-45/+43
* [InstCombine] Propagate nsw flag when turning mul by pow2 into shift when the...Craig Topper2017-06-271-2/+2
* [InstCombine] Pass a proper context instruction to all of the calls into Inst...Craig Topper2017-06-091-8/+11
* [InstCombine][InstSimplify] Use APInt::isNullValue/isOneValue to reduce compi...Craig Topper2017-06-071-1/+1
* [InstCombine] Add an InstCombine specific wrapper around isKnownToBeAPowerOfT...Craig Topper2017-05-251-5/+3
* [InstCombine] Cleanup the interface for overflow checksCraig Topper2017-05-221-5/+6
* [ValueTracking] Replace all uses of ComputeSignBit with computeKnownBits.Craig Topper2017-05-151-5/+3
* [InstCombine] Merge duplicate functionality between InstCombine and ValueTrac...Craig Topper2017-05-151-8/+4
* InstCombine: Use the new SimplifyQuery versions of Simplify*. Use AssumptionC...Daniel Berlin2017-04-261-11/+8
* [APInt] Rename getSignBit to getSignMaskCraig Topper2017-04-201-2/+2
* [InstCombine] Simplify 1/X for vectors.Craig Topper2017-04-171-16/+15
* [InstCombine] Add support for vector srem->urem.Craig Topper2017-04-171-7/+5
* [InstCombine] Add support for turning vector sdiv into udiv.Craig Topper2017-04-171-18/+16
* [InstCombine] Support folding a subtract with a constant LHS into a phi nodeCraig Topper2017-04-141-3/+3
* [InstCombine] improve readability; NFCISanjay Patel2017-03-141-29/+23
* [InstCombine] add a wrapper for a common pair of transforms; NFCISanjay Patel2017-01-101-24/+7
* InstCombine: fdiv -x, -y -> fdiv x, yMatt Arsenault2017-01-101-0/+10
* [InstCombine] Address post-commit feedbackDavid Majnemer2016-12-301-1/+2
* [InstCombine] More thoroughly canonicalize the position of zextsDavid Majnemer2016-12-301-0/+73
* Revert @llvm.assume with operator bundles (r289755-r289757)Daniel Jasper2016-12-191-11/+12
* Remove the AssumptionCacheHal Finkel2016-12-151-12/+11
* fix formatting; NFCSanjay Patel2016-11-211-1/+0
* [InstCombine] Teach the udiv folding logic how to handle constant expressions.Andrea Di Biagio2016-09-261-11/+14
* [InstCombine] fold X urem C -> X < C ? X : X - C when C is big (PR28672)Sanjay Patel2016-09-221-0/+8
* InstCombine: Replace some never-null pointers with references. NFCJustin Bogner2016-08-051-12/+12
* [InstCombine] shrink type of sdiv if dividend is sexted and constant divisor ...Sanjay Patel2016-06-271-0/+17
* [InstCombine] refactor sdiv by APInt transforms (NFC)Sanjay Patel2016-06-271-9/+10
* [InstCombine] use m_APInt for div --> ashr foldSanjay Patel2016-06-271-8/+6
* Add safety check to InstCombiner::commonIRemTransformsSanjoy Das2016-06-051-2/+11
* reduce indent; NFCSanjay Patel2016-05-221-19/+19
* Remove uses of builtin comma operator.Richard Trieu2016-02-181-4/+7
* function names start with a lowercase letter; NFCSanjay Patel2016-02-011-25/+25
* InstCombine: fabs(x) * fabs(x) -> x * xMatt Arsenault2016-01-301-4/+15
* function names start with a lower case letter ; NFCSanjay Patel2016-01-121-3/+3
* InstCombine: Remove ilist iterator implicit conversions, NFCDuncan P. N. Exon Smith2015-10-131-3/+3
* don't repeat function names in comments; NFCSanjay Patel2015-09-091-7/+5
* [InstCombine] Don't divide by zero when evaluating a potential transformDavid Majnemer2015-09-061-0/+8
* Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)Alexander Kornienko2015-06-231-1/+1
* Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko2015-06-191-1/+1
* [InstCombine] (mul nsw 1, INT_MIN) != (shl nsw 1, 31)David Majnemer2015-04-181-2/+6
* DataLayout is mandatory, update the API to reflect it with references.Mehdi Amini2015-03-101-13/+13
* [InstCombine] Fix an assertion when fmul has a ConstantExpr operandMichael Kuperstein2015-03-051-2/+2
* InstSimplify: simplify 0 / X if nnan and nszMehdi Amini2015-02-231-2/+4
OpenPOWER on IntegriCloud