aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-09-06fix formatting; NFCSanjay Patel1-19/+14
2016-08-25[Profile] Propagate branch metadata properly in instcombineXinliang David Li1-11/+15
2016-08-05[InstCombine] try to fold (select C, (sext A), B) into logical opsNicolai Haehnle1-0/+56
2016-08-05InstCombine: Replace some never-null pointers with references. NFCJustin Bogner1-1/+1
2016-07-20[InstSimplify][InstCombine] don't crash when folding vector selects of icmpSanjay Patel1-1/+4
2016-07-07save type in local var; NFCISanjay Patel1-10/+11
2016-07-06[InstCombine] enhance (select X, C1, C2 --> ext X) to handle vectorsSanjay Patel1-22/+28
2016-07-06[InstCombine] use more specific pattern matchers; NFCISanjay Patel1-12/+10
2016-07-03[InstCombine] enable vector select of bools -> logic foldsSanjay Patel1-5/+8
2016-07-03fix formatting; NFCSanjay Patel1-6/+6
2016-06-17[InstCombine] allow more than one use for vector bitcast folding with selectsSanjay Patel1-13/+35
2016-06-08[InstCombine] move fold of select of add/sub to helper function; NFCISanjay Patel1-61/+75
2016-06-08[InstCombine] fix outdated comment, simplify logic; NFCISanjay Patel1-16/+13
2016-06-08[InstCombine] reduce indent; NFCSanjay Patel1-63/+64
2016-06-08[InstCombine] use copyIRFlags() ; NFCISanjay Patel1-12/+2
2016-06-08Avoid copies of std::strings and APInt/APFloats where we only read from itBenjamin Kramer1-2/+2
2016-04-29[InstCombine] Determine the result of a select based on a dominating condition.Chad Rosier1-0/+18
2016-04-08[InstCombine] Fix miscompile in FoldSPFofSPFDavid Majnemer1-0/+3
2016-03-23Minor code cleanup. NFC.Junmo Park1-1/+1
2016-02-01function names start with a lowercase letter; NFCSanjay Patel1-21/+21
2016-01-12function names start with a lower case letter ; NFCSanjay Patel1-3/+3
2015-12-05[InstCombine] Call getCmpPredicateForMinMax only with a valid SPFSanjoy Das1-1/+5
2015-09-09don't repeat function names in comments; NFCSanjay Patel1-19/+16
2015-08-11Add support for floating-point minnum and maxnumJames Molloy1-8/+29
2015-06-06[InstCombine, InstSimplify] Move xforms from Combine to SimplifyDavid Majnemer1-115/+2
2015-06-06[InstCombine] Don't miscompile select to poisonDavid Majnemer1-0/+13
2015-06-05Revert "[InstCombine] Rephrase fix to SimplifyWithOpReplaced"Renato Golin1-22/+4
2015-06-05[InstCombine] Rephrase fix to SimplifyWithOpReplacedDavid Majnemer1-4/+22
2015-06-05Revert "[InstCombine] Don't miscompile safe increment idiom"Daniel Jasper1-21/+3
2015-06-04[InstCombine] Don't miscompile safe increment idiomDavid Majnemer1-3/+21
2015-05-20Reapply r237539 with a fix for the Chromium build.James Molloy1-6/+18
2015-05-19Revert r237539: "Reapply r237520 with another fix for infinite looping"Hans Wennborg1-18/+6
2015-05-17Reapply r237520 with another fix for infinite loopingJames Molloy1-6/+18
2015-05-16Revert commits r237521 and r237520.James Molloy1-18/+6
2015-05-16Reapply r237453 with a fix for the test timeouts.James Molloy1-6/+18
2015-05-15Revert "Canonicalize min/max expressions correctly."James Molloy1-18/+6
2015-05-15Canonicalize min/max expressions correctly.James Molloy1-6/+18
2015-05-11Rip min/max pattern matching out of InstCombine and intoJames Molloy1-88/+4
2015-04-30[InstCombine] Add new rule for MIN(MAX(~A, ~B), ~C) et. al.Sanjoy Das1-0/+86
2015-04-30[InstCombine] Add a new formula for SMIN.Sanjoy Das1-0/+11
2015-03-10DataLayout is mandatory, update the API to reflect it with references.Mehdi Amini1-18/+18
2015-03-09Simplify expressions involving boolean constants with clang-tidyDavid Blaikie1-1/+1
2015-03-03InstCombine: Ensure select condition types are identical before mergingDavid Majnemer1-28/+32
2015-02-24New instcombine rule: max(~a,~b) -> ~min(a, b)Sanjoy Das1-2/+31
2015-02-13[InstCombine] Fix regression introduced at r227197.Andrea Di Biagio1-10/+6
2015-02-06InstCombine: Combine select sequences into a single selectMatthias Braun1-0/+18
2015-01-27[InstCombine] Teach how to fold a select into a cttz/ctlz with the 'is_zero_u...Andrea Di Biagio1-0/+63
2015-01-22[PM] Rename InstCombine.h to InstCombineInternal.h in preparation forChandler Carruth1-1/+1
2015-01-04[PM] Split the AssumptionTracker immutable pass into two separate APIs:Chandler Carruth1-22/+21
2014-12-20InstCombine: Squash an icmp+select into bitwise arithmeticDavid Majnemer1-6/+24