aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
Commit message (Expand)AuthorAgeFilesLines
* Fix a comment typo.Bob Wilson2010-01-151-1/+1
* When the visitSub method was split into visitSub and visitFSub, this xform wasBill Wendling2010-01-131-11/+0
* 1) Use the new SimplifyInstructionsInBlock routine instead of the copyChris Lattner2010-01-121-17/+14
* add a helper function.Chris Lattner2010-01-121-0/+24
* tidy upChris Lattner2010-01-121-5/+1
* Teach jump threading to duplicate small blocks when the branchChris Lattner2010-01-121-9/+123
* some cleanup, and make it obvious that ProcessJumpOnPHI only worksChris Lattner2010-01-111-24/+14
* 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
* Fix nondeterministic behavior.Julien Lerouge2010-01-101-9/+3
* 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
* only factor from expressions whose uses are empty and whoseChris Lattner2010-01-091-0/+5
* Fix nondeterministic behavior.Julien Lerouge2010-01-091-6/+7
* 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
* Suppress an unused variable warning when assertions are off;Duncan Sands2010-01-081-2/+3
* 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
* Use a do-while loop instead of while + boolean.Benjamin Kramer2010-01-071-6/+4
* Be less stingy as to how many selects and phi nodes weDuncan Sands2010-01-071-2/+2
* handle ConstantVector while I'm in here.Chris Lattner2010-01-071-0/+3
* fix a globalopt crash on 'bullet' (handling evaluation of a storeChris Lattner2010-01-071-16/+20
* Move the object size intrinsic optimization to inst-combine and makeEric Christopher2010-01-062-24/+12
* Fix a README item: have functionattrs look through selects andDuncan Sands2010-01-061-10/+41
* Formatting.Mikhail Glushenkov2010-01-061-2/+2
* Partially address a README by having functionattrs consider calls toDuncan Sands2010-01-061-0/+15
* 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