summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit message (Expand)AuthorAgeFilesLines
* [InstCombine] remove fold of an icmp pattern that should never happenSanjay Patel2016-09-011-15/+0
* [InstCombine] allow icmp (shr exact X, C2), C fold for splat constant vectorsSanjay Patel2016-08-311-5/+0
* [InstCombine] allow icmp (div X, Y), C folds for splat constant vectorsSanjay Patel2016-08-311-37/+26
* [InstCombine] change insertRangeTest() to use APInt instead of Constant; NFCISanjay Patel2016-08-311-4/+8
* [InstCombine] replace divide-by-constant checks with asserts; NFCSanjay Patel2016-08-301-19/+16
* [InstCombine] clean up foldICmpDivConstant; NFCISanjay Patel2016-08-301-16/+20
* [InstCombine] use m_APInt to allow icmp (and X, Y), C folds for splat constan...Sanjay Patel2016-08-281-32/+34
* [InstCombine] add helper function for icmp (and (sh X, Y), C2), C1 ; NFCSanjay Patel2016-08-261-44/+61
* [InstCombine] clean up foldICmpAndConstConst(); NFCSanjay Patel2016-08-261-172/+166
* [InstCombine] add helper function for folding of icmp (and X, C2), C; NFCSanjay Patel2016-08-261-6/+19
* [InstCombine] rename variables in foldICmpAndConstant(); NFCSanjay Patel2016-08-261-54/+55
* [InstCombine] rename variables in foldICmpDivConstant(); NFCSanjay Patel2016-08-261-29/+28
* [InstCombine] move foldICmpDivConstConst() contents to foldICmpDivConstant();...Sanjay Patel2016-08-241-165/+158
* [InstCombine] use m_APInt to allow icmp eq/ne (shr X, C2), C folds for splat ...Sanjay Patel2016-08-241-16/+19
* [InstCombine] add assert and explanatory comment for fold removed in r279568;...Sanjay Patel2016-08-241-0/+7
* [InstCombine] use local variables for repeated values; NFCISanjay Patel2016-08-231-12/+9
* [InstCombine] move foldICmpShrConstConst() contents to foldICmpShrConst(); NFCISanjay Patel2016-08-231-75/+65
* [InstCombine] remove icmp shr folds that are already handled by InstSimplifySanjay Patel2016-08-231-17/+3
* [InstCombine] change param type from Instruction to BinaryOperator for icmp h...Sanjay Patel2016-08-221-73/+85
* [InstCombine] use m_APInt to allow icmp (shr exact X, Y), 0 folds for splat c...Sanjay Patel2016-08-221-14/+13
* [InstCombine] use m_APInt to allow icmp (shl X, Y), C folds for splat constan...Sanjay Patel2016-08-211-13/+10
* [InstCombine] use m_APInt to allow icmp (shl X, Y), C folds for splat constan...Sanjay Patel2016-08-211-6/+6
* [InstCombine] use m_APInt to allow icmp (shl X, Y), C folds for splat constan...Sanjay Patel2016-08-211-6/+6
* [InstCombine] use APInt instead of ConstantInt in isSignBitCheck(); NFCISanjay Patel2016-08-211-8/+8
* [InstCombine] use m_APInt to allow icmp (shl X, Y), C folds for splat constan...Sanjay Patel2016-08-191-17/+16
* [InstCombine] remove an icmp fold that is already handled by InstSimplifySanjay Patel2016-08-191-10/+0
* [InstCombine] use local variables to reduce code in foldICmpShlConstant; NFCSanjay Patel2016-08-191-21/+15
* [InstCombine] rename variables in foldICmpShlConstant(); NFCSanjay Patel2016-08-191-34/+34
* Fix regression in InstCombine introduced by r278944Reid Kleckner2016-08-191-3/+4
* [InstCombine] use m_APInt to allow icmp (shl 1, Y), C folds for splat constan...Sanjay Patel2016-08-191-4/+5
* [InstCombine] use m_APInt to allow icmp X, C folds for splat constant vectorsSanjay Patel2016-08-191-5/+10
* [InstCombine] add helper function for folds of icmp (shl 1, Y), C; NFCISanjay Patel2016-08-181-62/+65
* [InstCombine] use m_APInt to allow icmp (trunc X, Y), C folds for splat const...Sanjay Patel2016-08-181-9/+4
* [InstCombine] clean up foldICmpTruncConstant(); NFCISanjay Patel2016-08-181-14/+17
* [InstCombine] use m_APInt to allow icmp (udiv X, Y), C folds for splat consta...Sanjay Patel2016-08-181-18/+20
* [InstCombine] clean up foldICmpUDivConstant; NFCSanjay Patel2016-08-181-16/+12
* [InstCombine] use m_APInt to allow icmp (mul X, Y), C folds for splat constan...Sanjay Patel2016-08-181-18/+14
* [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
OpenPOWER on IntegriCloud