summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
Commit message (Collapse)AuthorAgeFilesLines
* Do not unswitch loop on same value again and again.Devang Patel2007-02-261-0/+7
| | | | llvm-svn: 34638
* Fix InstCombine/2007-02-23-PhiFoldInfLoop.ll and PR1217Chris Lattner2007-02-241-1/+2
| | | | llvm-svn: 34546
* fix an obscure and tricky bug the inliner can hit sometimes.Chris Lattner2007-02-231-1/+1
| | | | llvm-svn: 34531
* Revert changes for a simplier solution.Jim Laskey2007-02-221-50/+36
| | | | llvm-svn: 34495
* Itanium ABI exception handing support.Jim Laskey2007-02-211-36/+50
| | | | llvm-svn: 34480
* Fix typos in comments.Dan Gohman2007-02-201-1/+1
| | | | llvm-svn: 34456
* remove reoptimizer-specific passesChris Lattner2007-02-202-206/+0
| | | | llvm-svn: 34439
* eliminate use of deprecated apisChris Lattner2007-02-193-5/+8
| | | | llvm-svn: 34417
* fix commentChris Lattner2007-02-181-1/+1
| | | | llvm-svn: 34395
* simplify pass, delete dead gvar protos as well.Chris Lattner2007-02-181-16/+21
| | | | llvm-svn: 34394
* convert more vectors to smallvectors, 2.8% speedupChris Lattner2007-02-151-3/+3
| | | | llvm-svn: 34333
* change some vectors to smallvectors. This speeds up instcombine on 447.dealIIChris Lattner2007-02-151-3/+3
| | | | | | by 5%. llvm-svn: 34332
* switch an std::set to a SmallPtr set, this speeds up instcombine by 9.5%Chris Lattner2007-02-151-3/+4
| | | | | | on 447.dealII llvm-svn: 34323
* For PR1195:Reid Spencer2007-02-152-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 Spencer2007-02-151-1/+1
| | | | llvm-svn: 34298
* For PR1195:Reid Spencer2007-02-157-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 Lattner2007-02-141-12/+13
| | | | | | Patch by Scott Michel. llvm-svn: 34266
* eliminate a bunch of vector-related heap trafficChris Lattner2007-02-131-47/+53
| | | | llvm-svn: 34222
* Eliminate use of ctors that take vectors.Chris Lattner2007-02-1312-59/+60
| | | | llvm-svn: 34219
* stop using methods that take vectors.Chris Lattner2007-02-126-17/+27
| | | | llvm-svn: 34205
* Switch ValueSymbolTable to use StringMap<Value*> instead of ↵Chris Lattner2007-02-121-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::takeNameChris Lattner2007-02-114-32/+26
| | | | llvm-svn: 34177
* Simplify code by using value::takenameChris Lattner2007-02-116-71/+61
| | | | llvm-svn: 34176
* simplify name juggling through the use of Value::takeName.Chris Lattner2007-02-116-34/+23
| | | | llvm-svn: 34175
* Privatize StructLayout::MemberOffsets, adding an accessorChris Lattner2007-02-102-2/+3
| | | | llvm-svn: 34156
* Fix Transforms/DeadArgElim/2007-02-07-FuncRename.ll, fallout from PR411.Chris Lattner2007-02-071-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 intoChris Lattner2007-02-071-2/+23
| | | | | | the one IPO pass that uses it. llvm-svn: 33990
* redesign the primary datastructure used by mem2reg to eliminate anChris Lattner2007-02-071-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 fromChris Lattner2007-02-051-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 inReid Spencer2007-02-0546-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 Lattner2007-02-051-3/+3
| | | | | | but paves the way to eliminate BBNumbers. llvm-svn: 33938
* This file should have been removed when -raise was removed. It isn'tReid Spencer2007-02-051-134/+0
| | | | | | used any more. llvm-svn: 33937
* Switch InsertedPHINodes back to SmallPtrSet now that the SmallPtrSet::eraseChris Lattner2007-02-051-6/+6
| | | | | | bug is fixed. llvm-svn: 33932
* switch a SmallPtrSet back to an std::set for now, this caused problems.Chris Lattner2007-02-051-6/+6
| | | | llvm-svn: 33930
* switch an std::set over to a SmallPtrSet, speeding up mem2reg 6% on 176.gcc.Chris Lattner2007-02-051-1/+1
| | | | llvm-svn: 33929
* switch an std::set over to SmallPtrSet, speeding up mem2reg 3.4% on 176.gcc.Chris Lattner2007-02-051-16/+13
| | | | llvm-svn: 33928
* eliminate some malloc traffic, this speeds up mem2reg by 3.4%.Chris Lattner2007-02-051-5/+8
| | | | llvm-svn: 33927
* Add missing and needed #include.Reid Spencer2007-02-051-0/+1
| | | | llvm-svn: 33926
* Make the class VISIBILITY_HIDDEN.Reid Spencer2007-02-051-3/+3
| | | | | | Reduce lexical size of the anonymous namespace. llvm-svn: 33925
* For PR411:Reid Spencer2007-02-059-18/+18
| | | | | | | | Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) llvm-svn: 33922
* For PR411:Reid Spencer2007-02-054-40/+58
| | | | | | | | | | This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. llvm-svn: 33918
* For PR411:Reid Spencer2007-02-051-363/+0
| | | | | | This pass is no longer needed. llvm-svn: 33917
* Create a pass to strip dead function declarations (prototypes). This isReid Spencer2007-02-051-0/+61
| | | | | | for use by llvm-extract and bugpoint. llvm-svn: 33916
* Fix miscompilations of consumer-typeset, telecomm-gsm, and 176.gcc.Chris Lattner2007-02-051-6/+6
| | | | llvm-svn: 33902
* For PR1177:Reid Spencer2007-02-051-4/+4
| | | | | | Revert last patch which caused iteration invalidation. llvm-svn: 33901
* fix a miscompilation of 176.gccChris Lattner2007-02-051-2/+2
| | | | llvm-svn: 33900
* Use DenseMap for pointer->pointer maps.Owen Anderson2007-02-051-4/+4
| | | | llvm-svn: 33897
* rewrite shift/shift folding, now that types are not signed.Chris Lattner2007-02-051-74/+103
| | | | llvm-svn: 33892
* Fix indenting, remove tabs.Nick Lewycky2007-02-041-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 Spencer2007-02-044-1/+4
| | | | | | | 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
OpenPOWER on IntegriCloud