summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* [InstSimplify] use ConstantRange to simplify or-of-icmpsSanjay Patel2017-05-071-55/+2
* [InstCombine] don't use DeMorgan's Law on integer constants (2nd try)Sanjay Patel2017-05-021-18/+21
* revert r301923 : [InstCombine] don't use DeMorgan's Law on integer constantsSanjay Patel2017-05-021-21/+18
* [InstCombine] don't use DeMorgan's Law on integer constantsSanjay Patel2017-05-021-18/+21
* [InstCombine] check one-use before applying DeMorgan nor/nand foldsSanjay Patel2017-05-011-10/+14
* [InstCombine] fix matcher to bind to specific operand (PR32830)Sanjay Patel2017-04-271-1/+1
* InstCombine: Use the new SimplifyQuery versions of Simplify*. Use AssumptionC...Daniel Berlin2017-04-261-3/+3
* [InstCombine] Add missing commute handling to (A | B) & (B ^ (~A)) -> (A & B)Craig Topper2017-04-251-3/+8
* [InstCombine] Use commutable matchers to reduce some code. NFCCraig Topper2017-04-251-4/+2
* [InstSimplify] use ConstantRange to simplify more and-of-icmpsSanjay Patel2017-04-241-40/+0
* [InstSimplify] move (A & ~B) | (A ^ B) -> (A ^ B) from InstCombineSanjay Patel2017-04-241-13/+0
* [InstCombine] add/move folds for [not]-xorSanjay Patel2017-04-231-38/+67
* [InstCombine] add pattern matches for commuted variants of xor-to-xorSanjay Patel2017-04-231-34/+55
* [InstCombine] use 'match' to reduce code; NFCISanjay Patel2017-04-221-36/+31
* [APInt] Rename getSignBit to getSignMaskCraig Topper2017-04-201-2/+2
* [InstCombine] Matchers work with both ConstExpr and Instructions.Davide Italiano2017-04-171-2/+2
* [InstCombine] allow (X != C1 && X != C2) and similar patterns to match splat ...Sanjay Patel2017-04-151-19/+19
* [InstCombine] (X != C1 && X != C2) --> (X | (C1 ^ C2)) != C2Sanjay Patel2017-04-141-36/+65
* [InstCombine] fold X == 0 || X == -1 to one compare (PR32524)Sanjay Patel2017-04-131-1/+5
* [InstCombine] use similar ops for related folds; NFCISanjay Patel2017-04-131-10/+9
* [InstCombine] fix assert to not always be trueSanjay Patel2017-04-131-1/+1
* [InstCombine] morph an existing instruction instead of creating a new oneSanjay Patel2017-04-121-7/+6
* [InstCombine][IR] Add a commutable BinOp matcher. Use it to reduce some code....Craig Topper2017-04-121-2/+1
* revert r299851 - [InstCombine] fix matching of or-of-icmps constants (PR32524)Sanjay Patel2017-04-111-16/+12
* [InstCombine] improve variable names; NFCISanjay Patel2017-04-101-34/+34
* [InstCombine] fix matching of or-of-icmps constants (PR32524)Sanjay Patel2017-04-101-12/+16
* [InstCombine] use m_c_And and m_c_Xor to handle commuted versions of a transf...Craig Topper2017-04-101-2/+2
* [InstCombine] Remove unnecessary dyn_cast to BinaryOperator around some match...Craig Topper2017-04-101-31/+29
* [InstCombine] Make the (A|B)^B -> A & ~B transform code consistent with the v...Craig Topper2017-04-101-5/+5
* [InstCombine] Use m_OneUse to shorten some code. NFCCraig Topper2017-04-101-6/+3
* [InstCombine] remove dead cases from icmp pair switches; NFCISanjay Patel2017-04-091-32/+0
* [InstCombine] Extend some OR combines to support vectors.Craig Topper2017-04-091-19/+23
* [InstCombine] Extend a canonicalization check to apply to vector constants too.Craig Topper2017-04-091-1/+2
* [InstCombine] Use the SubOne helper function to shorten some code. NFCCraig Topper2017-04-091-7/+4
* [InstCombine] rename variable for easier reading; NFCCraig Topper2017-04-091-9/+9
* [InstCombine] Handle more commuted cases of ((A & B) | ~A) -> (~A | B)Craig Topper2017-04-071-3/+4
* [InstCombine] Add more commuted patterns to support folding ((~A & B) | A) ->...Craig Topper2017-04-071-3/+4
* [InstCombine] Remove redundant combine from visitAndCraig Topper2017-04-061-90/+0
* [InstCombine] Fix a case where we weren't checking that an instruction had a ...Craig Topper2017-04-061-6/+9
* [InstCombine] fix formatting and variable names; NFCISanjay Patel2017-04-051-236/+252
* [InstCombine] Support folding and/or/xor with a constant vector RHS into sele...Craig Topper2017-04-041-3/+6
* [InstCombine] Remove canonicalization for (X & C1) | C2 --> (X | C2) & (C1|C2...Craig Topper2017-04-031-11/+0
* [DAGCombine][InstCombine] Fix inverted if condition in equivalent comments in...Craig Topper2017-04-031-1/+1
* Revert r299337 "[InstCombine] Remove redundant combine from visitAnd"Craig Topper2017-04-031-0/+87
* [InstCombine] fix formatting for foldLogOpOfMaskedICmps and related bits; NFCISanjay Patel2017-04-031-145/+158
* [InstCombine] Remove a And transform that should be handled by SimplifyDemand...Craig Topper2017-04-031-7/+0
* [InstCombine] Make InstCombiner::OptAndOp take a BinaryOperator instead of an...Craig Topper2017-04-021-3/+3
* [InstCombine] Remove redundant combine from visitAndCraig Topper2017-04-021-87/+0
* [APInt] Fix bugs in isShiftedMask to match behavior of the similar function i...Craig Topper2017-03-311-1/+1
* [InstCombine] Remove some code from visitAnd that dealt with trying to reduce...Craig Topper2017-03-231-12/+0
OpenPOWER on IntegriCloud