aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO
AgeCommit message (Expand)Author
2011-05-13Fix a source of non determinism in FindUsedTypes, use a SetVector instead of aJulien Lerouge
2011-05-10Preserve line number information.Devang Patel
2011-04-23Remove unused STL header includes.Jay Foad
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2011-04-11remove the StructRetPromotion pass. It is unused, not maintained andChris Lattner
2011-04-11Just because a GlobalVariable's initializer is [N x { i32, void ()* }] doesn'tNick Lewycky
2011-04-11Don't include Operator.h from InstrTypes.h.Jay Foad
2011-04-09Add back a couple checks removed by r129128; the fact that an intitializerEli Friedman
2011-04-08llvm.global_[cd]tor is defined to be either external, or appending with an arrayNick Lewycky
2011-04-04Remove some support for ReturnInsts with multiple operands, and forJay Foad
2011-03-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad
2011-03-30(Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad
2011-03-25No functionality change, just adjust some whitespace for coding style complia...Nick Lewycky
2011-03-22Handle another case that Frits suggested.Anders Carlsson
2011-03-21More cleanups to the OptimizeEmptyGlobalCXXDtors GlobalOpt function.Anders Carlsson
2011-03-21As suggested by Nick Lewycky, ignore debugging intrinsics when trying to deci...Anders Carlsson
2011-03-21Fix commentsNick Lewycky
2011-03-20Don't try to eliminate invokes to __cxa_atexit.Anders Carlsson
2011-03-20Don't segfault on mutual recursion, as pointed out by Frits.Anders Carlsson
2011-03-20Address comments from Frits van Bommel.Anders Carlsson
2011-03-20Add an optimization to GlobalOpt that eliminates calls to __cxa_atexit, if th...Anders Carlsson
2011-03-09These llvm.dbg.* constants are not used anymore.Devang Patel
2011-03-06Don't internalize available_externally functions. We already did the rightRafael Espindola
2011-03-01Add an obvious missing safety check to DAE::RemoveDeadArgumentsFromCallers.Eli Friedman
2011-02-20Instead of keeping two Value*->id# mappings, keep one Value->Value mapping andNick Lewycky
2011-02-15convert ConstantVector::get to use ArrayRef.Chris Lattner
2011-02-14revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner
2011-02-14Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner
2011-02-09When removing a function from the function set and adding it to deferred, weNick Lewycky
2011-02-06Simplify away redundant test, and document what's going on.Nick Lewycky
2011-02-06Remove specialized comparison of InlineAsm objects. They're uniqued on creationNick Lewycky
2011-02-02Remove wasteful caching. This isn't needed for correctness because any functionNick Lewycky
2011-01-28Rename functions to follow coding standard. Also rejiggers comments. NoNick Lewycky
2011-01-28Add a doxygen comment for this class.Nick Lewycky
2011-01-28Reorder for readability. (Chris, is this what you meant?)Nick Lewycky
2011-01-28Reduce the number of functions we look at in the first pass, and preallocateNick Lewycky
2011-01-27Unbreak the build.Benjamin Kramer
2011-01-27Expound upon this comparison!Nick Lewycky
2011-01-27Use dyn_cast instead of isa+cast.Nick Lewycky
2011-01-27Fix surprising missed optimization in mergefunc where we forgot to considerNick Lewycky
2011-01-26AttrListPtr has an overloaded operator== which does this for us, we should useNick Lewycky
2011-01-26Teach mergefunc that intptr_t is the same width as a pointer. We still can'tNick Lewycky
2011-01-26There are no vectors of pointer or arrays, so we don't need to check vectorNick Lewycky
2011-01-25Teach mergefunc how to emit aliases safely again -- but keep it turned it offNick Lewycky
2011-01-19Add unnamed_addr when we can show that address of a global is not used.Rafael Espindola
2011-01-18Reduce indentation and remove commented out code.Rafael Espindola
2011-01-16Teach DAE to look for functions whose arguments are unused, and change all ca...Anders Carlsson
2011-01-16Don't merge two constants if we care about the address of both.Rafael Espindola
2011-01-16fix PR8932, a case where arg promotion could infinitely promote.Chris Lattner
2011-01-16Improve the safety of my globalopt enhancement by ensuring that the bitcastOwen Anderson