summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Commit message (Expand)AuthorAgeFilesLines
* Rename APInt's isPositive to isNonNegative, to reflect what itDan Gohman2008-02-131-6/+6
* Fix a bug compiling PR1978 (perhaps not the only one though) whichChris Lattner2008-02-051-54/+5
* There are some cases where icmp(add) can be folded into a new icmp. Handle them.Nick Lewycky2008-02-031-0/+32
* Hack on vectors too.Nick Lewycky2008-02-031-1/+1
* Fold away one multiply in instcombine. This would normally be caught inNick Lewycky2008-02-031-0/+24
* eliminate additions of 0.0 when they are obviously dead. This has to be care...Chris Lattner2008-01-291-0/+47
* Handle some more combinations of extend and icmp. Fixes PR1940.Nick Lewycky2008-01-281-8/+12
* Fix PR1932 by disabling an xform invalid for fdiv.Chris Lattner2008-01-281-9/+10
* Fold fptrunc(add (fpextend x), (fpextend y)) -> add(x,y), as GCC does.Chris Lattner2008-01-271-3/+75
* Enable the fix I just checked in, silly me.Nick Lewycky2008-01-221-1/+0
* Multiply can be evaluated in a different type, so long as the target type hasNick Lewycky2008-01-221-0/+10
* I noticed that the trampoline straightening transformation couldDuncan Sands2008-01-141-21/+28
* Turn a memcpy from a double* into a load/store of double instead ofChris Lattner2008-01-141-9/+46
* factor memcpy/memmove simplification out to its own SimplifyMemTransfer Chris Lattner2008-01-131-35/+42
* simplify some code. If we can infer alignment for source and dest that are Chris Lattner2008-01-131-21/+22
* simplify some code by adding a InsertBitCastBefore method,Chris Lattner2008-01-131-30/+25
* Fix PR1907, a nasty miscompilation because instcombine didn'tChris Lattner2008-01-131-2/+8
* When turning a call to a bitcast function into a direct call,Duncan Sands2008-01-131-12/+17
* Implement PR1795, an instcombine hack for forming GEPs with integer pointer a...Chris Lattner2008-01-081-3/+53
* Small cleanup for handling of type/parameter attributeDuncan Sands2008-01-071-8/+11
* The transform that tries to turn calls to bitcast functions intoDuncan Sands2008-01-061-10/+45
* When transforming a call to a bitcast function intoDuncan Sands2008-01-061-45/+16
* remove a couple more unsafe xforms in the face of overflow.Chris Lattner2008-01-051-9/+0
* remove the (x-y) < 0 comparison xform, it miscompiles Chris Lattner2008-01-051-11/+5
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
* Disable null pointer folding transforms for non-generic address spaces. This ...Christopher Lamb2007-12-291-3/+9
* Repair a transform that Chris noticed a bug in. Thanks to Nicholas for point...Owen Anderson2007-12-281-5/+12
* disable this instcombine xform, it miscompiles:Chris Lattner2007-12-281-0/+2
* implement InstCombine/shift-trunc-shift.ll. This allowsChris Lattner2007-12-221-0/+44
* Implement review feedback, including additional transformsChristopher Lamb2007-12-201-17/+15
* simplify this code with the new m_Zero() pattern. Make sure the select onlyChris Lattner2007-12-201-18/+10
* When inlining through an 'nounwind' call, mark inlinedDuncan Sands2007-12-191-9/+2
* Fold subtracts into integer compares vs. zero. This improves generate code fo...Christopher Lamb2007-12-181-1/+18
* Fix commentsChristopher Lamb2007-12-181-4/+2
* Remove an orthogonal transformation of the selection condition from my most r...Christopher Lamb2007-12-181-30/+2
* Rename isNoReturn to doesNotReturn, and isNoUnwind toDuncan Sands2007-12-181-1/+1
* Fix typos.Christopher Lamb2007-12-181-1/+1
* Fold certain additions through selects (and their compares) so as to eliminat...Christopher Lamb2007-12-181-0/+61
* Change the PointerType api for creating pointer types. The old functionality ...Christopher Lamb2007-12-171-12/+20
* Make instcombine promote inline asm calls to 'nounwind'Duncan Sands2007-12-161-0/+13
* 1. "Upgrage" comments.Wojciech Matyjewicz2007-12-121-15/+16
* simplify some code.Chris Lattner2007-12-061-2/+1
* move some ashr-specific code out of commonShiftTransforms into visitAShr.Chris Lattner2007-12-061-15/+16
* Fix PR1146: parameter attributes are longer part ofDuncan Sands2007-11-271-11/+18
* Implement PR1822Chris Lattner2007-11-251-0/+7
* Fix PR1816. If a bitcast of a function only exists because of aDuncan Sands2007-11-251-4/+5
* add a comment.Chris Lattner2007-11-231-1/+1
* Fix PR1817.Chris Lattner2007-11-221-1/+6
* Fix PR1800 by correcting mistaken logic.Chris Lattner2007-11-161-2/+1
* Better checkAndrew Lenharth2007-11-081-1/+1
OpenPOWER on IntegriCloud