aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/GlobalOpt.cpp
AgeCommit message (Expand)Author
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
2011-08-15Update inter-procedural optimizations for atomic load/store.Eli Friedman
2011-07-31Add the 'resume' instruction for the new EH rewrite.Bill Wendling
2011-07-30Revert r136253, r136263, r136269, r136313, r136325, r136326, r136329, r136338,Bill Wendling
2011-07-27Merge the contents from exception-handling-rewrite to the mainline.Bill Wendling
2011-07-25Convert GetElementPtrInst to use ArrayRef.Jay Foad
2011-07-22Fix more MSVC warnings caused by a cases I missed when convertingJay Foad
2011-07-21Make better use of ConstantExpr::getGetElementPtr's InBounds parameter.Jay Foad
2011-07-21Convert ConstantExpr::getGetElementPtr andJay Foad
2011-07-21move tier out of an anonymous namespace, it doesn't make senseChris Lattner
2011-07-19Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall.Jay Foad
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-06-20Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner
2011-05-29Don't crash owhen ComputeLoadResult can't compute the result of the load.Nick Lewycky
2011-05-29Obey the isVolatile bit on memory intrinsics when analyzing uses of a globalNick Lewycky