summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit message (Expand)AuthorAgeFilesLines
* [InstCombine] use m_APInt to allow icmp (sub X, Y), C folds for splat constan...Sanjay Patel2016-08-161-15/+10
* [InstCombine] fix variable names to match formula comments; NFCSanjay Patel2016-08-161-17/+17
* [InstCombine] add helper functions for foldICmpWithConstant; NFCISanjay Patel2016-08-161-585/+698
* [InstCombine] use m_APInt in foldICmpWithConstant; NFCISanjay Patel2016-08-161-47/+45
* constify InstCombine::foldAllocaCmp. NFC.Pete Cooper2016-08-121-9/+10
* InstCombine: Clean up some trailing whitespace. NFCJustin Bogner2016-08-051-7/+7
* InstCombine: Replace some never-null pointers with references. NFCJustin Bogner2016-08-051-9/+6
* [InstCombine] use m_APInt to allow icmp eq (mul X, C1), C2 folds for splat co...Sanjay Patel2016-08-041-6/+5
* [InstCombine] use m_APInt to allow icmp eq (and X, C1), C2 folds for splat co...Sanjay Patel2016-08-041-14/+9
* [InstCombine] use m_APInt to allow icmp eq (or X, C1), C2 folds for splat con...Sanjay Patel2016-08-041-9/+7
* [InstCombine] use m_APInt to allow icmp eq (op X, Y), C folds for splat const...Sanjay Patel2016-08-041-11/+0
* [InstCombine] use m_APInt to allow icmp eq (sub C1, X), C2 folds for splat co...Sanjay Patel2016-08-041-4/+4
* Add popcount(n) == bitsize(n) -> n == -1 transformation.Amaury Sechet2016-08-041-4/+10
* [InstCombine] use m_APInt to allow icmp eq (add X, C1), C2 folds for splat co...Sanjay Patel2016-08-031-6/+8
* [InstCombine] use m_APInt to allow icmp eq (srem X, C1), C2 folds for splat c...Sanjay Patel2016-08-031-4/+3
* [InstCombine] use m_APInt to allow icmp (binop X, Y), C folds with constant s...Sanjay Patel2016-08-031-14/+20
* use local variables; NFCSanjay Patel2016-08-031-29/+23
* [InstCombine] replace dyn_casts with matches; NFCISanjay Patel2016-08-021-13/+14
* [InstCombine] allow icmp (bit-manipulation-intrinsic(), C) folds for vectorsSanjay Patel2016-07-231-13/+16
* [InstCombine] move udiv+cmp fold over with other BinOp+cmp folds; NFCISanjay Patel2016-07-231-9/+8
* [InstCombine] break up foldICmpEqualityWithConstant(); NFCISanjay Patel2016-07-211-148/+159
* make InstCombine compare helper functions private; NFCSanjay Patel2016-07-211-45/+45
* [InstCombine] break up visitICmpInstWithInstAndIntCst(); NFCISanjay Patel2016-07-211-155/+164
* Avoid copies of std::strings and APInt/APFloats where we only read from itBenjamin Kramer2016-06-081-6/+6
* [InstCombine] limit icmp transform to ConstantInt (PR28011)Sanjay Patel2016-06-061-3/+5
* [InstCombine] allow vector icmp bool transformsSanjay Patel2016-06-051-1/+1
* fix documentation comments and other clean-ups; NFCSanjay Patel2016-06-051-74/+67
* [InstCombine] less 'CI' confusion; NFCSanjay Patel2016-06-051-26/+26
* [InstCombine] allow vector constants for cast+icmp foldSanjay Patel2016-06-041-1/+1
* clean-up; NFCSanjay Patel2016-06-041-4/+3
* fix formatting, punctuation; NFCSanjay Patel2016-06-041-5/+3
* [InstCombine] add another test for wrong icmp constant (PR27792)Sanjay Patel2016-05-171-1/+1
* [InstCombine] fix constant to be signed for signed comparisonsSanjay Patel2016-05-171-1/+1
* [InstCombine] Don't crash when trying to take an element of a ConstantExpr.Benjamin Kramer2016-05-171-0/+3
* try to avoid unused variable warning in release build; NFCISanjay Patel2016-05-171-1/+2
* [InstCombine] check vector elements before trying to transform LE/GE vector i...Sanjay Patel2016-05-171-78/+42
* [InstCombine] handle zero constant vectors for LE/GE comparisons tooSanjay Patel2016-05-131-2/+3
* [InstCombine] canonicalize* LE/GE vector integer comparisons to LT/GT (PR2670...Sanjay Patel2016-05-131-2/+55
* [InstCombine] Fold icmp ugt/ult (udiv i32 C2, X), C1.Chad Rosier2016-05-101-3/+21
* [InstCombine] Fold icmp eq/ne (udiv i32 A, B), 0 -> icmp ugt/ule B, A.Chad Rosier2016-05-091-0/+12
* "Reapply r268521 "[InstCombine] Canonicalize icmp instructions based on domin...Balaram Makam2016-05-041-0/+45
* Revert "[InstCombine] Canonicalize icmp instructions based on dominating cond...Balaram Makam2016-05-041-45/+0
* [InstCombine] Canonicalize icmp instructions based on dominating conditions.Balaram Makam2016-05-041-0/+45
* [InstCombine] add helper function for ICmp with constant canonicalization; NFCISanjay Patel2016-04-291-24/+38
* [ValueTracking, VectorUtils] Refactor getIntrinsicIDForCallDavid Majnemer2016-04-191-1/+1
* [NFC] Header cleanupMehdi Amini2016-04-181-3/+2
* [InstCombine] Don't transform compares of calls to functions named fabs{f,l,}David Majnemer2016-04-151-30/+25
* [InstCombine] remove constant by inverting compare + logic (PR27105)Sanjay Patel2016-04-141-0/+9
* [InstCombine] We folded an fcmp to an i1 instead of a vector of i1David Majnemer2016-04-131-1/+1
* [InstCombine] Don't insert instructions before a catch switchDavid Majnemer2016-03-191-0/+3
OpenPOWER on IntegriCloud