aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine/InstCombineCasts.cpp
Commit message (Expand)AuthorAgeFilesLines
* There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands2010-02-161-11/+11
* Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands2010-02-151-2/+2
* Rename ValueRequiresCast to ShouldOptimizeCast, to better reflectChris Lattner2010-02-111-7/+16
* LangRef.html says that inttoptr and ptrtoint always use zero-extensionDan Gohman2010-02-021-21/+32
* change the canonical form of "cond ? -1 : 0" to be Chris Lattner2010-01-241-6/+24
* my instcombine transformations to make extension elimination moreChris Lattner2010-01-181-0/+13
* 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
* 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-101-3/+8
* 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-101-17/+18
* Inline the expression type promotion/demotion stuff out ofChris Lattner2010-01-101-417/+417
* mplement a theoretical fixme.Chris Lattner2010-01-081-3/+7
* rename CanEvaluateInDifferentType -> CanEvaluateTruncated and Chris Lattner2010-01-081-71/+28
* Enhance instcombine to reason more strongly about promoting computationChris Lattner2010-01-071-51/+144
* 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-051-4/+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 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
* Convert a ton of simple integer type equality tests to the new predicate.Benjamin Kramer2010-01-051-3/+2
* Avoid going through the LLVMContext for type equality where it's safe to dere...Benjamin Kramer2010-01-051-1/+1
* move some more cast-related stuffChris Lattner2010-01-041-0/+125
* move the [Can]EvaluateInDifferentType functions out to InstCombineCasts.cppChris Lattner2010-01-041-1/+209
* split 943 lines of instcombine out to a new InstCombineCasts.cppChris Lattner2010-01-041-0/+943