summaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineCasts.cpp
Commit message (Expand)AuthorAge
* Tweak per Chris' comments.Owen Anderson2010-07-19
* Reimplement r108639 in InstCombine rather than DAGCombine.Owen Anderson2010-07-19
* Fix instcombine's handling of alloca to accept non-i32 types.Dan Gohman2010-05-28
* Fix a missing newline in debug output.Dan Gohman2010-05-25
* Teach instcombine to transform a bitcast/(zext|trunc)/bitcast sequenceChris Lattner2010-05-08
* Say bitcast instead of bitconvert.Dan Gohman2010-04-07
* There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands2010-02-16
* Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands2010-02-15
* Rename ValueRequiresCast to ShouldOptimizeCast, to better reflectChris Lattner2010-02-11
* LangRef.html says that inttoptr and ptrtoint always use zero-extensionDan Gohman2010-02-02
* change the canonical form of "cond ? -1 : 0" to be Chris Lattner2010-01-24
* my instcombine transformations to make extension elimination moreChris Lattner2010-01-18
* reenable the piece that turns trunc(zext(x)) -> x even if zext has multiple u...Chris Lattner2010-01-11
* Disable folding sext(trunc(x)) -> x (and other similar cast/cast cases) when ...Chris Lattner2010-01-11
* Extend CanEvaluateZExtd to handle and/or/xor more aggressively in theChris Lattner2010-01-11
* Remove the dead TD argument to CanEvaluateZExtd, and add aChris Lattner2010-01-11
* improve comments, remove dead TD argument to CanEvaluateSExtd.Chris Lattner2010-01-11
* teach sext optimization to handle truncs from types that are notChris Lattner2010-01-10
* teach zext optimization how to deal with truncs that don't come fromChris Lattner2010-01-10
* simplify CanEvaluateSExtd to return a bool now that we have aChris Lattner2010-01-10
* the NumCastsRemoved argument to CanEvaluateSExtd is dead, remove it.Chris Lattner2010-01-10
* now that the cost model has changed, we can always consider Chris Lattner2010-01-10
* change the preferred canonical form for a sign extension to beChris Lattner2010-01-10
* fix pasto that broke bootstrap.Chris Lattner2010-01-10
* simplify CanEvaluateZExtd now that we don't care about the number of Chris Lattner2010-01-10
* two changes: Chris Lattner2010-01-10
* enhance CanEvaluateZExtd to handle shift left and sext, allowingChris Lattner2010-01-10
* remove an xform subsumed by EvaluateInDifferentType.Chris Lattner2010-01-10
* clean up this xform by using m_Trunc.Chris Lattner2010-01-10
* inline and remove the rest of commonIntCastTransforms.Chris Lattner2010-01-10
* Inline the expression type promotion/demotion stuff out ofChris Lattner2010-01-10
* mplement a theoretical fixme.Chris Lattner2010-01-08
* rename CanEvaluateInDifferentType -> CanEvaluateTruncated and Chris Lattner2010-01-08
* Enhance instcombine to reason more strongly about promoting computationChris Lattner2010-01-07
* tweaks suggested by DuncanChris Lattner2010-01-06
* Teach instcombine's sext elimination logic to be more aggressive.Chris Lattner2010-01-06
* simplify this code.Chris Lattner2010-01-05
* make this a static function instead of a method.Chris Lattner2010-01-05
* more rearrangement and cleanup, fix my test failure.Chris Lattner2010-01-05
* cleanupChris Lattner2010-01-05
* remove two trunc xforms that are subsumed by EvaluateInDifferentType.Chris Lattner2010-01-05
* just remove this xform which is subsumed by others.Chris Lattner2010-01-05
* move a trunc-specific transform out of commonIntCastTransforms into visitTrunc.Chris Lattner2010-01-05
* move a zext specific xform out of commonIntCastTransforms into visitZExt and ...Chris Lattner2010-01-05
* move a trunc-specific xform out of commonIntCastTransforms into visitTruncChris Lattner2010-01-05
* Convert a ton of simple integer type equality tests to the new predicate.Benjamin Kramer2010-01-05
* Avoid going through the LLVMContext for type equality where it's safe to dere...Benjamin Kramer2010-01-05
* move some more cast-related stuffChris Lattner2010-01-04
* move the [Can]EvaluateInDifferentType functions out to InstCombineCasts.cppChris Lattner2010-01-04
* split 943 lines of instcombine out to a new InstCombineCasts.cppChris Lattner2010-01-04