summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit message (Expand)AuthorAgeFilesLines
* [InstCombine] Re-commit: Fold 'check for [no] signed truncation' patternRoman Lebedev2018-07-181-0/+78
* Revert "[InstCombine] Fold 'check for [no] signed truncation' pattern"Bob Haarman2018-07-181-69/+0
* Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFCI.Simon Pilgrim2018-07-171-2/+2
* [InstCombine] Fold 'check for [no] signed truncation' patternRoman Lebedev2018-07-161-0/+69
* [InstCombine] fold icmp pred (sub 0, X) C for vector typeChen Zheng2018-07-161-2/+2
* [NFC][InstCombine] foldICmpWithLowBitMaskedVal(): update comments.Roman Lebedev2018-07-141-2/+3
* [InstCombine] Fold x & (-1 >> y) s< x to x s> (-1 >> y)Roman Lebedev2018-07-141-0/+6
* [InstCombine] Fold x & (-1 >> y) s>= x to x s<= (-1 >> y)Roman Lebedev2018-07-141-0/+6
* [InstCombine] Fold x s<= x & (-1 >> y) to x s<= (-1 >> y)Roman Lebedev2018-07-141-0/+6
* [InstCombine] Fold x s> x & (-1 >> y) to x s> (-1 >> y)Roman Lebedev2018-07-141-0/+6
* [InstCombine] Fold x u<= x & C to x u<= CRoman Lebedev2018-07-141-0/+5
* [InstCombine] Fold x u> x & C to x u> CRoman Lebedev2018-07-141-0/+5
* [InstCombine] Fold x & (-1 >> y) u< x to x u> (-1 >> y)Roman Lebedev2018-07-141-0/+5
* [InstCombine] Fold x & (-1 >> y) u>= x to x u<= (-1 >> y)Roman Lebedev2018-07-141-0/+5
* [InstCombine] Fold x & (-1 >> y) != x to x u> (-1 >> y)Roman Lebedev2018-07-121-0/+4
* [InstCombine] Fold x & (-1 >> y) == x to x u<= (-1 >> y)Roman Lebedev2018-07-111-0/+34
* Revert "[InstCombine] Delay foldICmpUsingKnownBits until simple transforms ar...Max Kazantsev2018-07-061-7/+3
* [InstCombine] Delay foldICmpUsingKnownBits until simple transforms are doneMax Kazantsev2018-07-031-3/+7
* [InstCombine] Avoid iteration/mutation conflictJoseph Tremoulet2018-06-151-1/+2
* Fix a bunch of places where operator-> was used directly on the return from d...Craig Topper2018-05-051-1/+1
* Remove \brief commands from doxygen comments.Adrian Prantl2018-05-011-3/+3
* [InstCombine] Fold compare of int constant against a splatted vector of intsDaniel Neilson2018-04-031-0/+44
* [InstCombine] add folds for icmp + sub (PR36969)Sanjay Patel2018-04-021-2/+7
* [PatternMatch] allow undef elements when matching vector FP +0.0Sanjay Patel2018-03-251-2/+2
* [InstCombine] peek through more icmp of FP cast + bitcastSanjay Patel2018-03-251-4/+14
* [InstCombine] peek through FP casts for sign-bit compares (PR36682)Sanjay Patel2018-03-241-0/+9
* [InstCombine] peek through unsigned FP casts for zero-equality compares (PR36...Roman Lebedev2018-03-181-0/+9
* [InstCombine] Don't blow up in foldICmpWithCastAndCast on vector icmp instruc...Daniel Neilson2018-03-051-1/+8
* Adding a width of the GEP index to the Data Layout.Elena Demikhovsky2018-02-141-3/+3
* [InstCombine] simplify logic for swapMayExposeCSEOpportunities; NFCISanjay Patel2018-02-021-23/+9
* [InstCombine] fix typos, formatting; NFCSanjay Patel2018-02-021-7/+6
* [InstCombine] weaken assertions for icmp folds (PR35846)Sanjay Patel2018-01-091-10/+4
* [InstCombine] safely create a constant of the right type (PR35794)Sanjay Patel2018-01-041-4/+4
* Remove redundant includes from lib/Transforms.Michael Zolotukhin2017-12-131-2/+0
* [InstCombine] Teach visitICmpInst to not break integer absolute value idiomsCraig Topper2017-11-121-6/+12
* [InstCombine] Update stale comment. NFCCraig Topper2017-11-071-2/+1
* [InstCombine] don't unnecessarily generate a constant; NFCISanjay Patel2017-10-161-3/+2
* Move folding of icmp with zero after checking for min/max idioms.Nikolai Bozhenov2017-10-161-11/+22
* revert r314984: revert r314698 - [InstCombine] remove one-use restriction for...Sanjay Patel2017-10-151-6/+6
* [InstCombine] improve folds for icmp gt/lt (shr X, C1), C2Sanjay Patel2017-10-051-37/+40
* revert r314698 - [InstCombine] remove one-use restriction for icmp (shr exact...Sanjay Patel2017-10-051-6/+6
* [InstCombine] Improve support for ashr in foldICmpAndShiftCraig Topper2017-10-041-9/+12
* [InstCombine] Use isSignBitCheck to simplify an if statement. Directly create...Craig Topper2017-10-031-12/+8
* [InstCombine] Change a bunch of methods to take APInts by reference instead o...Craig Topper2017-10-031-119/+119
* [InstCombine] Replace an equality compare of two APInt pointers with a compar...Craig Topper2017-10-031-1/+1
* [InstCombine] remove one-use restriction for icmp (shr exact X, C1), C2 --> i...Sanjay Patel2017-10-021-6/+6
* [InstCombine] Use APInt for all the math in foldICmpDivConstantCraig Topper2017-10-011-95/+46
* Revert r314017 '[InstCombine] Simplify check for RHS being a splat constant i...Craig Topper2017-09-271-16/+22
* [InstCombine] Remove one use restriction on the shift for calls to foldICmpAn...Craig Topper2017-09-261-3/+3
* [InstCombine] Move an optimization from foldICmpAndConstConst to foldICmpUsin...Craig Topper2017-09-251-16/+10
OpenPOWER on IntegriCloud