aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
Commit message (Expand)AuthorAgeFilesLines
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-137-28/+21
* Transform memmove -> memcpy when the source is obviously constant memory.Chris Lattner2004-10-121-16/+33
* Fix a REALLY obscure bug in my previous checkin, which was splicing the ENDChris Lattner2004-10-121-1/+1
* Handle a common case more carefully. In particular, instead of transformingChris Lattner2004-10-111-4/+33
* Reenable the transform, turning X/-10 < 1 into X > -10Chris Lattner2004-10-111-5/+5
* This patch implements two things (sorry).Chris Lattner2004-10-111-25/+182
* Just because we cannot completely eliminate all uses of a global, we canChris Lattner2004-10-101-27/+124
* Initial version of automake Makefile.am file.Reid Spencer2004-10-107-0/+206
* Fix 2004-10-10-CastStoreOnce.llx, by adjusting types back if we strip off a castChris Lattner2004-10-101-20/+23
* Implement GlobalOpt/deadglobal-2.llx, deletion of globals that are onlyChris Lattner2004-10-101-0/+11
* Avoid calling use_size() which could (in theory) be expensive if the globalChris Lattner2004-10-101-12/+18
* Eliminate global pointers that are only stored a single value and null ifChris Lattner2004-10-091-0/+103
* Use DEBUG instead of DebugFlag directly, as DebugFlag does not respectChris Lattner2004-10-091-5/+3
* Fix infinite loop due to iterationChris Lattner2004-10-091-1/+7
* Implement sub.ll:test17, -X/C -> X/-CChris Lattner2004-10-091-0/+5
* If we found a dead global, we should at least delete it...Chris Lattner2004-10-081-0/+1
* * Pull out the meat of runOnModule into another function for clarity.Chris Lattner2004-10-081-45/+101
* We might as well delete the known-dead global sooner rather than later sinceChris Lattner2004-10-081-0/+2
* Temporarily disable a buggy transformation until it can be fixed. This fixesChris Lattner2004-10-081-0/+5
* Implement SRA for global variables. This allows the other global variableChris Lattner2004-10-081-32/+137
* Instcombine (X & FF00) + xx00 -> (X+xx00) & FF00, implementing and.ll:test27Chris Lattner2004-10-081-0/+25
* Little patch to turn (shl (add X, 123), 4) -> (add (shl X, 4), 123 << 4)Chris Lattner2004-10-081-0/+3
* Improve comments, no functionality changesChris Lattner2004-10-071-18/+53
* Fix a bug in the safety analysis routineChris Lattner2004-10-071-3/+3
* Comment cleanupsChris Lattner2004-10-071-4/+1
* * Rename pass to globalopt, since we do more than just constifyChris Lattner2004-10-071-81/+184
* Implement GlobalConstifier/trivialstore.llx, and also do someChris Lattner2004-10-061-3/+52
* Instcombine: -(X sdiv C) -> (X sdiv -C), tested by sub.ll:test16Chris Lattner2004-10-061-0/+8
* Reduce code growth implied by the tail duplication pass by not duplicatingChris Lattner2004-10-061-0/+75
* Add accessor function.Brian Gaeke2004-09-302-0/+8
* Correct type of accessor functions.Brian Gaeke2004-09-301-4/+4
* Namespacify. Add accessor function.Brian Gaeke2004-09-301-0/+8
* Disable the 'WARNING: Found global types that are not compatible' warningChris Lattner2004-09-301-1/+1
* Hrm, debugging printouts do not need to be in hereChris Lattner2004-09-291-2/+0
* * Pull range optimization code out into new InsertRangeTest function.Chris Lattner2004-09-291-80/+219
* Do not insert trivially dead select instructions, which allows us toChris Lattner2004-09-291-2/+11
* Fold binary expressions and casts into PHI nodes that have all constant inputs.Chris Lattner2004-09-291-1/+86
* Hrm, really, all tests passed without this, but it is scary to think how...Chris Lattner2004-09-291-2/+2
* Remove debugging printoutChris Lattner2004-09-291-1/+38
* Fold (X setcc C1) | (X setcc C2)Chris Lattner2004-09-281-1/+102
* Fold (and (setcc X, C1), (setcc X, C2))Chris Lattner2004-09-281-20/+121
* Implement X / C1 / C2 foldingChris Lattner2004-09-281-8/+54
* shl is always zero extending, so always use a zero extending shift right.Chris Lattner2004-09-281-5/+12
* Add includes and use std:: for standard library calls to make codeAlkis Evlogimenos2004-09-281-2/+2
* Pull assignment out of for loop conditional in order for this toAlkis Evlogimenos2004-09-281-8/+9
* Fix two bugs: one where a condition was mistakenly swapped, and anotherChris Lattner2004-09-271-14/+11
* Fold: (setcc (shr X, ShAmt), CI), where 'cc' is eq or ne. This xformChris Lattner2004-09-271-0/+45
* Implement shift-and combinations, implementing InstCombine/and.ll:test19-21Chris Lattner2004-09-241-7/+44
* Move LHSI->hasOneUse() into the arms of the conditional, reindenting code.Chris Lattner2004-09-231-71/+72
* Implement Transforms/InstCombine/and.ll:test18, a case that occurs 20 timesChris Lattner2004-09-231-0/+45