summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit message (Expand)AuthorAgeFilesLines
* [InstCombine] narrow masked zexted binops (PR35792)Sanjay Patel2018-01-251-0/+70
* [InstCombine] canonicalize shifty abs(): ashr+add+xor --> cmp+neg+selSanjay Patel2017-12-161-0/+20
* [ValueTracking, InstCombine] canonicalize fcmp ord/uno with non-NAN ops to nu...Sanjay Patel2017-09-051-15/+6
* [InstCombine] replace unnecessary fcmp fold with assertSanjay Patel2017-09-021-6/+3
* [InstCombine] combine foldAndOfFCmps and foldOrOfFcmps; NFCISanjay Patel2017-09-021-75/+30
* [InstCombine] fix misnamed locals and use them to reduce code; NFCISanjay Patel2017-09-021-34/+34
* [InstCombine] remove unnecessary code; NFCSanjay Patel2017-09-021-3/+0
* [InstCombine] move related functions next to each other; NFCSanjay Patel2017-09-021-51/+51
* [InstCombine] Don't require the compare types to be the same in getMaskedType...Craig Topper2017-09-011-3/+2
* [InstCombine] When converting decomposeBitTestICmp's APInt return to Constant...Craig Topper2017-09-011-2/+2
* [InstCombine] Remove check for sext of vector icmp from shouldOptimizeCastCraig Topper2017-08-221-6/+0
* [InstCombine] Move the checks for pointer types in getMaskedTypeForICmpPair e...Craig Topper2017-08-211-12/+6
* Recommit r310869, "[InstSimplify][InstCombine] Modify the interface of decomp...Craig Topper2017-08-141-3/+15
* Revert r310869 "[InstSimplify][InstCombine] Modify the interface of decompose...Craig Topper2017-08-141-15/+3
* [InstSimplify][InstCombine] Modify the interface of decomposeBitTestICmp and ...Craig Topper2017-08-141-3/+15
* [InstCombine] Simplify and inline FoldOrWithConstants/FoldXorWithConstantsCraig Topper2017-08-141-85/+19
* [InstCombine] Make (X|C1)^C2 -> X^(C1^C2) iff X&~C1 == 0 work for splat vectorsCraig Topper2017-08-101-23/+18
* [InstCombine] Fix a crash in getSelectCondition if we happen to have two inve...Craig Topper2017-08-101-2/+3
* [InstCombine] Use regular dyn_cast instead of a matcher for a simple case. NFCCraig Topper2017-08-091-2/+2
* Removing an unused variable that was missed with the refactoring in r310272; ...Aaron Ballman2017-08-071-3/+0
* [InstCombine] Support (X | C1) & C2 --> (X & C2^(C1&C2)) | (C1&C2) for vector...Craig Topper2017-08-071-15/+16
* [InstCombine] Remove shift handling from OptAndOp.Craig Topper2017-08-061-58/+0
* [InstCombine] Support (X ^ C1) & C2 --> (X & C2) ^ (C1&C2) for vector splats.Craig Topper2017-08-061-8/+10
* [InstCombine] Support '(C - X) ^ signmask -> (C + signmask - X)' and '(X + C)...Craig Topper2017-08-061-16/+11
* [InstCombine] Support ~(c-X) --> X+(-c-1) and ~(X-c) --> (-c-1)-X for splat v...Craig Topper2017-08-061-14/+25
* [InstCombine] Fold (C - X) ^ signmask -> (C + signmask - X).Craig Topper2017-08-051-6/+11
* [InstCombine] Remove the (not (sext)) case from foldBoolSextMaskToSelect and ...Craig Topper2017-08-041-27/+8
* [InstCombine] Remove explicit code for folding (xor(zext(cmp)), 1) and (xor(s...Craig Topper2017-08-021-15/+0
* [InstCombine] Support sext in foldLogicCastConstantCraig Topper2017-08-021-4/+14
* [InstCombine] allow mask hoisting transform for vector typesSanjay Patel2017-07-311-33/+27
* [InstCombine] Move (0 - x) & 1 --> x & 1 to SimplifyDemandedUseBits.Craig Topper2017-07-161-5/+1
* [InstCombine] Improve the expansion in SimplifyUsingDistributiveLaws to handl...Craig Topper2017-07-151-18/+0
* [InstCombine] improve (1 << x) & 1 --> zext(x == 0) foldingSanjay Patel2017-07-151-15/+13
* [InstCombine] allow (0 - x) & 1 --> x & 1 for vectorsSanjay Patel2017-07-151-6/+5
* [InstCombine] remove dead code/tests; NFCISanjay Patel2017-07-151-11/+0
* [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isInteger...Craig Topper2017-07-091-8/+7
* [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhereCraig Topper2017-07-071-132/+132
* [Constants] If we already have a ConstantInt*, prefer to use isZero/isOne/isM...Craig Topper2017-07-061-3/+3
* [InstCombine] Change helper method to a file local static method. NFCCraig Topper2017-07-061-4/+5
* [InstCombine] Clarify comment to mention other transform that it does. NFCCraig Topper2017-07-061-1/+2
* [InstCombine] Add single use checks to SimplifyBSwap to ensure we are really ...Craig Topper2017-07-061-4/+9
* [InstCombine] Use CmpInst::Predicate with m_Cmp instead of ICmpInst::Predicat...Craig Topper2017-07-051-1/+1
* [InstCombine] Add a TODO for a probable missing single use check. NFCCraig Topper2017-07-031-0/+2
* [InstCombine] Support BITWISE_OP( BSWAP(x), CONSTANT ) -> BSWAP( BITWISE_OP(x...Craig Topper2017-07-031-18/+12
* [InstCombine] Remove support for BITWISE_OP(CONSTANT, BSWAP(x)) -> BSWAP(OP(B...Craig Topper2017-07-031-7/+2
* [InstCombine] Support BITWISE_OP(BSWAP(A),BSWAP(B))->BSWAP(BITWISE_OP(A, B)) ...Craig Topper2017-07-031-7/+3
* [InstCombine] Remove an if that should have been guaranteed by the caller. Re...Craig Topper2017-07-031-4/+2
* [InstCombine] Fold (a | b) ^ (~a | ~b) --> ~(a ^ b) and (a & b) ^ (~a & ~b) -...Craig Topper2017-07-021-2/+18
* [InstCombine] In foldXorToXor, move the commutable matcher from the LHS match...Craig Topper2017-06-301-8/+8
* [InstCombine] In visitXor, use m_Not on the instruction itself instead of loo...Craig Topper2017-06-291-3/+2
OpenPOWER on IntegriCloud