- 1a8d5c3 [InstCombine] (~X) - (~Y) --> Y - X by Sanjay Patel · 8 years ago
- 8fdd87f [InstCombine] move constant check into foldBinOpIntoSelectOrPhi; NFCI by Sanjay Patel · 8 years ago
- 4a9116e [InstCombine] use FMF-copying functions to reduce code; NFCI by Sanjay Patel · 8 years ago
- b6404a8 [InstCombine] canonicalize constant-minus-boolean to select-of-constants by Sanjay Patel · 8 years ago
- 629c411 [IR] redefine 'UnsafeAlgebra' / 'reassoc' fast-math-flags and add 'trans' fast-math-flag by Sanjay Patel · 8 years ago
- 7f0f9bc [Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). by Eugene Zelenko · 8 years ago
- b869f76 [InstCombine] use m_Neg() to reduce code; NFCI by Sanjay Patel · 8 years ago
- f0242de [InstCombine] move code to remove repeated constant check; NFCI by Sanjay Patel · 8 years ago
- 28b3aa3 [InstCombine] recycle adds for better efficiency by Sanjay Patel · 8 years ago
- 2118952 [InstCombine] use local var to reduce code duplication; NFCI by Sanjay Patel · 8 years ago
- c419c9f [InstCombine] add hasOneUse check to add-zext-add fold to prevent increasing instructions by Sanjay Patel · 8 years ago
- 76ed9ea [InstCombine] use AddOne helper to reduce code; NFC by Sanjay Patel · 8 years ago
- 8d810fe [InstCombine] rearrange code to remove repeated constant check; NFCI by Sanjay Patel · 8 years ago
- 2150651 [InstCombine] allow zext(bool) + C --> select bool, C+1, C for vector types by Sanjay Patel · 8 years ago
- aa103b3 [InstCombine] Add select simplifications by Quentin Colombet · 8 years ago
- 6085521 [InstCombine] Simplify pointer difference subtractions (GEP-GEP) where GEPs have other uses and one non-constant index by Hiroshi Yamauchi · 8 years ago
- 0445e31 Fix a comment (test commit). by Hiroshi Yamauchi · 8 years ago
- fde4723 [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isIntegerTy(unsigned), but also works for vectors. by Craig Topper · 8 years ago
- bb4069e [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhere by Craig Topper · 8 years ago
- 2f3ead7 [InstCombine] add (sext i1 X), 1 --> zext (not X) by Sanjay Patel · 8 years ago
- a420562 [InstCombine] Pass a proper context instruction to all of the calls into InstSimplify by Craig Topper · 8 years ago
- 73ba1c8 [InstCombine][InstSimplify] Use APInt::isNullValue/isOneValue to reduce compiled code for comparing APInts with 0 and 1. NFC by Craig Topper · 8 years ago
- 8205a1a [ValueTracking] Convert most of the calls to computeKnownBits to use the version that returns the KnownBits object. by Craig Topper · 9 years ago
- 2b1fc32 [InstCombine] Cleanup the interface for overflow checks by Craig Topper · 9 years ago
- aaef41f [KnownBits] Use isNegative/isNonNegative to shorten some code. NFC by Craig Topper · 9 years ago
- 1a36b7d [ValueTracking] Replace all uses of ComputeSignBit with computeKnownBits. by Craig Topper · 9 years ago
- bb97372 [InstCombine] Merge duplicate functionality between InstCombine and ValueTracking by Craig Topper · 9 years ago
- 2e069f2 [InstCombine] add (ashr (shl i32 X, 31), 31), 1 --> and (not X), 1 by Sanjay Patel · 9 years ago
- 4133d4a [InstCombine] add helper function for add X, C folds; NFCI by Sanjay Patel · 9 years ago
- cff357c [InstCombine][KnownBits] Use KnownBits better to detect nsw adds by Craig Topper · 9 years ago
- 24db6b8 [APInt] Add clearSignBit method. Use it and setSignBit in a few places. NFCI by Craig Topper · 9 years ago
- 2c75c63 InstCombine: Use the new SimplifyQuery versions of Simplify*. Use AssumptionCache, DominatorTree, TargetLibraryInfo everywhere. by Daniel Berlin · 9 years ago
- b45eabc [ValueTracking] Introduce a KnownBits struct to wrap the two APInts for computeKnownBits by Craig Topper · 9 years ago
- 02907f3 InstCombine: Fix assert when reassociating fsub with undef by Matt Arsenault · 9 years ago
- 0632bdc Fix for PR32740 - Invalid floating type, unreachable between r300969 and r301029 by Artur Pilipenko · 9 years ago
- 134d94f [InstCombine] fadd double (sitofp x), y check that the promotion is valid by Artur Pilipenko · 9 years ago
- bcfd2d1 [APInt] Rename getSignBit to getSignMask by Craig Topper · 9 years ago
- fb71b7d [InstCombine] Support folding a subtract with a constant LHS into a phi node by Craig Topper · 9 years ago
- 957a94c Fix spelling compliment->complement. Mostly refering to 2s complement. NFC by Craig Topper · 9 years ago
- 0d830ff [InstCombine] Use commutable matchers and m_OneUse in visitSub to shorten code. Add missing test cases. by Craig Topper · 9 years ago
- 98851ad [InstCombine] Use m_c_Add to shorten some code. Add testcases for this fold since they were missing. NFC by Craig Topper · 9 years ago
- 3eec73e [InstCombine] Support folding of add instructions with vector constants into select operations by Craig Topper · 9 years ago
- 31cc143 [InstCombine] Use commutable and/or/xor matchers to simplify some code by Craig Topper · 9 years ago
- a521c30 [InstCombine] Remove testing assert I accidentally left in r299710. by Craig Topper · 9 years ago
- b4da684 [InstCombine] When checking to see if we can turn subtracts of 2^n - 1 into xor, we only need to call computeKnownBits on the RHS not the whole subtract. While there use isMask instead of isPowerOf2(C+1) by Craig Topper · 9 years ago
- 0bf0abe [InstCombine] rename variable for easier reading; NFC by Sanjay Patel · 9 years ago
- c745b6a [InstCombine] Turn subtract of vectors of i1 into xor like we do for scalar i1. Matches what we already do for add. by Craig Topper · 9 years ago
- 79e5bc5 [InstCombine] Fix typo last->least. NFC by Craig Topper · 9 years ago
- 4cc6130 NFC. InstCombiner::visitFAdd extract LHSIntVal/RHSIntVal local variables by Artur Pilipenko · 9 years ago
- 4805ce0 [InstCombine] don't try SimplifyDemandedInstructionBits from add/sub because it's slow and unlikely to succeed by Sanjay Patel · 9 years ago
- 53c5c3d [InstCombine] add nsw/nuw X, signbit --> or X, signbit by Sanjay Patel · 9 years ago
- 845ea96 [InstCombine] improve formatting; NFC by Sanjay Patel · 9 years ago
- db0938f [InstCombine] add a wrapper for a common pair of transforms; NFCI by Sanjay Patel · 9 years ago
- 022d2a5 [InstCombine] Combine adds across a zext by David Majnemer · 9 years ago
- 5ec5f27 [InstCombine] Address post-commit feedback by David Majnemer · 9 years ago
- a1cfd7c [InstCombine] More thoroughly canonicalize the position of zexts by David Majnemer · 9 years ago
- aec2fa3 Revert @llvm.assume with operator bundles (r289755-r289757) by Daniel Jasper · 9 years ago
- 3ca4a6b Remove the AssumptionCache by Hal Finkel · 9 years ago
- 6d6eca5 [InstCombine] use m_APInt to allow sub with constant folds for splat vectors by Sanjay Patel · 9 years ago
- c6c5965 [InstCombine] sub X, sext(bool Y) -> add X, zext(bool Y) by Sanjay Patel · 9 years ago
- 9979840 InstCombine: Replace some never-null pointers with references. NFC by Justin Bogner · 9 years ago
- 2d477e59 [InstCombine] fold add(zext(xor X, C), C) --> sext X when C is INT_MIN in the source type by Sanjay Patel · 9 years ago
- 79acd2a [InstCombine] allow X + signbit --> X ^ signbit for vector splats by Sanjay Patel · 9 years ago
- 135f735 Apply clang-tidy's modernize-loop-convert to most of lib/Transforms. by Benjamin Kramer · 9 years ago
- 2b7fef6 Delete more dead code. by Rafael Espindola · 9 years ago
- 7a08381 Remove uses of builtin comma operator. by Richard Trieu · 10 years ago
- ecefe5a Fix Clang-tidy readability-redundant-control-flow warnings; other minor fixes. by Eugene Zelenko · 10 years ago
- 4b19880 function names start with a lowercase letter; NFC by Sanjay Patel · 10 years ago
- eafbd57 [InstCombine] Fix indentation. NFC. by Craig Topper · 10 years ago
- ffec81c Fix some Clang-tidy modernize warnings, other minor fixes. by Eugene Zelenko · 10 years ago
- 6eccf48 don't repeat function names in comments; NFC by Sanjay Patel · 10 years ago
- 33b6f82 [InstCombine] Generalize sub of selects optimization to all BinaryOperators by David Majnemer · 10 years ago
- f00654e Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) by Alexander Kornienko · 10 years ago
- 726901b [InstCombine] Optimize subtract of selects into a select of a sub by David Majnemer · 10 years ago
- 70bc5f1 Fixed/added namespace ending comments using clang-tidy. NFC by Alexander Kornienko · 10 years ago
- ca32190 [ValueTracking] refactor: extract method haveNoCommonBitsSet by Jingyue Wu · 11 years ago
- ec68334 InstCombine: Move Sub->Xor rule from SimplifyDemanded to InstCombine by Matthias Braun · 11 years ago
- a28d91d DataLayout is mandatory, update the API to reflect it with references. by Mehdi Amini · 11 years ago
- a917458 [PM] Rename InstCombine.h to InstCombineInternal.h in preparation for by Chandler Carruth · 11 years ago
- 5310c1e Analysis: Reformulate WillNotOverflowUnsignedAdd for reusability by David Majnemer · 11 years ago
- 66b3130 [PM] Split the AssumptionTracker immutable pass into two separate APIs: by Chandler Carruth · 11 years ago
- e68f715 InstCombine: fsub nsz 0, X ==> fsub nsz -0.0, X by Sanjay Patel · 11 years ago
- 54c2ca2 InstCombe: Infer nsw for multiplies by David Majnemer · 11 years ago
- ea3c802 use -0.0 when creating an fneg instruction by Sanjay Patel · 11 years ago
- c242dbb fix formatting; NFC by Sanjay Patel · 11 years ago
- a451b9b Strength reduce intrinsics with overflow into regular arithmetic operations if possible. by Erik Eckstein · 11 years ago
- 72a643d InstCombine: Combine (X | Y) - X to (~X & Y) by David Majnemer · 11 years ago
- 312c3e5 InstCombine: (sub (or A B) (xor A B)) --> (and A B) by David Majnemer · 11 years ago
- cba4b1d Format spacing and remove extra lines to comply with standards. NFC. by Suyog Sarda · 11 years ago
- 60db058 Make use of @llvm.assume in ValueTracking (computeKnownBits, etc.) by Hal Finkel · 11 years ago
- 0e6c986 InstCombine: sub nsw %x, C -> add nsw %x, -C if C isn't INT_MIN by David Majnemer · 11 years ago
- 42158f3 InstCombine: Annotate sub with nuw when we prove it's safe by David Majnemer · 11 years ago
- 57d5bc8 InstCombine: Annotate sub with nsw when we prove it's safe by David Majnemer · 11 years ago
- 1a0bbc8 InstCombine: Fix a potential bug in 0 - (X sdiv C) -> (X sdiv -C) by David Majnemer · 11 years ago
- ab07f00 InstCombine: Combine (add (and %a, %b) (or %a, %b)) to (add %a, %b) by David Majnemer · 11 years ago
- a92687d InstCombine: Correctly propagate NSW/NUW for x-(-A) -> x+A by David Majnemer · 11 years ago
- de409fd Fix Typo (first commit to test commit access) by Suyog Sarda · 11 years ago
- 6cbe670 Make helper functions static. by Benjamin Kramer · 11 years ago
- bdeef60 InstCombine: Don't turn -(x/INT_MIN) -> x/INT_MIN by David Majnemer · 11 years ago
- adc0773 Added instruction combine to transform few more negative values addition to subtraction (Part 3) by Dinesh Dwivedi · 11 years ago