Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Significantly simplify the clients of GetConstantStringInfo, by having it | Chris Lattner | 2007-04-07 | 1 | -235/+154 | |
| | | | | | | just return the string itself. llvm-svn: 35755 | |||||
* | Fix problems in the sprintf optimizer | Chris Lattner | 2007-04-07 | 1 | -81/+60 | |
| | | | | llvm-svn: 35754 | |||||
* | Change CastToCStr to take a pointer instead of a reference. | Chris Lattner | 2007-04-07 | 1 | -82/+76 | |
| | | | | | | Fix some miscompilations in fprintf optimizer. llvm-svn: 35753 | |||||
* | Unbreak VC++ build. | Jeff Cohen | 2007-04-07 | 2 | -32/+32 | |
| | | | | llvm-svn: 35751 | |||||
* | Fix an off-by-one error that broke Prolangs/deriv2 with llc on x86 | Chris Lattner | 2007-04-07 | 1 | -1/+1 | |
| | | | | | | and Prolangs-C/cdecl llvm-svn: 35749 | |||||
* | Avoid a useless temporary constrution. | Reid Spencer | 2007-04-07 | 1 | -2/+1 | |
| | | | | llvm-svn: 35747 | |||||
* | Fix another PathWithStatus issue. | Reid Spencer | 2007-04-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 35744 | |||||
* | For PR1291: | Reid Spencer | 2007-04-07 | 2 | -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 Spencer | 2007-04-07 | 3 | -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 the | Owen Anderson | 2007-04-07 | 2 | -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 Sheng | 2007-04-07 | 1 | -8/+7 | |
| | | | | llvm-svn: 35740 | |||||
* | Make APInt variables do the computation stuffs instead of | Zhou Sheng | 2007-04-07 | 1 | -14/+11 | |
| | | | | | | ConstantExpr::getXX if possible. llvm-svn: 35738 | |||||
* | Eliminate unnecessary zext/trunc stuffs. | Zhou Sheng | 2007-04-07 | 1 | -14/+10 | |
| | | | | llvm-svn: 35737 | |||||
* | Add support for cast instructions. | Nick Lewycky | 2007-04-07 | 1 | -17/+75 | |
| | | | | llvm-svn: 35734 | |||||
* | Add signExtend to ConstantRange, to complement zeroExtend and truncate. | Nick Lewycky | 2007-04-07 | 1 | -0/+17 | |
| | | | | llvm-svn: 35733 | |||||
* | Completely purge DomSet. This is the (hopefully) final patch for PR1171. | Owen Anderson | 2007-04-07 | 3 | -177/+14 | |
| | | | | llvm-svn: 35731 | |||||
* | Completely purge DomSet from LoopSimplify. This is part of the | Owen Anderson | 2007-04-07 | 1 | -82/+46 | |
| | | | | | | continuing work on PR1171. llvm-svn: 35730 | |||||
* | BreakCriticalEdges does still preserve DominatorTree. | Owen Anderson | 2007-04-07 | 1 | -0/+1 | |
| | | | | llvm-svn: 35729 | |||||
* | Expunge DomSet from BreakCriticalEdges. This is part of the continuing | Owen Anderson | 2007-04-07 | 1 | -52/+18 | |
| | | | | | | work for PR 1171. llvm-svn: 35728 | |||||
* | Fix a bug in my earlier commit which exposed positional options backwards. | Chris Lattner | 2007-04-07 | 1 | -3/+9 | |
| | | | | | | This fixes llvm-ar. llvm-svn: 35727 | |||||
* | Expunge DomSet from CodeExtractor. This is part of the continuing work | Owen Anderson | 2007-04-07 | 2 | -24/+28 | |
| | | | | | | on PR1171. llvm-svn: 35726 | |||||
* | Support NE inequality in ValueRanges. | Nick Lewycky | 2007-04-07 | 1 | -3/+58 | |
| | | | | llvm-svn: 35724 | |||||
* | Expunge DomSet from LoadValueNumbering. This is part of the continuing | Owen Anderson | 2007-04-07 | 1 | -9/+9 | |
| | | | | | | work on PR1171. llvm-svn: 35723 | |||||
* | Expunge a bunch of uses of DomSet from LoopSimplify. Many more remain. | Owen Anderson | 2007-04-07 | 1 | -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 Lewycky | 2007-04-07 | 1 | -30/+35 | |
| | | | | llvm-svn: 35719 | |||||
* | Use TargetData to find the size of a type. | Nick Lewycky | 2007-04-07 | 1 | -13/+34 | |
| | | | | llvm-svn: 35718 | |||||
* | Strengthen icmp snuggling by doing 'compare-or-equal-to' to 'compare' | Nick Lewycky | 2007-04-07 | 1 | -16/+23 | |
| | | | | | | first and then range testing second. llvm-svn: 35715 | |||||
* | Add loop rotation pass. | Devang Patel | 2007-04-07 | 1 | -0/+431 | |
| | | | | llvm-svn: 35714 | |||||
* | fix a miscompilation in printf optimizer. | Chris Lattner | 2007-04-07 | 1 | -38/+36 | |
| | | | | llvm-svn: 35713 | |||||
* | trunc to bool no longer compares against zero | Chris Lattner | 2007-04-07 | 1 | -10/+5 | |
| | | | | llvm-svn: 35712 | |||||
* | cleanups for strlen optimizer | Chris Lattner | 2007-04-07 | 1 | -34/+21 | |
| | | | | llvm-svn: 35711 | |||||
* | Introduce a new ReplaceCallWith method, which simplifies a lot of code. | Chris Lattner | 2007-04-07 | 1 | -186/+86 | |
| | | | | llvm-svn: 35710 | |||||
* | fixes for strcpy optimizer | Chris Lattner | 2007-04-07 | 1 | -53/+42 | |
| | | | | llvm-svn: 35709 | |||||
* | Fix bugs in strncmp. | Chris Lattner | 2007-04-07 | 1 | -62/+52 | |
| | | | | llvm-svn: 35708 | |||||
* | fix 3 miscompilations and several compielr crashes in strcmp optimizer. | Chris Lattner | 2007-04-07 | 1 | -44/+35 | |
| | | | | llvm-svn: 35707 | |||||
* | Fix several nasty bugs in the strchr optimizer, this fixes | Chris Lattner | 2007-04-06 | 1 | -48/+54 | |
| | | | | | | SimplifyLibCalls/2007-04-06-strchr-miscompile.ll and PR1307 llvm-svn: 35706 | |||||
* | clean up strcat optimizer, no functionality change. | Chris Lattner | 2007-04-06 | 1 | -28/+21 | |
| | | | | llvm-svn: 35704 | |||||
* | rename getConstantStringLength -> GetConstantStringInfo. Make it return | Chris Lattner | 2007-04-06 | 1 | -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 Lattner | 2007-04-06 | 1 | -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 PR1313 | Chris Lattner | 2007-04-06 | 1 | -1/+11 | |
| | | | | llvm-svn: 35700 | |||||
* | minor comment fix | Chris Lattner | 2007-04-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 35696 | |||||
* | For PR1209: | Reid Spencer | 2007-04-06 | 1 | -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 Lattner | 2007-04-05 | 1 | -61/+30 | |
| | | | | llvm-svn: 35690 | |||||
* | Fix Transforms/GlobalOpt/2007-04-05-Crash.ll | Chris Lattner | 2007-04-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 35689 | |||||
* | Use a worklist-driven algorithm instead of a recursive one. | Chris Lattner | 2007-04-05 | 1 | -27/+36 | |
| | | | | llvm-svn: 35680 | |||||
* | Change the bit_part_select (non)implementation from "return 0" to abort. | Reid Spencer | 2007-04-05 | 1 | -3/+5 | |
| | | | | llvm-svn: 35679 | |||||
* | Implement the llvm.bit.part_select.iN.iN.iN overloaded intrinsic. | Reid Spencer | 2007-04-04 | 3 | -0/+182 | |
| | | | | llvm-svn: 35678 | |||||
* | Squelch a warning about mismatch between sign of constant and sign of return | Reid Spencer | 2007-04-04 | 1 | -1/+1 | |
| | | | | | | type. llvm-svn: 35674 | |||||
* | Properly emit range comparisons for switch cases, where neighbour cases | Anton Korobeynikov | 2007-04-04 | 1 | -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 assert | Dale Johannesen | 2007-04-04 | 1 | -0/+35 | |
| | | | | | | elsewhere. llvm-svn: 35668 |