aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/IPO
Commit message (Expand)AuthorAgeFilesLines
* remove the StructRetPromotion pass. It is unused, not maintained andChris Lattner2011-04-113-359/+0
* Just because a GlobalVariable's initializer is [N x { i32, void ()* }] doesn'tNick Lewycky2011-04-111-7/+10
* Don't include Operator.h from InstrTypes.h.Jay Foad2011-04-112-0/+2
* Add back a couple checks removed by r129128; the fact that an intitializerEli Friedman2011-04-091-4/+6
* llvm.global_[cd]tor is defined to be either external, or appending with an arrayNick Lewycky2011-04-081-20/+5
* Remove some support for ReturnInsts with multiple operands, and forJay Foad2011-04-041-1/+1
* Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad2011-03-303-5/+3
* (Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad2011-03-303-1/+5
* No functionality change, just adjust some whitespace for coding style complia...Nick Lewycky2011-03-251-2/+2
* Handle another case that Frits suggested.Anders Carlsson2011-03-221-2/+4
* More cleanups to the OptimizeEmptyGlobalCXXDtors GlobalOpt function.Anders Carlsson2011-03-211-15/+9
* As suggested by Nick Lewycky, ignore debugging intrinsics when trying to deci...Anders Carlsson2011-03-211-0/+7
* Fix commentsNick Lewycky2011-03-211-2/+2
* Don't try to eliminate invokes to __cxa_atexit.Anders Carlsson2011-03-201-0/+6
* Don't segfault on mutual recursion, as pointed out by Frits.Anders Carlsson2011-03-201-4/+6
* Address comments from Frits van Bommel.Anders Carlsson2011-03-201-7/+16
* Add an optimization to GlobalOpt that eliminates calls to __cxa_atexit, if th...Anders Carlsson2011-03-201-0/+101
* These llvm.dbg.* constants are not used anymore.Devang Patel2011-03-091-3/+0
* Don't internalize available_externally functions. We already did the rightRafael Espindola2011-03-061-0/+2
* Add an obvious missing safety check to DAE::RemoveDeadArgumentsFromCallers.Eli Friedman2011-03-011-1/+1
* Instead of keeping two Value*->id# mappings, keep one Value->Value mapping andNick Lewycky2011-02-201-12/+14
* convert ConstantVector::get to use ArrayRef.Chris Lattner2011-02-151-2/+1
* revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner2011-02-141-1/+2
* Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner2011-02-141-2/+1
* When removing a function from the function set and adding it to deferred, weNick Lewycky2011-02-091-2/+19
* Simplify away redundant test, and document what's going on.Nick Lewycky2011-02-061-2/+5
* Remove specialized comparison of InlineAsm objects. They're uniqued on creationNick Lewycky2011-02-061-6/+2
* Remove wasteful caching. This isn't needed for correctness because any functionNick Lewycky2011-02-021-23/+2
* Rename functions to follow coding standard. Also rejiggers comments. NoNick Lewycky2011-01-281-89/+88
* Add a doxygen comment for this class.Nick Lewycky2011-01-281-0/+2
* Reorder for readability. (Chris, is this what you meant?)Nick Lewycky2011-01-281-148/+150
* Reduce the number of functions we look at in the first pass, and preallocateNick Lewycky2011-01-281-1/+3
* Unbreak the build.Benjamin Kramer2011-01-271-1/+1
* Expound upon this comparison!Nick Lewycky2011-01-271-0/+2
* Use dyn_cast instead of isa+cast.Nick Lewycky2011-01-271-2/+1
* Fix surprising missed optimization in mergefunc where we forgot to considerNick Lewycky2011-01-271-3/+12
* AttrListPtr has an overloaded operator== which does this for us, we should useNick Lewycky2011-01-261-4/+2
* Teach mergefunc that intptr_t is the same width as a pointer. We still can'tNick Lewycky2011-01-261-1/+7
* There are no vectors of pointer or arrays, so we don't need to check vectorNick Lewycky2011-01-261-7/+1
* Teach mergefunc how to emit aliases safely again -- but keep it turned it offNick Lewycky2011-01-251-25/+79
* Add unnamed_addr when we can show that address of a global is not used.Rafael Espindola2011-01-191-13/+42
* Reduce indentation and remove commented out code.Rafael Espindola2011-01-181-122/+101
* Teach DAE to look for functions whose arguments are unused, and change all ca...Anders Carlsson2011-01-161-1/+61
* Don't merge two constants if we care about the address of both.Rafael Espindola2011-01-161-22/+38
* fix PR8932, a case where arg promotion could infinitely promote.Chris Lattner2011-01-161-24/+51
* Improve the safety of my globalopt enhancement by ensuring that the bitcastOwen Anderson2011-01-161-12/+22
* simplify this code, it is still broken but will follow up on llvm-commits.Chris Lattner2011-01-161-15/+5
* remove the partial specialization pass. It is unmaintained and has bugs.Chris Lattner2011-01-163-230/+0
* Add missing whitespace.Nick Lewycky2011-01-151-2/+2
* Make constmerge a two-pass algorithm so that it won't miss mergingNick Lewycky2011-01-151-4/+34