summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
Commit message (Expand)AuthorAgeFilesLines
* Remove trailing spaceFangrui Song2018-07-301-1/+1
* [InstCombine] try to fold 'add+sub' to 'not+add'Sanjay Patel2018-07-291-0/+8
* [InstCombine] try to fold 'sub' to 'not'Sanjay Patel2018-07-281-1/+7
* [InstCombine] return when SimplifyAssociativeOrCommutative makes a changeSanjay Patel2018-07-131-3/+8
* [InstCombine] (A + 1) + (B ^ -1) --> A - BGil Rapaport2018-06-261-0/+5
* [InstCombine] simplify binops before trying other foldsSanjay Patel2018-06-211-14/+16
* [InstCombine] fold another shifty abs pattern to cmp+sel (PR36036)Sanjay Patel2018-06-061-0/+21
* [InstCombine] PR37603: low bit mask canonicalizationRoman Lebedev2018-06-061-0/+27
* [InstCombine] improve sub with bool foldsSanjay Patel2018-06-031-13/+14
* [InstCombine] call simplify before trying vector foldsSanjay Patel2018-06-021-15/+12
* [InstCombine] don't negate constant expression with fsub (PR37605)Sanjay Patel2018-05-301-1/+3
* [InstCombine] Negate ABS/NABS patterns by swapping the select operands to rem...Craig Topper2018-05-231-0/+16
* [InstCombine] Moving overflow computation logic from InstCombine to ValueTrac...Omer Paparo Bivas2018-05-101-42/+0
* Remove \brief commands from doxygen comments.Adrian Prantl2018-05-011-2/+2
* [PatternMatch] Stabilize the matching order of commutative matchersRoman Lebedev2018-04-271-15/+4
* [InstCombine] Simplify Add with remainder expressions as operands.Sanjoy Das2018-04-261-0/+109
* [InstCombine] simplify fneg+fadd folds; NFCSanjay Patel2018-04-161-8/+7
* [InstCombine] Enable Add/Sub simplifications with only 'reassoc' FMFWarren Ristow2018-04-141-3/+4
* [InstCombine] limit X - (cast(-Y) --> X + cast(Y) with hasOneUse()Sanjay Patel2018-04-111-10/+10
* [InstCombine] limit nsz: -(X - Y) --> Y - X to hasOneUse()Sanjay Patel2018-04-061-12/+9
* [InstCombine] FP: Z - (X - Y) --> Z + (Y - X)Sanjay Patel2018-04-051-2/+11
* [InstCombine] nsz: -(X - Y) --> Y - XSanjay Patel2018-04-051-4/+11
* [InstCombine] use pattern matchers for fsub --> fadd foldsSanjay Patel2018-04-051-4/+9
* [PatternMatch] allow undef elements when matching vector FP +0.0Sanjay Patel2018-03-251-1/+1
* [InstCombine] (~X) - (~Y) --> Y - XSanjay Patel2018-03-031-0/+5
* [InstCombine] move constant check into foldBinOpIntoSelectOrPhi; NFCISanjay Patel2018-02-281-4/+3
* [InstCombine] use FMF-copying functions to reduce code; NFCISanjay Patel2018-02-231-28/+12
* [InstCombine] canonicalize constant-minus-boolean to select-of-constantsSanjay Patel2017-12-061-1/+6
* [IR] redefine 'UnsafeAlgebra' / 'reassoc' fast-math-flags and add 'trans' fas...Sanjay Patel2017-11-061-4/+4
* [Transforms] Fix some Clang-tidy modernize and Include What You Use warnings;...Eugene Zelenko2017-10-241-45/+51
* [InstCombine] use m_Neg() to reduce code; NFCISanjay Patel2017-10-131-13/+9
* [InstCombine] move code to remove repeated constant check; NFCISanjay Patel2017-10-131-8/+7
* [InstCombine] recycle adds for better efficiencySanjay Patel2017-10-131-26/+21
* [InstCombine] use local var to reduce code duplication; NFCISanjay Patel2017-10-131-16/+15
* [InstCombine] add hasOneUse check to add-zext-add fold to prevent increasing ...Sanjay Patel2017-10-131-4/+2
* [InstCombine] use AddOne helper to reduce code; NFCSanjay Patel2017-10-131-6/+3
* [InstCombine] rearrange code to remove repeated constant check; NFCISanjay Patel2017-10-131-7/+5
* [InstCombine] allow zext(bool) + C --> select bool, C+1, C for vector typesSanjay Patel2017-10-131-10/+15
* [InstCombine] Add select simplificationsQuentin Colombet2017-09-201-24/+7
* [InstCombine] Simplify pointer difference subtractions (GEP-GEP) where GEPs h...Hiroshi Yamauchi2017-07-271-4/+23
* Fix a comment (test commit).Hiroshi Yamauchi2017-07-261-1/+1
* [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isInteger...Craig Topper2017-07-091-4/+4
* [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhereCraig Topper2017-07-071-36/+34
* [InstCombine] add (sext i1 X), 1 --> zext (not X)Sanjay Patel2017-06-251-9/+18
* [InstCombine] Pass a proper context instruction to all of the calls into Inst...Craig Topper2017-06-091-6/+10
* [InstCombine][InstSimplify] Use APInt::isNullValue/isOneValue to reduce compi...Craig Topper2017-06-071-3/+4
* [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
OpenPOWER on IntegriCloud