summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstructionSimplify.cpp
Commit message (Expand)AuthorAgeFilesLines
* InstCombine, InstSimplify: (%X /s C1) /s C2 isn't always 0 when C1 * C2 overflowDavid Majnemer2014-10-111-0/+10
* InstSimplify: Don't allow (x srem y) urem y -> x srem yDavid Majnemer2014-09-171-3/+5
* InstSimplify: ((X % Y) % Y) -> (X % Y)David Majnemer2014-09-171-0/+5
* InstSimplify: Simplify trivial and/or of icmpsDavid Majnemer2014-09-151-0/+114
* Fix an ODR violation consisting of two 'struct Query' in the global namespace.Benjamin Kramer2014-09-121-0/+2
* Make use of @llvm.assume in ValueTracking (computeKnownBits, etc.)Hal Finkel2014-09-071-115/+210
* InstSimplify: Move a transform from InstCombine to InstSimplifyDavid Majnemer2014-08-281-0/+35
* InstSimplify: Don't simplify gep X, (Y-X) to Y if types differDavid Majnemer2014-08-271-1/+2
* Reland r216439 215441, majnemer has a real fix for PR20771.Nico Weber2014-08-271-11/+53
* Revert r216439 (and r216441, else the former doesn't revert cleanly).Nico Weber2014-08-271-53/+11
* InstSimplify: Compute comparison ranges for left shift instructionsDavid Majnemer2014-08-271-0/+16
* InstSimplify: Fold gep X, (sub 0, ptrtoint(X)) to nullDavid Majnemer2014-08-261-21/+32
* InstSimplify: Simplify trivial pointer expressions like b + (e - b)David Majnemer2014-08-261-5/+36
* InstSimplify: Simplify (X - (0 - Y)) if the second sub is NUWDavid Majnemer2014-07-311-0/+12
* Rectify r213231. Use proper version of 'ComputeNumSignBits'.Suyog Sarda2014-07-171-1/+1
* Move ashr optimization from InstCombineShift to InstSimplify.Suyog Sarda2014-07-171-0/+5
* InstSimplify: Correct sdiv x / -1David Majnemer2014-07-141-11/+13
* InstSimplify: The upper bound of X / C was missing a rounding stepDavid Majnemer2014-07-141-1/+9
* InstSimplify: Fix a bug when INT_MIN is in a sdivDavid Majnemer2014-07-041-3/+9
* This patch removed duplicate code for matching patterns Dinesh Dwivedi2014-06-261-106/+1
* Move optimization of some cases of (A & C1)|(B & C2) from instcombine to inst...Nick Lewycky2014-06-191-0/+32
* Make instsimplify's analysis of icmp eq/ne use computeKnownBits to determine ...Nick Lewycky2014-06-191-0/+19
* InstSimplify: Improve handling of ashr/lshrDavid Majnemer2014-05-161-1/+21
* InstSimplify: Optimize using dividend in sdivDavid Majnemer2014-05-161-0/+4
* InstSimplify: Optimize signed icmp of -(zext V)David Majnemer2014-05-141-0/+22
* [Modules] Fix potential ODR violations by sinking the DEBUG_TYPEChandler Carruth2014-04-221-1/+2
* [C++11] More 'nullptr' conversion. In some cases just using a boolean check i...Craig Topper2014-04-151-76/+76
* [C++11] Add range based accessors for the Use-Def chain of a Value.Chandler Carruth2014-03-091-7/+5
* [Modules] Move the ConstantRange class into the IR library. This isChandler Carruth2014-03-041-1/+1
* [Modules] Move ValueHandle into the IR library where Value itself lives.Chandler Carruth2014-03-041-1/+1
* [Modules] Move the LLVM IR pattern match header into the IR library, itChandler Carruth2014-03-041-1/+1
* [Modules] Move GetElementPtrTypeIterator into the IR library. As itsChandler Carruth2014-03-041-1/+1
* Rename many DataLayout variables from TD to DL.Rafael Espindola2014-02-211-141/+141
* InstSimplify: Make shift, select and GEP simplifications vector-aware.Benjamin Kramer2014-01-241-18/+41
* [cleanup] Move the Dominators.h and Verifier.h headers into the IRChandler Carruth2014-01-131-1/+1
* Re-sort all of the includes with ./utils/sort_includes.py so thatChandler Carruth2014-01-071-1/+1
* Teach MemoryBuiltins and InstructionSimplify that operator new never returns ...Benjamin Kramer2013-09-241-1/+1
* InstSimplify: Fold equality comparisons between non-inbounds GEPs.Benjamin Kramer2013-09-231-2/+15
* Add ISD::FROUND for libm round()Hal Finkel2013-08-071-0/+1
* Minor address space code simplification.Matt Arsenault2013-08-031-9/+3
* Teach InstructionSimplify about pointer address spacesMatt Arsenault2013-08-021-4/+9
* Fix logic error optimizing "icmp pred (urem X, Y), Y" where pred is signed.Nick Lewycky2013-07-121-4/+7
* InstSimplify: X >> X -> 0David Majnemer2013-07-091-0/+8
* InstructionSimplify.cpp: Fix a ligature, "fi", to get rid of utf8 in comment.NAKAMURA Takumi2013-04-081-1/+1
* Identify and simplify idempotent intrinsics. Test case included.Michael Ilseman2013-02-071-0/+36
* InstSimplify: stripAndComputeConstantOffsets can be called with vectors of po...Benjamin Kramer2013-02-011-10/+18
* Add a comment explaining an unavailable optimization.Dan Gohman2013-02-011-0/+28
* Rewrite instsimplify's handling if icmp on pointer values to remove theDan Gohman2013-02-011-56/+88
* An alloca can be equal to an argument. It can't *alias* an alloca, but it couldDan Gohman2013-01-311-12/+0
* Change stripAndComputeConstantOffsets to accept a NULL DataLayout pointerDan Gohman2013-01-311-10/+15
OpenPOWER on IntegriCloud