aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO
AgeCommit message (Expand)Author
2012-08-03Move the "findUsedStructTypes" functionality outside of the Module class.Bill Wendling
2012-07-25It's not safe to blindly remove invoke instructions. This happens when weNick Lewycky
2012-07-24Don't delete one more instruction than we're allowed to. This should fix theNick Lewycky
2012-07-24Teach globalopt to not nuke all stores to globals. Keep them around of theyNick Lewycky
2012-07-21Revert r160602.Nick Lewycky
2012-07-21Teach globalopt to play nice with leak checkers. This is a reapplication ofNick Lewycky
2012-07-19Revert r160529 due to crashes.Nick Lewycky
2012-07-19Don't wipe out global variables that are probably storing pointers to heapNick Lewycky
2012-07-19Replace some explicit compare loops with std::equal.Benjamin Kramer
2012-07-19Remove tabs.Bill Wendling
2012-07-02GlobalOpt forgot to handle bitcast when analyzing globals. Found by inspection.Duncan Sands
2012-06-29Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth
2012-06-28Move lib/Analysis/DebugInfo.cpp to lib/VMCore/DebugInfo.cpp andBill Wendling
2012-06-27Revert r159136 due to PR13124.Matt Beaumont-Gay
2012-06-25If a constant or a function has linkonce_odr linkage and unnamed_addr, mark itRafael Espindola
2012-06-24llvm/lib: [CMake] Add explicit dependency to intrinsics_gen.NAKAMURA Takumi
2012-06-24Tab to spaces. No functionality change.Nick Lewycky
2012-06-23Extend the IL for selecting TLS models (PR9788)Hans Wennborg
2012-06-22fix whitespace in my last commit.Nuno Lopes
2012-06-22remove extractMallocCallFromBitCast, since it was tailor maded for its sole u...Nuno Lopes
2012-06-15Some optimizations done by globalopt are safe only for internal linkage, notRafael Espindola
2012-06-14Implement the isSafeToDiscardIfUnused predicate and use it in globalopt andRafael Espindola
2012-06-02Fix typos found by http://github.com/lyda/misspell-checkBenjamin Kramer
2012-05-28switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients.Chris Lattner
2012-05-23Fix the inliner so that the optsize function attribute don't alter thePatrik Hägglund
2012-05-12Teach Function::hasAddressTaken that BlockAddress doesn't really takeJay Foad
2012-05-04Move the CodeExtractor utility to a dedicated header file / source file,Chandler Carruth
2012-04-16Add a Fixme.Bill Wendling
2012-04-13By default, use Early-CSE instead of GVN for vectorization cleanup.Hal Finkel
2012-04-13Code-gen may inject code into the IR before it emits the ASM. The linkerBill Wendling
2012-04-11Add two statistics to help track how we are computing the inline cost.Chandler Carruth
2012-04-02Add an option to turn off the expensive GVN load PRE part of GVN.Bill Wendling
2012-04-01Belatedly address some code review from Chris.Chandler Carruth
2012-04-01Fix a pretty scary bug I introduced into the always inliner withChandler Carruth
2012-03-31Give the always-inliner its own custom filter. It shouldn't have to payChandler Carruth
2012-03-31Remove a bunch of empty, dead, and no-op methods from all of theseChandler Carruth
2012-03-31Initial commit for the rewrite of the inline cost analysis to operateChandler Carruth
2012-03-31Internalize: Remove reference of @llvm.noinline, it was replaced with the noi...Benjamin Kramer
2012-03-28GlobalOpt: If we have an inbounds GEP from a ConstantAggregateZero global tha...Benjamin Kramer
2012-03-27Make a seemingly tiny change to the inliner and fix the generated codeChandler Carruth
2012-03-25Move the instruction simplification of callsite arguments in the inlinerChandler Carruth
2012-03-23add EP_OptimizerLast extension pointKostya Serebryany
2012-03-16Rip out support for 'llvm.noinline'. This thing has a strange history...Chandler Carruth
2012-03-16Start removing the use of an ad-hoc 'never inline' set and insteadChandler Carruth
2012-03-14Change where we enable the heuristic that delays inlining into functionsChandler Carruth
2012-03-13Teach globalopt how to evaluate an invoke with a non-void return type.Dan Gohman
2012-03-12When inlining a function and adding its inner call sites to theChandler Carruth
2012-03-08Taken into account Duncan's comments for r149481 dated by 2nd Feb 2012:Stepan Dyatkovskiy
2012-02-27Plog a memleak in GlobalOpt.Benjamin Kramer
2012-02-25Add comment.Chad Rosier