| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Use APInt safe isOne() method on ConstantInt instead of getZExtValue()==1 | Reid Spencer | 2007-03-02 | 1 | -1/+1 | |
| | | | | | llvm-svn: 34854 | |||||
| * | Make sorting of ConstantInt be APInt clean through use of ult function. | Reid Spencer | 2007-03-02 | 1 | -1/+1 | |
| | | | | | llvm-svn: 34853 | |||||
| * | 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 | |||||
| * | switch the inliner from being recursive to being iterative. | Chris Lattner | 2007-03-02 | 1 | -6/+14 | |
| | | | | | llvm-svn: 34832 | |||||
| * | 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 | 6 | -29/+33 | |
| | | | | | | | 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 | |||||
| * | Use APInt conversion to string so the result is correct regardless of the | Reid Spencer | 2007-03-01 | 1 | -1/+1 | |
| | | | | | | | bit width of the ConstantInt being converted. llvm-svn: 34810 | |||||
| * | 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 | |||||
| * | fix an obscure and tricky bug the inliner can hit sometimes. | Chris Lattner | 2007-02-23 | 1 | -1/+1 | |
| | | | | | llvm-svn: 34531 | |||||
| * | Revert changes for a simplier solution. | Jim Laskey | 2007-02-22 | 1 | -50/+36 | |
| | | | | | llvm-svn: 34495 | |||||
| * | Itanium ABI exception handing support. | Jim Laskey | 2007-02-21 | 1 | -36/+50 | |
| | | | | | llvm-svn: 34480 | |||||
| * | Fix typos in comments. | Dan Gohman | 2007-02-20 | 1 | -1/+1 | |
| | | | | | llvm-svn: 34456 | |||||
| * | remove reoptimizer-specific passes | Chris Lattner | 2007-02-20 | 2 | -206/+0 | |
| | | | | | llvm-svn: 34439 | |||||
| * | eliminate use of deprecated apis | Chris Lattner | 2007-02-19 | 3 | -5/+8 | |
| | | | | | llvm-svn: 34417 | |||||
| * | fix comment | Chris Lattner | 2007-02-18 | 1 | -1/+1 | |
| | | | | | llvm-svn: 34395 | |||||
| * | simplify pass, delete dead gvar protos as well. | Chris Lattner | 2007-02-18 | 1 | -16/+21 | |
| | | | | | llvm-svn: 34394 | |||||
| * | 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 | 7 | -74/+74 | |
| | | | | | | | | 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 a bunch of vector-related heap traffic | Chris Lattner | 2007-02-13 | 1 | -47/+53 | |
| | | | | | llvm-svn: 34222 | |||||
| * | Eliminate use of ctors that take vectors. | Chris Lattner | 2007-02-13 | 12 | -59/+60 | |
| | | | | | llvm-svn: 34219 | |||||
| * | stop using methods that take vectors. | Chris Lattner | 2007-02-12 | 6 | -17/+27 | |
| | | | | | llvm-svn: 34205 | |||||
| * | Switch ValueSymbolTable to use StringMap<Value*> instead of ↵ | Chris Lattner | 2007-02-12 | 1 | -1/+1 | |
| | | | | | | | | | | std::map<std::string, Value*> as its main datastructure. There are many improvements yet to be made, but this speeds up opt --std-compile-opts on 447.dealII by 7.3%. llvm-svn: 34193 | |||||
| * | simplify code by using Value::takeName | Chris Lattner | 2007-02-11 | 4 | -32/+26 | |
| | | | | | llvm-svn: 34177 | |||||
| * | Simplify code by using value::takename | Chris Lattner | 2007-02-11 | 6 | -71/+61 | |
| | | | | | llvm-svn: 34176 | |||||
| * | simplify name juggling through the use of Value::takeName. | Chris Lattner | 2007-02-11 | 6 | -34/+23 | |
| | | | | | llvm-svn: 34175 | |||||
| * | Privatize StructLayout::MemberOffsets, adding an accessor | Chris Lattner | 2007-02-10 | 2 | -2/+3 | |
| | | | | | llvm-svn: 34156 | |||||
| * | Fix Transforms/DeadArgElim/2007-02-07-FuncRename.ll, fallout from PR411. | Chris Lattner | 2007-02-07 | 1 | -2/+4 | |
| | | | | | | | | | | This happened because deadargelim now causes VMCore to auto-rename every function that it hacks arguments out of. Because it hacks arguments out of functions in a non-deterministic order, this caused the resultant numbering to be nondet. The fix is to just be careful to not rename functions! llvm-svn: 34005 | |||||
| * | shrink vmcore by moving symbol table stripping support out of VMCore into | Chris Lattner | 2007-02-07 | 1 | -2/+23 | |
| | | | | | | | the one IPO pass that uses it. llvm-svn: 33990 | |||||
| * | redesign the primary datastructure used by mem2reg to eliminate an | Chris Lattner | 2007-02-07 | 1 | -103/+156 | |
| | | | | | | | std::map of std::vector's (ouch!). This speeds up mem2reg by 10% on 176.gcc. llvm-svn: 33974 | |||||
| * | With the last change, we no longer need both directions of mapping from | Chris Lattner | 2007-02-05 | 1 | -4/+8 | |
| | | | | | | | | | BBNumbers. Instead of using a bi-directional mapping, just use a single densemap. This speeds up mem2reg on 176.gcc by 8%, from 1.3489 to 1.2485s. llvm-svn: 33940 | |||||
| * | Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes in | Reid Spencer | 2007-02-05 | 46 | -97/+146 | |
| | | | | | | | | 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 | |||||
| * | Simplify use of DFBlocks, this makes no noticable performance difference, | Chris Lattner | 2007-02-05 | 1 | -3/+3 | |
| | | | | | | | but paves the way to eliminate BBNumbers. llvm-svn: 33938 | |||||
| * | This file should have been removed when -raise was removed. It isn't | Reid Spencer | 2007-02-05 | 1 | -134/+0 | |
| | | | | | | | used any more. llvm-svn: 33937 | |||||
| * | Switch InsertedPHINodes back to SmallPtrSet now that the SmallPtrSet::erase | Chris Lattner | 2007-02-05 | 1 | -6/+6 | |
| | | | | | | | bug is fixed. llvm-svn: 33932 | |||||
| * | switch a SmallPtrSet back to an std::set for now, this caused problems. | Chris Lattner | 2007-02-05 | 1 | -6/+6 | |
| | | | | | llvm-svn: 33930 | |||||

