summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/GlobalOpt.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* llvm.global_[cd]tor is defined to be either external, or appending with an arrayNick Lewycky2011-04-081-20/+5
* Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad2011-03-301-1/+1
* (Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad2011-03-301-1/+3
* Handle another case that Frits suggested.Anders Carlsson2011-03-221-2/+4
* More cleanups to the OptimizeEmptyGlobalCXXDtors GlobalOpt function.Anders Carlsson2011-03-211-15/+9
* As suggested by Nick Lewycky, ignore debugging intrinsics when trying to deci...Anders Carlsson2011-03-211-0/+7
* Fix commentsNick Lewycky2011-03-211-2/+2
* Don't try to eliminate invokes to __cxa_atexit.Anders Carlsson2011-03-201-0/+6
* Don't segfault on mutual recursion, as pointed out by Frits.Anders Carlsson2011-03-201-4/+6
* Address comments from Frits van Bommel.Anders Carlsson2011-03-201-7/+16
* Add an optimization to GlobalOpt that eliminates calls to __cxa_atexit, if th...Anders Carlsson2011-03-201-0/+101
* convert ConstantVector::get to use ArrayRef.Chris Lattner2011-02-151-2/+1
* revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner2011-02-141-1/+2
* Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner2011-02-141-2/+1
* Add unnamed_addr when we can show that address of a global is not used.Rafael Espindola2011-01-191-13/+42
* Reduce indentation and remove commented out code.Rafael Espindola2011-01-181-122/+101
* Improve the safety of my globalopt enhancement by ensuring that the bitcastOwen Anderson2011-01-161-12/+22
* simplify this code, it is still broken but will follow up on llvm-commits.Chris Lattner2011-01-161-15/+5
* Try to unbreak selfhost.Benjamin Kramer2011-01-151-0/+1
* Fix a false-positive warning.Owen Anderson2011-01-141-1/+3
* Enhance GlobalOpt to be able evaluate initializers that involve stores throughOwen Anderson2011-01-141-2/+49
* fix a globalopt crash on two Adobe-C++ testcases that the recentChris Lattner2011-01-011-0/+5
* reapply r121100 with a tweak to constant fold ConstExprs with TargetDataChris Lattner2010-12-071-8/+95
* Temporarily revert r121100 as it's causing clang to failEric Christopher2010-12-071-85/+5
* fix PR8710 - teach global opt that some constantexprs are too complex toChris Lattner2010-12-071-5/+85
* replace a linear scan with a symtab lookup, reduce indentation.Chris Lattner2010-12-061-38/+38
OpenPOWER on IntegriCloud