| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Guard against huge loop trip counts in an APInt safe way. | Reid Spencer | 2007-03-02 | 1 | -2/+7 |
| | | | | | llvm-svn: 34858 | ||||
| * | Fix a significant algorithm problem with the instcombine worklist. removing | Chris Lattner | 2007-03-02 | 1 | -54/+70 |
| | | | | | | | | | | | a value from the worklist required scanning the entire worklist to remove all entries. We now use a combination map+vector to prevent duplicates from happening and prevent the scan. This speeds up instcombine on a large file from the llvm-gcc bootstrap from 189.7s to 4.84s in a debug build and from 5.04s to 1.37s in a release build. llvm-svn: 34848 | ||||
| * | minor cleanup | Chris Lattner | 2007-03-02 | 1 | -6/+2 |
| | | | | | llvm-svn: 34846 | ||||
| * | Reverse a premature commital. | Reid Spencer | 2007-03-02 | 1 | -21/+17 |
| | | | | | llvm-svn: 34822 | ||||
| * | Prefer non-virtual calls to ConstantInt::isZero over virtual calls to | Reid Spencer | 2007-03-02 | 4 | -25/+29 |
| | | | | | | | Constant::isNullValue() in situations where it is possible. llvm-svn: 34821 | ||||
| * | Although probably not necessary, guard against a potential assertion by | Reid Spencer | 2007-03-01 | 1 | -1/+1 |
| | | | | | | | using isNullValue() instead of getZExtValue() == 0. llvm-svn: 34815 | ||||
| * | Use isUnitValue() instead of getZExtValue() == 1 which will prevent an | Reid Spencer | 2007-03-01 | 1 | -1/+1 |
| | | | | | | | assert if the ConstantInt's value is large. llvm-svn: 34814 | ||||
| * | The 64-bit constructor for ConstantInt changes from int64_t to uint64_t. | Reid Spencer | 2007-03-01 | 1 | -1/+1 |
| | | | | | | | | This caused a warning for construction with -1. Avoid the warning by using -1ULL instead. llvm-svn: 34796 | ||||
| * | Remove the "isSigned" parameters from ConstantRange. It turns out they | Reid Spencer | 2007-03-01 | 1 | -6/+5 |
| | | | | | | | | | are not needed as the results are the same with or without it. Patch by Nicholas Lewycky. llvm-svn: 34782 | ||||
| * | For PR1205: | Reid Spencer | 2007-02-28 | 1 | -9/+15 |
| | | | | | | | Adjust to changes in ConstantRange interface. llvm-svn: 34762 | ||||
| * | For PR1205: | Reid Spencer | 2007-02-28 | 1 | -1/+4 |
| | | | | | | | | Remove ConstantInt from ConstantRange interface and adjust its users to compensate. llvm-svn: 34758 | ||||
| * | For PR1205: | Reid Spencer | 2007-02-28 | 1 | -4/+5 |
| | | | | | | | | First round of ConstantRange changes. This makes all CR constructors use only APInt and not use ConstantInt. Clients are adjusted accordingly. llvm-svn: 34756 | ||||
| * | Use efficient container SmallPtrSet | Devang Patel | 2007-02-26 | 1 | -3/+4 |
| | | | | | llvm-svn: 34640 | ||||
| * | Do not unswitch loop on same value again and again. | Devang Patel | 2007-02-26 | 1 | -0/+7 |
| | | | | | llvm-svn: 34638 | ||||
| * | Fix InstCombine/2007-02-23-PhiFoldInfLoop.ll and PR1217 | Chris Lattner | 2007-02-24 | 1 | -1/+2 |
| | | | | | llvm-svn: 34546 | ||||
| * | convert more vectors to smallvectors, 2.8% speedup | Chris Lattner | 2007-02-15 | 1 | -3/+3 |
| | | | | | llvm-svn: 34333 | ||||
| * | change some vectors to smallvectors. This speeds up instcombine on 447.dealII | Chris Lattner | 2007-02-15 | 1 | -3/+3 |
| | | | | | | | by 5%. llvm-svn: 34332 | ||||
| * | switch an std::set to a SmallPtr set, this speeds up instcombine by 9.5% | Chris Lattner | 2007-02-15 | 1 | -3/+4 |
| | | | | | | | on 447.dealII llvm-svn: 34323 | ||||
| * | For PR1195: | Reid Spencer | 2007-02-15 | 2 | -10/+10 |
| | | | | | | | | Change use of "packed" term to "vector" in comments, strings, variable names, etc. llvm-svn: 34300 | ||||
| * | Change an assert that mentions Packed Type -> Vector Type. | Reid Spencer | 2007-02-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 34298 | ||||
| * | For PR1195: | Reid Spencer | 2007-02-15 | 5 | -69/+69 |
| | | | | | | | | Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293 | ||||
| * | Generalize TargetData strings, to support more interesting forms of data. | Chris Lattner | 2007-02-14 | 1 | -12/+13 |
| | | | | | | | Patch by Scott Michel. llvm-svn: 34266 | ||||
| * | Eliminate use of ctors that take vectors. | Chris Lattner | 2007-02-13 | 3 | -7/+8 |
| | | | | | llvm-svn: 34219 | ||||
| * | stop using methods that take vectors. | Chris Lattner | 2007-02-12 | 3 | -9/+14 |
| | | | | | llvm-svn: 34205 | ||||
| * | Simplify code by using value::takename | Chris Lattner | 2007-02-11 | 6 | -71/+61 |
| | | | | | llvm-svn: 34176 | ||||
| * | Privatize StructLayout::MemberOffsets, adding an accessor | Chris Lattner | 2007-02-10 | 2 | -2/+3 |
| | | | | | llvm-svn: 34156 | ||||
| * | Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes in | Reid Spencer | 2007-02-05 | 20 | -32/+52 |
| | | | | | | | | the Transforms library. This reduces debug library size by 132 KB, debug binary size by 376 KB, and reduces link time for llvm tools slightly. llvm-svn: 33939 | ||||
| * | For PR411: | Reid Spencer | 2007-02-05 | 1 | -3/+3 |
| | | | | | | | | | Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) llvm-svn: 33922 | ||||
| * | Fix miscompilations of consumer-typeset, telecomm-gsm, and 176.gcc. | Chris Lattner | 2007-02-05 | 1 | -6/+6 |
| | | | | | llvm-svn: 33902 | ||||
| * | fix a miscompilation of 176.gcc | Chris Lattner | 2007-02-05 | 1 | -2/+2 |
| | | | | | llvm-svn: 33900 | ||||
| * | rewrite shift/shift folding, now that types are not signed. | Chris Lattner | 2007-02-05 | 1 | -74/+103 |
| | | | | | llvm-svn: 33892 | ||||
| * | Fix indenting, remove tabs. | Nick Lewycky | 2007-02-04 | 1 | -32/+90 |
| | | | | | | | | | | | | | Learn from sext and zext. The destination value falls within the range of the source type. Generalize properties regarding constant ints. Get smarter about marking blocks as unreachable. If 1 >= 2 in order for this block to execute, then it isn't reachable. llvm-svn: 33889 | ||||
| * | For PR1163: | Reid Spencer | 2007-02-04 | 2 | -1/+2 |
| | | | | | | | | Make the Module's dependent library use a std::vector instead of SetVector adjust #includes in .cpp files because SetVector.h is no longer included. llvm-svn: 33855 | ||||
| * | remove some dead code | Chris Lattner | 2007-02-03 | 1 | -14/+3 |
| | | | | | llvm-svn: 33845 | ||||
| * | Switch inliner over to use DenseMap instead of std::map for ValueMap. This | Chris Lattner | 2007-02-03 | 2 | -13/+13 |
| | | | | | | | speeds up the inliner 16%. llvm-svn: 33801 | ||||
| * | Switch this back to using an std::map. DenseMap entries are getting invalidated | Chris Lattner | 2007-02-02 | 1 | -5/+5 |
| | | | | | llvm-svn: 33799 | ||||
| * | Remove more malloc thrashing, this speeds up IPSCCP on kimwitu another 6.7%. | Chris Lattner | 2007-02-02 | 1 | -10/+10 |
| | | | | | llvm-svn: 33796 | ||||
| * | Convert an std::set to SmallSet, this speeds up IPSCCP 17% on kimwitu. | Chris Lattner | 2007-02-02 | 1 | -5/+5 |
| | | | | | llvm-svn: 33794 | ||||
| * | eliminate a malloc/free for (almost) every GEP processed. This speeds up | Chris Lattner | 2007-02-02 | 1 | -2/+3 |
| | | | | | | | IPSCCP 3.3% on kimwitu. llvm-svn: 33793 | ||||
| * | switch hash_map's over to DenseMap in SCCP. This speeds up SCCP by 30% in | Chris Lattner | 2007-02-02 | 1 | -19/+21 |
| | | | | | | | a release-assert build on kimwitu++. llvm-svn: 33792 | ||||
| * | Remove dead code and fix indentation per Chris' review comments. | Reid Spencer | 2007-02-02 | 1 | -31/+12 |
| | | | | | llvm-svn: 33785 | ||||
| * | Use short form of binary operator create functions. | Reid Spencer | 2007-02-02 | 2 | -25/+25 |
| | | | | | llvm-svn: 33783 | ||||
| * | bugfix for reid's shift patch. | Chris Lattner | 2007-02-02 | 1 | -2/+2 |
| | | | | | llvm-svn: 33779 | ||||
| * | Changes to support making the shift instructions be true BinaryOperators. | Reid Spencer | 2007-02-02 | 4 | -146/+164 |
| | | | | | | | | | | | | | This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776 | ||||
| * | Fix Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll, a serious code | Chris Lattner | 2007-02-01 | 1 | -0/+24 |
| | | | | | | | | pessimization where instcombine can sink a load (good for code size) that prevents an alloca from being promoted by mem2reg (bad for everything). llvm-svn: 33771 | ||||
| * | remove temporary vectors. | Chris Lattner | 2007-01-31 | 3 | -13/+9 |
| | | | | | llvm-svn: 33715 | ||||
| * | Revert another incorrectly applied chunk, which fixes ↵ | Chris Lattner | 2007-01-31 | 1 | -7/+0 |
| | | | | | | | InstCombine/vec_insert_to_shuffle.ll llvm-svn: 33705 | ||||
| * | eliminate temporary vectors | Chris Lattner | 2007-01-31 | 2 | -8/+13 |
| | | | | | llvm-svn: 33693 | ||||
| * | Move symbolic constant folding code to libanalysis. | Chris Lattner | 2007-01-31 | 1 | -106/+0 |
| | | | | | llvm-svn: 33688 | ||||
| * | Adjust #includes to match movement of constant folding code from ↵ | Chris Lattner | 2007-01-30 | 8 | -7/+10 |
| | | | | | | | transformutils to libanalysis. llvm-svn: 33680 | ||||

