summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstructionSimplify.cpp
Commit message (Expand)AuthorAgeFilesLines
* [InstSimplify] allow integer vector types to use computeKnownBitsSanjay Patel2016-11-271-2/+2
* Simplify `x >=u x >> y` and `x >=u x udiv y`Sanjoy Das2016-10-261-0/+11
* [InstSimplify] fold negation of sign-bitSanjay Patel2016-10-191-3/+20
* Remove duplicated code; NFCSanjoy Das2016-10-021-1/+1
* [InstSimplify] allow or-of-icmps folds with vector splat constantsSanjay Patel2016-09-281-12/+11
* [InstSimplify] allow and-of-icmps folds with vector splat constantsSanjay Patel2016-09-281-10/+9
* move variables closer to their uses; add FIXMEs; NFCSanjay Patel2016-09-201-10/+10
* Simplify code a bit. No functional change intended.Andrea Di Biagio2016-09-021-15/+16
* [instsimplify] Fix incorrect folding of an ordered fcmp with a vector of all ...Andrea Di Biagio2016-09-021-1/+1
* [InstSimplify] allow icmp with constant folds for splat vectors, part 2Sanjay Patel2016-08-231-83/+77
* [InstSimplify] allow icmp with constant folds for splat vectors, part 1Sanjay Patel2016-08-231-6/+10
* [InstSimplify] add helper function for SimplifyICmpInst(); NFCISanjay Patel2016-08-221-133/+143
* Replace "fallthrough" comments with LLVM_FALLTHROUGHJustin Bogner2016-08-171-5/+5
* [InstSimplify] Fold gep (gep V, C), (xor V, -1) to C-1David Majnemer2016-08-161-1/+7
* Use range algorithms instead of unpacking begin/endDavid Majnemer2016-08-111-4/+4
* [InstSimplify] Fold gep (gep V, C), (sub 0, V) to CDavid Majnemer2016-08-071-0/+20
* [InstSimplify] Try hard to simplify pointer comparisonsDavid Majnemer2016-08-071-0/+10
* [InstCombine] use m_APInt to allow icmp eq (op X, Y), C folds for splat const...Sanjay Patel2016-08-041-7/+6
* Reinstate "[CloneFunction] Don't remove side effecting calls"David Majnemer2016-08-041-2/+4
* Revert "[CloneFunction] Don't remove side effecting calls"Reid Kleckner2016-08-031-4/+2
* [CloneFunction] Don't remove side effecting callsDavid Majnemer2016-08-031-2/+4
* [InstSimplify] Cast folding can be made more genericDavid Majnemer2016-07-261-46/+43
* Reapply: [InstSimplify] Add support for bitcasts"David Majnemer2016-07-261-0/+29
* Revert "[InstSimplify] Add support for bitcasts"David Majnemer2016-07-251-29/+0
* [InstSimplify] Add support for bitcastsDavid Majnemer2016-07-251-0/+29
* [InstSimplify] Fold trunc([zs]ext(%V)) -> %VDavid Majnemer2016-07-251-1/+7
* [InstSimplify] don't crash handling a pointer or aggregate typeSanjay Patel2016-07-211-0/+3
* [InstSimplify] recognize trunc + icmp sgt/slt variants of select simplificati...Sanjay Patel2016-07-211-7/+33
* [InstSimplify][InstCombine] don't crash when folding vector selects of icmpSanjay Patel2016-07-201-1/+4
* refactor SimplifySelectInst; NFCISanjay Patel2016-07-181-97/+115
* Simplify llvm.masked.load w/ undef masksDavid Majnemer2016-07-141-5/+21
* Move a transform from InstCombine to InstSimplify.David Majnemer2016-07-131-0/+9
* Pointer-comparison folding should look through returned-argument functionsHal Finkel2016-07-111-0/+5
* Remove dead TLI arg of isKnownNonNull and propagate deadness. NFC.Sean Silva2016-07-021-4/+3
* [InstSimplify] Replace calls to null with undefDavid Majnemer2016-06-251-1/+2
* [InstSimplify] analyze (optionally casted) icmps to eliminate obviously false...Sanjay Patel2016-06-201-4/+31
* fix formatting, typo; NFCSanjay Patel2016-06-191-1/+1
* IR: Introduce local_unnamed_addr attribute.Peter Collingbourne2016-06-141-1/+1
* Avoid copies of std::strings and APInt/APFloats where we only read from itBenjamin Kramer2016-06-081-1/+1
* [InstSimplify] use computeKnownBits on shift amount operandsSanjay Patel2016-05-101-0/+16
* Fold compares irrespective of whether allocation can be elidedAnna Thomas2016-05-031-5/+21
* Introduce llvm.load.relative intrinsic.Peter Collingbourne2016-04-221-0/+61
* Add optimization for 'icmp slt (or A, B), A' and some related idioms based on...Nick Lewycky2016-04-211-15/+42
* [ValueTracking] Make isImpliedCondition return an Optional<bool>. NFC.Chad Rosier2016-04-201-6/+3
* [ValueTracking] Improve isImpliedCondition for conditions with matching opera...Chad Rosier2016-04-191-6/+12
* [InstCombine] We folded an fcmp to an i1 instead of a vector of i1David Majnemer2016-04-131-12/+19
* Don't IPO over functions that can be de-refinedSanjoy Das2016-04-081-1/+1
* Minor code cleanups. NFC.Junmo Park2016-04-051-2/+2
* [InstSimplify] Restore fsub 0.0, (fsub 0.0, X) ==> X optznBenjamin Kramer2016-02-291-1/+1
* [InstSimplify] fsub 0.0, (fsub -0.0, X) ==> X is only safe if signed zeros ar...Benjamin Kramer2016-02-291-7/+8
OpenPOWER on IntegriCloud