aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* Keep ignoring pointer-to-pointer bitcastsVictor Hernandez2010-01-221-4/+8
* Stop building RTTI information for *most* llvm libraries. NotableChris Lattner2010-01-221-0/+1
* No need to look through bitcasts for DbgInfoIntrinsicVictor Hernandez2010-01-211-13/+6
* optimize ~(~X >>s Y) --> (X >>s Y), patch by Edmund GrimleyChris Lattner2010-01-191-0/+5
* Fix comment.Eric Christopher2010-01-191-1/+1
* my instcombine transformations to make extension elimination moreChris Lattner2010-01-182-5/+32
* Fix comment.Owen Anderson2010-01-171-1/+1
* When the visitSub method was split into visitSub and visitFSub, this xform wasBill Wendling2010-01-131-11/+0
* reenable the piece that turns trunc(zext(x)) -> x even if zext has multiple u...Chris Lattner2010-01-111-3/+1
* Disable folding sext(trunc(x)) -> x (and other similar cast/cast cases) when ...Chris Lattner2010-01-111-6/+14
* add one more bitfield optimization, allowing clang to generateChris Lattner2010-01-111-2/+15
* Extend CanEvaluateZExtd to handle and/or/xor more aggressively in theChris Lattner2010-01-111-0/+18
* Remove the dead TD argument to CanEvaluateZExtd, and add aChris Lattner2010-01-111-14/+57
* improve comments, remove dead TD argument to CanEvaluateSExtd.Chris Lattner2010-01-111-11/+12
* teach sext optimization to handle truncs from types that are notChris Lattner2010-01-101-3/+4
* teach zext optimization how to deal with truncs that don't come fromChris Lattner2010-01-101-12/+12
* simplify CanEvaluateSExtd to return a bool now that we have aChris Lattner2010-01-101-63/+22
* the NumCastsRemoved argument to CanEvaluateSExtd is dead, remove it.Chris Lattner2010-01-101-26/+13
* now that the cost model has changed, we can always consider Chris Lattner2010-01-101-25/+16
* change the preferred canonical form for a sign extension to beChris Lattner2010-01-102-23/+8
* fix indentation of switch statements, no functionality change.Chris Lattner2010-01-101-79/+79
* fix pasto that broke bootstrap.Chris Lattner2010-01-101-1/+1
* simplify CanEvaluateZExtd now that we don't care about the number of Chris Lattner2010-01-101-89/+23
* two changes: Chris Lattner2010-01-101-25/+27
* enhance CanEvaluateZExtd to handle shift left and sext, allowingChris Lattner2010-01-101-3/+17
* remove an xform subsumed by EvaluateInDifferentType.Chris Lattner2010-01-101-27/+0
* clean up this xform by using m_Trunc.Chris Lattner2010-01-101-12/+9
* inline and remove the rest of commonIntCastTransforms.Chris Lattner2010-01-102-18/+18
* Inline the expression type promotion/demotion stuff out ofChris Lattner2010-01-101-417/+417
* Remove unnecessary dyn_cast and add a comment. Part of a WIP.Eric Christopher2010-01-081-4/+4
* mplement a theoretical fixme.Chris Lattner2010-01-081-3/+7
* rename CanEvaluateInDifferentType -> CanEvaluateTruncated and Chris Lattner2010-01-081-71/+28
* teach instcombine to delete sign extending shift pairs (sra(shl X, C), C) whenChris Lattner2010-01-081-4/+15
* tidy up some stuff duncan pointed out.Chris Lattner2010-01-081-2/+3
* teach ComputeNumSignBits to look through PHI nodes.Chris Lattner2010-01-071-3/+0
* Enhance instcombine to reason more strongly about promoting computationChris Lattner2010-01-071-51/+144
* Move the object size intrinsic optimization to inst-combine and makeEric Christopher2010-01-061-0/+12
* tweaks suggested by DuncanChris Lattner2010-01-061-7/+7
* Teach instcombine's sext elimination logic to be more aggressive.Chris Lattner2010-01-061-18/+168
* simplify this code.Chris Lattner2010-01-051-109/+66
* make this a static function instead of a method.Chris Lattner2010-01-052-6/+5
* more rearrangement and cleanup, fix my test failure.Chris Lattner2010-01-051-118/+104
* cleanupChris Lattner2010-01-051-18/+15
* remove two trunc xforms that are subsumed by EvaluateInDifferentType.Chris Lattner2010-01-051-36/+0
* just remove this xform which is subsumed by others.Chris Lattner2010-01-051-26/+1
* move a trunc-specific transform out of commonIntCastTransforms into visitTrunc.Chris Lattner2010-01-051-32/+34
* Move remaining stuff to the isInteger predicate.Benjamin Kramer2010-01-052-3/+2
* move a zext specific xform out of commonIntCastTransforms into visitZExt and ...Chris Lattner2010-01-051-10/+9
* move a trunc-specific xform out of commonIntCastTransforms into visitTruncChris Lattner2010-01-051-16/+25
* reduce indentationChris Lattner2010-01-051-15/+18