summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Commit message (Expand)AuthorAgeFilesLines
* [Constants] If we already have a ConstantInt*, prefer to use isZero/isOne/isM...Craig Topper2017-07-061-5/+5
* [InstCombine] Don't create extra ConstantInt objects in foldSelectICmpAnd. NFCICraig Topper2017-07-061-19/+17
* Revert of r306525: "Canonicalize clamp of float types to minmax"Nikolai Bozhenov2017-06-301-10/+3
* [InstCombine] Canonicalize clamp of float types to minmax in fast mode.Nikolai Bozhenov2017-06-281-3/+10
* [InstCombine] canonicalize icmp predicate feeding selectSanjay Patel2017-06-271-0/+17
* [InstCombine] Teach foldSelectICmpAndOr to recognize (select (icmp slt (trunc...Craig Topper2017-06-221-11/+38
* [InstCombine] Don't let folding (select (icmp eq (and X, C1), 0), Y, (or Y, C...Craig Topper2017-06-211-4/+16
* [InstCombine] Pass a proper context instruction to all of the calls into Inst...Craig Topper2017-06-091-1/+2
* [InstCombine][InstSimplify] Use APInt::isNullValue/isOneValue to reduce compi...Craig Topper2017-06-071-2/+2
* InstCombine: Use the new SimplifyQuery versions of Simplify*. Use AssumptionC...Daniel Berlin2017-04-261-2/+1
* [ValueTracking] Introduce a KnownBits struct to wrap the two APInts for compu...Craig Topper2017-04-261-4/+5
* [APInt] Rename getSignBit to getSignMaskCraig Topper2017-04-201-1/+1
* [InstCombine] Support folding a subtract with a constant LHS into a phi nodeCraig Topper2017-04-141-2/+2
* [InstCombine] fix wrong undef handling when converting select to shuffleSanjay Patel2017-04-121-2/+4
* [InstCombine] avoid breaking up bitcasted vector min/max patterns (PR32306)Sanjay Patel2017-03-161-0/+10
* [InstCombine] canonicalize non-obivous forms of integer min/maxSanjay Patel2017-02-211-17/+24
* [InstCombine] Do not exercise nested max/min pattern on absAnna Thomas2017-02-211-1/+3
* Use InstCombine's builder in foldSelectCttzCtlz instead of creating a new one.Amaury Sechet2017-01-241-3/+2
* Fix formating in foldSelectCttzCtlz. NFCAmaury Sechet2017-01-241-1/+1
* [InstCombine] if the condition of a select may be known via assumes, eliminat...Sanjay Patel2017-01-131-0/+14
* Revert @llvm.assume with operator bundles (r289755-r289757)Daniel Jasper2016-12-191-1/+1
* Remove the AssumptionCacheHal Finkel2016-12-151-1/+1
* add optional param to copy metadata when creating selects; NFCSanjay Patel2016-11-261-7/+3
* [InstCombine] canonicalize min/max constant to select's false valueSanjay Patel2016-11-211-0/+42
* [InstCombine] use dyn_cast rather isa+cast; NFCSanjay Patel2016-11-111-2/+2
* [InstCombine] clean up foldSelectOpOp(); NFCSanjay Patel2016-11-111-10/+4
* [InstCombine] fix profitability equation for max-of-nots transformSanjay Patel2016-11-091-7/+6
* [InstCombine] reduce indentation; NFCSanjay Patel2016-11-081-23/+20
* [InstCombine] allow splat vector folds in adjustMinMax() (retry r285732)Sanjay Patel2016-11-071-14/+12
* Revert "[InstCombine] allow splat vector folds in adjustMinMax()"Greg Bedwell2016-11-021-10/+14
* [InstCombine] allow splat vector folds in adjustMinMax()Sanjay Patel2016-11-011-14/+10
* [InstCombine] clean up adjustMinMax(); NFCISanjay Patel2016-11-011-92/+87
* [InstCombine] add helper function for adjustMinMax(); NFCISanjay Patel2016-11-011-6/+19
* [InstCombine] re-use bitcasted compare operands in selects (PR28001)Sanjay Patel2016-10-291-0/+50
* [InstCombine] fix foldSPFofSPF() to handle vector splatsSanjay Patel2016-10-271-22/+18
* fix formatting; NFCSanjay Patel2016-10-251-13/+13
* [InstCombine] fold select X, (ext X), CSanjay Patel2016-10-071-1/+21
* [InstCombine] allow non-splat folds of select cond (ext X), CSanjay Patel2016-09-301-38/+33
* [InstCombine] fix function names; NFCSanjay Patel2016-09-291-38/+38
* fix formatting; NFCSanjay Patel2016-09-291-11/+9
* [InstCombine] canonicalize vector select with constant vector condition to sh...Sanjay Patel2016-09-161-0/+39
* fix formatting; NFCSanjay Patel2016-09-061-19/+14
* [Profile] Propagate branch metadata properly in instcombineXinliang David Li2016-08-251-11/+15
* [InstCombine] try to fold (select C, (sext A), B) into logical opsNicolai Haehnle2016-08-051-0/+56
* InstCombine: Replace some never-null pointers with references. NFCJustin Bogner2016-08-051-1/+1
* [InstSimplify][InstCombine] don't crash when folding vector selects of icmpSanjay Patel2016-07-201-1/+4
* save type in local var; NFCISanjay Patel2016-07-071-10/+11
* [InstCombine] enhance (select X, C1, C2 --> ext X) to handle vectorsSanjay Patel2016-07-061-22/+28
* [InstCombine] use more specific pattern matchers; NFCISanjay Patel2016-07-061-12/+10
* [InstCombine] enable vector select of bools -> logic foldsSanjay Patel2016-07-031-5/+8
OpenPOWER on IntegriCloud