aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/GlobalOpt.cpp
AgeCommit message (Expand)Author
2012-08-29Make MemoryBuiltins aware of TargetLibraryInfo.Benjamin Kramer
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-02GlobalOpt forgot to handle bitcast when analyzing globals. Found by inspection.Duncan Sands
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-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-05-12Teach Function::hasAddressTaken that BlockAddress doesn't really takeJay Foad
2012-03-28GlobalOpt: If we have an inbounds GEP from a ConstantAggregateZero global tha...Benjamin Kramer
2012-03-13Teach globalopt how to evaluate an invoke with a non-void return type.Dan Gohman
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-23GCC fails to understand that NextBB is always initialized if EvaluateBlockDuncan Sands
2012-02-21Use the target-aware constant folder on expressions to improve the chanceNick Lewycky
2012-02-20Check for the correct size in the invariant marker.Nick Lewycky
2012-02-20Rename class Evaluate to Evaluator and put it in an anonymous namespace.Nick Lewycky
2012-02-19Move EvaluateFunction and EvaluateBlock into a class, and make the class storeNick Lewycky
2012-02-17Add support for invariant.start inside the static constructor evaluator. This isNick Lewycky
2012-02-12Handle InvokeInst in EvaluateBlock. Don't try to support exceptions, it's justNick Lewycky
2012-02-12false is totally null!Nick Lewycky
2012-02-12Remove redundant getAnalysis<> calls in GlobalOpt. Add a few Itanium ABI callsNick Lewycky
2012-02-12Pass TargetData and TargetLibraryInfo through to the constant folder. Fixes aNick Lewycky
2012-02-12Fix function name in comment to match actual name. Fix comments that are usingNick Lewycky
2012-02-12Don't traverse the PHI nodes twice. No functionality change!Nick Lewycky
2012-02-09Tweak comment readability and grammar.Benjamin Kramer
2012-02-09GlobalOpt: Be more aggressive about elminating side-effect free static dtors.Benjamin Kramer
2012-02-06Split part of EvaluateFunction into a new EvaluateBlock method. No functionalityNick Lewycky
2012-02-05Teach GlobalOpt to handle atomic accesses to globals.Nick Lewycky
2012-02-05Clean up some whitespace and comments. No functionality change.Nick Lewycky
2012-02-01SwitchInst refactoring.Stepan Dyatkovskiy
2012-01-27continue making the world safe for ConstantDataVector. At this point,Chris Lattner
2012-01-26Continue improving support for ConstantDataAggregate, and use theChris Lattner
2012-01-25use Constant::getAggregateElement to simplify a bunch of code.Chris Lattner
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie
2012-01-05PR11705, part 2: globalopt shouldn't put inttoptr/ptrtoint operations into gl...Eli Friedman
2011-12-02Fix a few more places where TargetData/TargetLibraryInfo is not being passed.Chad Rosier
2011-12-01Last bit of TargetLibraryInfo propagation. Also fixed a case for TargetDataChad Rosier
2011-10-20Refactor code from inlining and globalopt that checks whether a function defi...Eli Friedman
2011-09-27Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer
2011-08-16Minor comment fixes.Eli Friedman