summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* [InstCombine] add helper to foldXorOfICmps(); NFCISanjay Patel2017-05-182-41/+48
* [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
* [InstCombine] add isCanonicalPredicate() helper function and use it; NFCISanjay Patel2017-05-172-31/+32
* In debug builds non-trivial amount of time is spent in InstCombine processingDmitry Mikulin2017-05-161-1/+4
* [InstCombine] restrict icmp fold with 2 sdiv exact operands (PR32949)Sanjay Patel2017-05-151-2/+9
* [InstCombine] use m_OneUse to reduce code; NFCISanjay Patel2017-05-151-6/+7
* [ValueTracking] Replace all uses of ComputeSignBit with computeKnownBits.Craig Topper2017-05-156-26/+17
* [InstCombine] Merge duplicate functionality between InstCombine and ValueTrac...Craig Topper2017-05-153-104/+26
* [InstCombine] Remove 'return' of a called function that also returned void. NFCCraig Topper2017-05-151-3/+2
* [InstCombine] Prevent InstCombine from triggering an extra iteration if somet...Craig Topper2017-05-131-5/+4
* [KnownBits] Add bit counting methods to KnownBits struct and use them where p...Craig Topper2017-05-123-7/+7
* [InstCombine] remove fold that swaps xor/or with constants; NFCISanjay Patel2017-05-101-12/+0
* [InstCombine] add (ashr (shl i32 X, 31), 31), 1 --> and (not X), 1Sanjay Patel2017-05-101-0/+10
* [InstCombine] add helper function for add X, C folds; NFCISanjay Patel2017-05-101-34/+45
* [InstCombine] clean up matchDeMorgansLaws(); NFCISanjay Patel2017-05-091-32/+13
* [InstCombineCasts] Fix checks in sext->lshr->trunc pattern.Sanjay Patel2017-05-091-6/+14
* [InstCombine] add folds for not-of-shift-rightSanjay Patel2017-05-081-15/+32
* [InstCombine] use local variable to reduce code duplication; NFCISanjay Patel2017-05-081-14/+11
* [InstCombine/InstSimplify] add comments about code duplication; NFCSanjay Patel2017-05-081-0/+3
* [InstSimplify] use ConstantRange to simplify or-of-icmpsSanjay Patel2017-05-071-55/+2
* [KnownBits] Add wrapper methods for setting and clear all bits in the underly...Craig Topper2017-05-053-4/+3
* [InstCombine][KnownBits] Use KnownBits better to detect nsw addsCraig Topper2017-05-031-32/+44
* [KnownBits] Add methods for determining if KnownBits is a constant valueCraig Topper2017-05-031-4/+4
* [KnownBits] Add zext, sext, and trunc methods to KnownBitsCraig Topper2017-05-031-12/+6
* [IR] Abstract away ArgNo+1 attribute indexing as much as possibleReid Kleckner2017-05-031-1/+1
* [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
* Rename WeakVH to WeakTrackingVH; NFCSanjoy Das2017-05-011-4/+4
* [KnownBits] Add methods for determining if the known bits represent a negativ...Craig Topper2017-04-291-4/+4
* [APInt] Add clearSignBit method. Use it and setSignBit in a few places. NFCICraig Topper2017-04-282-3/+3
* [APInt] Use inplace shift methods where possible. NFCICraig Topper2017-04-282-2/+2
* [InstCombine] fix matcher to bind to specific operand (PR32830)Sanjay Patel2017-04-271-1/+1
* [InstCombine] Use APInt bit counting methods to avoid a temporary APInt. NFCCraig Topper2017-04-271-6/+6
* InstCombine: Use the new SimplifyQuery versions of Simplify*. Use AssumptionC...Daniel Berlin2017-04-2611-68/+68
* [ValueTracking] Introduce a KnownBits struct to wrap the two APInts for compu...Craig Topper2017-04-268-321/+284
* Reverts commit r301424, r301425 and r301426Sanjoy Das2017-04-261-4/+4
* Rename WeakVH to WeakTrackingVH; NFCSanjoy Das2017-04-261-4/+4
* [InstCombine] Remove redundant code from SimplifyUsingDistributiveLawsCraig Topper2017-04-251-16/+0
* [APInt] Use isSubsetOf, intersects, and bit counting methods to reduce tempor...Craig Topper2017-04-252-3/+3
* [InstCombine] Remove superfluous curly braces around a single line if body. NFCCraig Topper2017-04-251-2/+1
* [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: Fix assert when reassociating fsub with undefMatt Arsenault2017-04-241-0/+5
* InstCombine/AMDGPU: Fix constant folding of llvm.amdgcn.{icmp,fcmp}Nicolai Haehnle2017-04-241-2/+20
* [InstCombine] add/move folds for [not]-xorSanjay Patel2017-04-231-38/+67
OpenPOWER on IntegriCloud