aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2010-01-13When the visitSub method was split into visitSub and visitFSub, this xform wasBill Wendling
2010-01-121) Use the new SimplifyInstructionsInBlock routine instead of the copyChris Lattner
2010-01-12add a helper function.Chris Lattner
2010-01-12tidy upChris Lattner
2010-01-12Teach jump threading to duplicate small blocks when the branchChris Lattner
2010-01-11some cleanup, and make it obvious that ProcessJumpOnPHI only worksChris Lattner
2010-01-11reenable the piece that turns trunc(zext(x)) -> x even if zext has multiple u...Chris Lattner
2010-01-11Disable folding sext(trunc(x)) -> x (and other similar cast/cast cases) when ...Chris Lattner
2010-01-11add one more bitfield optimization, allowing clang to generateChris Lattner
2010-01-11Extend CanEvaluateZExtd to handle and/or/xor more aggressively in theChris Lattner
2010-01-11Remove the dead TD argument to CanEvaluateZExtd, and add aChris Lattner
2010-01-11improve comments, remove dead TD argument to CanEvaluateSExtd.Chris Lattner
2010-01-10teach sext optimization to handle truncs from types that are notChris Lattner
2010-01-10teach zext optimization how to deal with truncs that don't come fromChris Lattner
2010-01-10simplify CanEvaluateSExtd to return a bool now that we have aChris Lattner
2010-01-10the NumCastsRemoved argument to CanEvaluateSExtd is dead, remove it.Chris Lattner
2010-01-10now that the cost model has changed, we can always consider Chris Lattner
2010-01-10change the preferred canonical form for a sign extension to beChris Lattner
2010-01-10fix indentation of switch statements, no functionality change.Chris Lattner
2010-01-10fix pasto that broke bootstrap.Chris Lattner
2010-01-10simplify CanEvaluateZExtd now that we don't care about the number of Chris Lattner
2010-01-10two changes: Chris Lattner
2010-01-10enhance CanEvaluateZExtd to handle shift left and sext, allowingChris Lattner
2010-01-10remove an xform subsumed by EvaluateInDifferentType.Chris Lattner
2010-01-10Fix nondeterministic behavior.Julien Lerouge
2010-01-10clean up this xform by using m_Trunc.Chris Lattner
2010-01-10inline and remove the rest of commonIntCastTransforms.Chris Lattner
2010-01-10Inline the expression type promotion/demotion stuff out ofChris Lattner
2010-01-09only factor from expressions whose uses are empty and whoseChris Lattner
2010-01-09Fix nondeterministic behavior.Julien Lerouge
2010-01-08Remove unnecessary dyn_cast and add a comment. Part of a WIP.Eric Christopher
2010-01-08mplement a theoretical fixme.Chris Lattner
2010-01-08rename CanEvaluateInDifferentType -> CanEvaluateTruncated and Chris Lattner
2010-01-08teach instcombine to delete sign extending shift pairs (sra(shl X, C), C) whenChris Lattner
2010-01-08Suppress an unused variable warning when assertions are off;Duncan Sands
2010-01-08tidy up some stuff duncan pointed out.Chris Lattner
2010-01-07teach ComputeNumSignBits to look through PHI nodes.Chris Lattner
2010-01-07Enhance instcombine to reason more strongly about promoting computationChris Lattner
2010-01-07Use a do-while loop instead of while + boolean.Benjamin Kramer
2010-01-07Be less stingy as to how many selects and phi nodes weDuncan Sands
2010-01-07handle ConstantVector while I'm in here.Chris Lattner
2010-01-07fix a globalopt crash on 'bullet' (handling evaluation of a storeChris Lattner
2010-01-06Move the object size intrinsic optimization to inst-combine and makeEric Christopher
2010-01-06Fix a README item: have functionattrs look through selects andDuncan Sands
2010-01-06Formatting.Mikhail Glushenkov
2010-01-06Partially address a README by having functionattrs consider calls toDuncan Sands
2010-01-06tweaks suggested by DuncanChris Lattner
2010-01-06Teach instcombine's sext elimination logic to be more aggressive.Chris Lattner
2010-01-05simplify this code.Chris Lattner
2010-01-05make this a static function instead of a method.Chris Lattner