summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* [InstCombine] Improve support for ashr in foldICmpAndShiftCraig Topper2017-10-041-9/+12
* [InstCombine] Use isSignBitCheck to simplify an if statement. Directly create...Craig Topper2017-10-031-12/+8
* [InstCombine] Change a bunch of methods to take APInts by reference instead o...Craig Topper2017-10-031-119/+119
* [InstCombine] Replace an equality compare of two APInt pointers with a compar...Craig Topper2017-10-031-1/+1
* [InstCombine] remove one-use restriction for icmp (shr exact X, C1), C2 --> i...Sanjay Patel2017-10-021-6/+6
* [InstCombine] Use APInt for all the math in foldICmpDivConstantCraig Topper2017-10-011-95/+46
* Revert r314017 '[InstCombine] Simplify check for RHS being a splat constant i...Craig Topper2017-09-271-16/+22
* [InstCombine] Remove one use restriction on the shift for calls to foldICmpAn...Craig Topper2017-09-261-3/+3
* [InstCombine] Move an optimization from foldICmpAndConstConst to foldICmpUsin...Craig Topper2017-09-251-16/+10
* [InstCombine] Teach foldICmpUsingKnownBits to simplify SLE/SGE/ULE/UGE to equ...Craig Topper2017-09-221-0/+8
* [InstCombine] Add constant splat handling to one of the ICMP_SLT/SGT cases in...Craig Topper2017-09-221-6/+5
* [InstCombine] Move the call to isSignBitCheck into getDemandedBitsLHSMask ins...Craig Topper2017-09-221-15/+8
* [InstCombine] Simplify check for RHS being a splat constant in foldICmpUsingK...Craig Topper2017-09-221-8/+6
* [InstCombine] Make cases for ICMP_UGT/ICMP_ULT use similar formatting since t...Craig Topper2017-09-221-6/+3
* [InstCombine] Teach getDemandedBitsLHSMask to handle constant splat vectorsCraig Topper2017-09-201-11/+7
* [InstCombine] Handle (X & C2) < C1 --> (X & C2) == 0Craig Topper2017-09-201-6/+13
* [InstCombine] Use APInt::getActiveBits() to avoid creating an APInt from a tr...Craig Topper2017-09-201-1/+1
* Test commitUriel Korach2017-09-101-1/+1
* [ValueTracking, InstCombine] canonicalize fcmp ord/uno with non-NAN ops to nu...Sanjay Patel2017-09-051-0/+13
* [InstCombine] use local variable to reduce code duplication; NFCISanjay Patel2017-09-021-11/+9
* [InstCombine] Remove unused argument. NFCCraig Topper2017-08-231-4/+3
* [InstCombine] Replace a simple matcher with a plain old dyn_cast. NFCCraig Topper2017-08-231-2/+1
* [InstCombine] Remove an unnecessary dyn_cast to Instruction and a switch over...Craig Topper2017-08-231-23/+16
* Remove checks for debug info intrinsics in use lists, NFCReid Kleckner2017-08-141-1/+0
* [InstCombine] Don't violate dominance when replacing instructions.Davide Italiano2017-07-161-7/+11
* [InstCombine] convert bitwise (in)equality checks to logical ops (PR32401)Sanjay Patel2017-07-141-3/+15
* Fix invalid cast in instcombine UMul/ZExt idiomSerge Guelton2017-07-101-6/+7
* [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isInteger...Craig Topper2017-07-091-2/+2
* [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhereCraig Topper2017-07-071-136/+135
* [InstCombine] Use m_BitReverse pattern match helper. NFCI.Simon Pilgrim2017-07-021-2/+2
* [InstCombine] fix crash when folding cmp+bswap vectorSanjay Patel2017-07-021-5/+9
* [InstCombine] look through bswap/bitreverse for equality comparisonsSanjay Patel2017-07-021-0/+9
* Reduce indenting and clean up comparisons around sign bit.Eric Christopher2017-06-301-6/+7
* Reduce the complexity of the signbit/branch test functions.Eric Christopher2017-06-301-3/+3
* [InstCombine] use local variable to reduce code; NFCISanjay Patel2017-06-281-18/+14
* [Analysis][Transforms] Use commutable matchers instead of m_CombineOr in a fe...Craig Topper2017-06-241-2/+1
* [InstCombine] Recognize and simplify three way comparison idiomsAnna Thomas2017-06-231-4/+92
* [InstCombine][InstSimplify] Use APInt::isNullValue/isOneValue to reduce compi...Craig Topper2017-06-071-31/+35
* [InstCombine] Fix two asserts that were accidentally checking that an APInt p...Craig Topper2017-06-071-2/+2
* [InstCombine] fix icmp with not op and constant to work with splat vector con...Sanjay Patel2017-06-021-3/+3
* [InstCombine] improve perf by not creating a known non-canonical instructionSanjay Patel2017-06-021-3/+6
* [InstCombine] Pass the DominatorTree, AssumptionCache, and context instructio...Craig Topper2017-05-261-2/+2
* [InstCombine] Add an InstCombine specific wrapper around isKnownToBeAPowerOfT...Craig Topper2017-05-251-1/+1
* [InstCombine] make icmp-mul fold more efficientSanjay Patel2017-05-251-5/+7
* [InstCombine] use m_APInt to allow icmp-mul-mul vector foldSanjay Patel2017-05-241-11/+12
* [ValueTracking] Convert most of the calls to computeKnownBits to use the vers...Craig Topper2017-05-241-2/+1
* [InstCombine] allow icmp-xor folds for vectors (PR33138)Sanjay Patel2017-05-231-5/+9
* [InstCombine] Cleanup the interface for overflow checksCraig Topper2017-05-221-4/+4
* [InstCombine] handle icmp i1 X, C early to avoid creating an unknown patternSanjay Patel2017-05-171-0/+23
* [InstCombine] move icmp bool canonicalizations to helper; NFCSanjay Patel2017-05-171-43/+54
OpenPOWER on IntegriCloud