aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/IPO/GlobalOpt.cpp
Commit message (Expand)AuthorAgeFilesLines
* Don't delete one more instruction than we're allowed to. This should fix theNick Lewycky2012-07-241-1/+3
* Teach globalopt to not nuke all stores to globals. Keep them around of theyNick Lewycky2012-07-241-8/+177
* Revert r160602.Nick Lewycky2012-07-211-177/+8
* Teach globalopt to play nice with leak checkers. This is a reapplication ofNick Lewycky2012-07-211-8/+177
* Revert r160529 due to crashes.Nick Lewycky2012-07-191-171/+8
* Don't wipe out global variables that are probably storing pointers to heapNick Lewycky2012-07-191-8/+171
* GlobalOpt forgot to handle bitcast when analyzing globals. Found by inspection.Duncan Sands2012-07-021-0/+2
* Revert r159136 due to PR13124.Matt Beaumont-Gay2012-06-271-11/+0
* If a constant or a function has linkonce_odr linkage and unnamed_addr, mark itRafael Espindola2012-06-251-0/+11
* Tab to spaces. No functionality change.Nick Lewycky2012-06-241-1/+1
* Extend the IL for selecting TLS models (PR9788)Hans Wennborg2012-06-231-7/+7
* fix whitespace in my last commit.Nuno Lopes2012-06-221-1/+1
* remove extractMallocCallFromBitCast, since it was tailor maded for its sole u...Nuno Lopes2012-06-221-2/+4
* Some optimizations done by globalopt are safe only for internal linkage, notRafael Espindola2012-06-151-0/+3
* Implement the isSafeToDiscardIfUnused predicate and use it in globalopt andRafael Espindola2012-06-141-1/+1
* Teach Function::hasAddressTaken that BlockAddress doesn't really takeJay Foad2012-05-121-0/+4
* GlobalOpt: If we have an inbounds GEP from a ConstantAggregateZero global tha...Benjamin Kramer2012-03-281-0/+6
* Teach globalopt how to evaluate an invoke with a non-void return type.Dan Gohman2012-03-131-5/+6
* Taken into account Duncan's comments for r149481 dated by 2nd Feb 2012:Stepan Dyatkovskiy2012-03-081-2/+1
* Plog a memleak in GlobalOpt.Benjamin Kramer2012-02-271-1/+1
* GCC fails to understand that NextBB is always initialized if EvaluateBlockDuncan Sands2012-02-231-1/+1
* Use the target-aware constant folder on expressions to improve the chanceNick Lewycky2012-02-211-2/+9
* Check for the correct size in the invariant marker.Nick Lewycky2012-02-201-4/+7
* Rename class Evaluate to Evaluator and put it in an anonymous namespace.Nick Lewycky2012-02-201-12/+17
* Move EvaluateFunction and EvaluateBlock into a class, and make the class storeNick Lewycky2012-02-191-122/+137
* Add support for invariant.start inside the static constructor evaluator. This isNick Lewycky2012-02-171-12/+47
* Handle InvokeInst in EvaluateBlock. Don't try to support exceptions, it's justNick Lewycky2012-02-121-9/+14
* false is totally null!Nick Lewycky2012-02-121-1/+1
* Remove redundant getAnalysis<> calls in GlobalOpt. Add a few Itanium ABI callsNick Lewycky2012-02-121-10/+8
* Pass TargetData and TargetLibraryInfo through to the constant folder. Fixes aNick Lewycky2012-02-121-25/+37
* Fix function name in comment to match actual name. Fix comments that are usingNick Lewycky2012-02-121-15/+15
* Don't traverse the PHI nodes twice. No functionality change!Nick Lewycky2012-02-121-7/+6
* Tweak comment readability and grammar.Benjamin Kramer2012-02-091-2/+2
* GlobalOpt: Be more aggressive about elminating side-effect free static dtors.Benjamin Kramer2012-02-091-4/+5
* Split part of EvaluateFunction into a new EvaluateBlock method. No functionalityNick Lewycky2012-02-061-57/+95
* Teach GlobalOpt to handle atomic accesses to globals.Nick Lewycky2012-02-051-13/+40
* Clean up some whitespace and comments. No functionality change.Nick Lewycky2012-02-051-13/+13
* SwitchInst refactoring.Stepan Dyatkovskiy2012-02-011-1/+2
* continue making the world safe for ConstantDataVector. At this point,Chris Lattner2012-01-271-1/+1
* Continue improving support for ConstantDataAggregate, and use theChris Lattner2012-01-261-28/+5
* use Constant::getAggregateElement to simplify a bunch of code.Chris Lattner2012-01-251-36/+2
* More dead code removal (using -Wunreachable-code)David Blaikie2012-01-201-1/+0
* PR11705, part 2: globalopt shouldn't put inttoptr/ptrtoint operations into gl...Eli Friedman2012-01-051-10/+20
* Fix a few more places where TargetData/TargetLibraryInfo is not being passed.Chad Rosier2011-12-021-2/+5
* Last bit of TargetLibraryInfo propagation. Also fixed a case for TargetDataChad Rosier2011-12-011-9/+17
* Refactor code from inlining and globalopt that checks whether a function defi...Eli Friedman2011-10-201-1/+1
* Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer2011-09-271-2/+1
* Minor comment fixes.Eli Friedman2011-08-161-4/+6
* Update inter-procedural optimizations for atomic load/store.Eli Friedman2011-08-151-4/+4
* Add the 'resume' instruction for the new EH rewrite.Bill Wendling2011-07-311-1/+1