aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/IPO/GlobalOpt.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Revert r136253, r136263, r136269, r136313, r136325, r136326, r136329, r136338,Bill Wendling2011-07-301-1/+1
* Merge the contents from exception-handling-rewrite to the mainline.Bill Wendling2011-07-271-1/+1
* Convert GetElementPtrInst to use ArrayRef.Jay Foad2011-07-251-3/+2
* Fix more MSVC warnings caused by a cases I missed when convertingJay Foad2011-07-221-1/+1
* Make better use of ConstantExpr::getGetElementPtr's InBounds parameter.Jay Foad2011-07-211-3/+3
* Convert ConstantExpr::getGetElementPtr andJay Foad2011-07-211-6/+4
* move tier out of an anonymous namespace, it doesn't make senseChris Lattner2011-07-211-5/+3
* Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall.Jay Foad2011-07-191-2/+1
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-40/+40
* Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner2011-06-201-39/+39
* Don't crash owhen ComputeLoadResult can't compute the result of the load.Nick Lewycky2011-05-291-1/+1
* Obey the isVolatile bit on memory intrinsics when analyzing uses of a globalNick Lewycky2011-05-291-5/+19
* fix PR9856, an incorrectly conservative assertion: a global can beChris Lattner2011-05-221-3/+3
* Just because a GlobalVariable's initializer is [N x { i32, void ()* }] doesn'tNick Lewycky2011-04-111-7/+10
* Don't include Operator.h from InstrTypes.h.Jay Foad2011-04-111-0/+1
* Add back a couple checks removed by r129128; the fact that an intitializerEli Friedman2011-04-091-4/+6