summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Significantly simplify the clients of GetConstantStringInfo, by having itChris Lattner2007-04-071-235/+154
| | | | | | just return the string itself. llvm-svn: 35755
* Fix problems in the sprintf optimizerChris Lattner2007-04-071-81/+60
| | | | llvm-svn: 35754
* Change CastToCStr to take a pointer instead of a reference.Chris Lattner2007-04-071-82/+76
| | | | | | Fix some miscompilations in fprintf optimizer. llvm-svn: 35753
* Unbreak VC++ build.Jeff Cohen2007-04-072-32/+32
| | | | llvm-svn: 35751
* Fix an off-by-one error that broke Prolangs/deriv2 with llc on x86Chris Lattner2007-04-071-1/+1
| | | | | | and Prolangs-C/cdecl llvm-svn: 35749
* Avoid a useless temporary constrution.Reid Spencer2007-04-071-2/+1
| | | | llvm-svn: 35747
* Fix another PathWithStatus issue.Reid Spencer2007-04-071-1/+2
| | | | llvm-svn: 35744
* For PR1291:Reid Spencer2007-04-072-3/+3
| | | | | | | Change uses of sys::Path class to sys::PathWithStatus in those places where the file status information is needed. llvm-svn: 35743
* For PR1291:Reid Spencer2007-04-073-63/+68
| | | | | | Implement the PathWithStatus class and its use throughout lib/System. llvm-svn: 35742
* Add DomSet back, and revert the changes to LoopSimplify. Apparently theOwen Anderson2007-04-072-62/+194
| | | | | | | ETForest updating mechanisms don't work as I thought they did. These changes will be reapplied once the issue is worked out. llvm-svn: 35741
* Eliminate unnecessary APInt construction.Zhou Sheng2007-04-071-8/+7
| | | | llvm-svn: 35740
* Make APInt variables do the computation stuffs instead ofZhou Sheng2007-04-071-14/+11
| | | | | | ConstantExpr::getXX if possible. llvm-svn: 35738
* Eliminate unnecessary zext/trunc stuffs.Zhou Sheng2007-04-071-14/+10
| | | | llvm-svn: 35737
* Add support for cast instructions.Nick Lewycky2007-04-071-17/+75
| | | | llvm-svn: 35734
* Add signExtend to ConstantRange, to complement zeroExtend and truncate.Nick Lewycky2007-04-071-0/+17
| | | | llvm-svn: 35733
* Completely purge DomSet. This is the (hopefully) final patch for PR1171.Owen Anderson2007-04-073-177/+14
| | | | llvm-svn: 35731
* Completely purge DomSet from LoopSimplify. This is part of theOwen Anderson2007-04-071-82/+46
| | | | | | continuing work on PR1171. llvm-svn: 35730
* BreakCriticalEdges does still preserve DominatorTree.Owen Anderson2007-04-071-0/+1
| | | | llvm-svn: 35729
* Expunge DomSet from BreakCriticalEdges. This is part of the continuingOwen Anderson2007-04-071-52/+18
| | | | | | work for PR 1171. llvm-svn: 35728
* Fix a bug in my earlier commit which exposed positional options backwards.Chris Lattner2007-04-071-3/+9
| | | | | | This fixes llvm-ar. llvm-svn: 35727
* Expunge DomSet from CodeExtractor. This is part of the continuing workOwen Anderson2007-04-072-24/+28
| | | | | | on PR1171. llvm-svn: 35726
* Support NE inequality in ValueRanges.Nick Lewycky2007-04-071-3/+58
| | | | llvm-svn: 35724
* Expunge DomSet from LoadValueNumbering. This is part of the continuingOwen Anderson2007-04-071-9/+9
| | | | | | work on PR1171. llvm-svn: 35723
* Expunge a bunch of uses of DomSet from LoopSimplify. Many more remain.Owen Anderson2007-04-071-3/+2
| | | | | | This is the beginning of work for PR1171. llvm-svn: 35720
* Cleanup. Refactor out the applying of value ranges to its own method.Nick Lewycky2007-04-071-30/+35
| | | | llvm-svn: 35719
* Use TargetData to find the size of a type.Nick Lewycky2007-04-071-13/+34
| | | | llvm-svn: 35718
* Strengthen icmp snuggling by doing 'compare-or-equal-to' to 'compare'Nick Lewycky2007-04-071-16/+23
| | | | | | first and then range testing second. llvm-svn: 35715
* Add loop rotation pass.Devang Patel2007-04-071-0/+431
| | | | llvm-svn: 35714
* fix a miscompilation in printf optimizer.Chris Lattner2007-04-071-38/+36
| | | | llvm-svn: 35713
* trunc to bool no longer compares against zeroChris Lattner2007-04-071-10/+5
| | | | llvm-svn: 35712
* cleanups for strlen optimizerChris Lattner2007-04-071-34/+21
| | | | llvm-svn: 35711
* Introduce a new ReplaceCallWith method, which simplifies a lot of code.Chris Lattner2007-04-071-186/+86
| | | | llvm-svn: 35710
* fixes for strcpy optimizerChris Lattner2007-04-071-53/+42
| | | | llvm-svn: 35709
* Fix bugs in strncmp.Chris Lattner2007-04-071-62/+52
| | | | llvm-svn: 35708
* fix 3 miscompilations and several compielr crashes in strcmp optimizer.Chris Lattner2007-04-071-44/+35
| | | | llvm-svn: 35707
* Fix several nasty bugs in the strchr optimizer, this fixesChris Lattner2007-04-061-48/+54
| | | | | | SimplifyLibCalls/2007-04-06-strchr-miscompile.ll and PR1307 llvm-svn: 35706
* clean up strcat optimizer, no functionality change.Chris Lattner2007-04-061-28/+21
| | | | llvm-svn: 35704
* rename getConstantStringLength -> GetConstantStringInfo. Make it returnChris Lattner2007-04-061-74/+83
| | | | | | the start index of the array as well as the length. No functionality change. llvm-svn: 35703
* rearchitect the registration mechanism used by the command line option stuff.Chris Lattner2007-04-061-65/+84
| | | | | | | | | | This dramatically reduce the amount of memory allocated by the commandline stuff at static init time, changing it to build local data structures when ParseCommandLineOptions is called. In a dummy empty program that links some llvm libraries, this reduces the number of malloc'd bytes from 4864 to 3360 on entry to main. Most of that memory is now allocated by non-commandline related stuff. llvm-svn: 35701
* implement Transforms/InstCombine/malloc2.ll and PR1313Chris Lattner2007-04-061-1/+11
| | | | llvm-svn: 35700
* minor comment fixChris Lattner2007-04-061-1/+1
| | | | llvm-svn: 35696
* For PR1209:Reid Spencer2007-04-061-17/+63
| | | | | | Implement Type class's ContainedTys without using a std::vector. llvm-svn: 35693
* remove the dead removeArgument method, rename Options to OptionsMap.Chris Lattner2007-04-051-61/+30
| | | | llvm-svn: 35690
* Fix Transforms/GlobalOpt/2007-04-05-Crash.llChris Lattner2007-04-051-1/+1
| | | | llvm-svn: 35689
* Use a worklist-driven algorithm instead of a recursive one.Chris Lattner2007-04-051-27/+36
| | | | llvm-svn: 35680
* Change the bit_part_select (non)implementation from "return 0" to abort.Reid Spencer2007-04-051-3/+5
| | | | llvm-svn: 35679
* Implement the llvm.bit.part_select.iN.iN.iN overloaded intrinsic.Reid Spencer2007-04-043-0/+182
| | | | llvm-svn: 35678
* Squelch a warning about mismatch between sign of constant and sign of returnReid Spencer2007-04-041-1/+1
| | | | | | type. llvm-svn: 35674
* Properly emit range comparisons for switch cases, where neighbour casesAnton Korobeynikov2007-04-041-71/+181
| | | | | | | go to the same destination. Now we're producing really good code for switch-lower-feature.ll testcase llvm-svn: 35672
* Prevent transformConstExprCastCall from generating conversions that assertDale Johannesen2007-04-041-0/+35
| | | | | | elsewhere. llvm-svn: 35668
OpenPOWER on IntegriCloud