summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
Commit message (Expand)AuthorAgeFilesLines
* [InstCombine] prevent possible miscompile with negate+sdiv of vector opSanjay Patel2019-04-091-3/+6
* [InstCombine] sdiv exact flag fixup.Chen Zheng2019-04-081-2/+5
* [InstCombine] form uaddsat from add+umin (PR14613)Sanjay Patel2019-03-261-0/+25
* [InstCombine] fold adds of constants separated by sext/zextSanjay Patel2019-02-281-8/+44
* [InstCombine] canonicalize add/sub with boolSanjay Patel2019-02-241-0/+6
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
* [InstCombine] Don't undo 0 - (X * Y) canonicalization when combining subs.Florian Hahn2019-01-151-4/+3
* [InstCombine] name change: foldShuffledBinop -> foldVectorBinop; NFCSanjay Patel2018-10-031-4/+4
* [InstCombine] Fold ~A - Min/Max(~A, O) -> Max/Min(A, ~O) - ADavid Green2018-10-021-0/+33
* [InstCombine] Support (sub (sext x), (sext y)) --> (sext (sub x, y)) and (sub...Craig Topper2018-09-151-0/+3
* [InstCombine] refactor mul narrowing folds; NFCISanjay Patel2018-09-141-40/+1
* [InstCombine] add/use overflowing math helper functions; NFCSanjay Patel2018-09-141-3/+1
* [InstCombine] refactor add narrowing folds; NFCISanjay Patel2018-09-141-71/+43
* [InstCombine] Use dyn_cast instead of match(m_Constant). NFCCraig Topper2018-09-111-4/+2
* [InstCombine] Extend (add (sext x), cst) --> (sext (add x, cst')) and (add (z...Craig Topper2018-08-281-2/+4
* [InstCombine] Remove unused method FAddCombine::createFDiv(). NFCAndrea Di Biagio2018-08-171-8/+0
* [InstCombine] fix/enhance fadd/fsub factorizationSanjay Patel2018-08-121-87/+45
* [InstCombine] allow fsub+fmul FMF folds for vectorsSanjay Patel2018-08-091-0/+11
* [InstCombine] reduce code duplication; NFCSanjay Patel2018-08-091-9/+7
* [InstCombine] fold fadd+fsub with common operandSanjay Patel2018-08-081-0/+5
* [InstCombine] fold fsub+fsub with common operandSanjay Patel2018-08-081-0/+8
* [InstCombine] fold fneg into constant operand of fmul/fdivSanjay Patel2018-08-081-2/+15
* 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
OpenPOWER on IntegriCloud