aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO
AgeCommit message (Expand)Author
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
2011-01-16simplify this code, it is still broken but will follow up on llvm-commits.Chris Lattner
2011-01-16remove the partial specialization pass. It is unmaintained and has bugs.Chris Lattner
2011-01-15Add missing whitespace.Nick Lewycky
2011-01-15Make constmerge a two-pass algorithm so that it won't miss mergingNick Lewycky
2011-01-15Try to unbreak selfhost.Benjamin Kramer
2011-01-15Add a cache that protects mergefunc's internals from more surprises in DenseSet.Nick Lewycky
2011-01-14Fix a false-positive warning.Owen Anderson
2011-01-14Enhance GlobalOpt to be able evaluate initializers that involve stores throughOwen Anderson
2011-01-04Improve the accuracy of the inlining heuristic looking for theDale Johannesen
2011-01-02Also remove functions that use complex constant expressions in terms ofNick Lewycky
2011-01-02Remove functions from the FnSet when one of their callee's is being merged. ThisNick Lewycky
2011-01-01fix a globalopt crash on two Adobe-C++ testcases that the recentChris Lattner
2010-12-07reapply r121100 with a tweak to constant fold ConstExprs with TargetDataChris Lattner
2010-12-07Temporarily revert r121100 as it's causing clang to failEric Christopher
2010-12-07fix PR8710 - teach global opt that some constantexprs are too complex toChris Lattner
2010-12-06replace a linear scan with a symtab lookup, reduce indentation.Chris Lattner
2010-12-06Fix PR8735, a really terrible problem in the inliner's "alloca merging"Chris Lattner
2010-12-06improve -debug output and comments a little.Chris Lattner
2010-11-11Add helper functions for computing the Location of load, store,Dan Gohman
2010-11-11Factor out Instruction::isSafeToSpeculativelyExecute's code forDan Gohman
2010-11-11TBAA-enable ArgumentPromotion.Dan Gohman
2010-11-10Add a doesAccessArgPointees helper function, and update code to useDan Gohman