summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit message (Expand)AuthorAgeFilesLines
* [InstCombine] use APInt in isSignTest instead of ConstantInt; NFCSanjay Patel2016-08-181-6/+7
* [InstCombine] use m_APInt to allow icmp (xor X, Y), C folds for splat constan...Sanjay Patel2016-08-181-13/+10
* Replace a few more "fall through" comments with LLVM_FALLTHROUGHJustin Bogner2016-08-171-6/+9
* [InstCombine] more clean up of foldICmpXorConstant(); NFCISanjay Patel2016-08-171-27/+21
* [InstCombine] clean up foldICmpXorConstant(); NFCISanjay Patel2016-08-171-55/+60
* [InstCombine] use m_APInt to allow icmp (or X, Y), C folds for splat constant...Sanjay Patel2016-08-171-5/+0
* [InstCombine] clean up foldICmpOrConstant(); NFCISanjay Patel2016-08-171-18/+16
* [InstCombine] use m_APInt to allow icmp (add X, Y), C folds for splat constan...Sanjay Patel2016-08-171-34/+29
* Replace "fallthrough" comments with LLVM_FALLTHROUGHJustin Bogner2016-08-171-2/+2
* [InstCombine] clean up foldICmpAddConstant(); NFCISanjay Patel2016-08-161-44/+41
* [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
OpenPOWER on IntegriCloud