aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/GlobalOpt.cpp
AgeCommit message (Expand)Author
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
2011-05-22fix PR9856, an incorrectly conservative assertion: a global can beChris Lattner
2011-04-11Just because a GlobalVariable's initializer is [N x { i32, void ()* }] doesn'tNick Lewycky
2011-04-11Don't include Operator.h from InstrTypes.h.Jay Foad
2011-04-09Add back a couple checks removed by r129128; the fact that an intitializerEli Friedman
2011-04-08llvm.global_[cd]tor is defined to be either external, or appending with an arrayNick Lewycky
2011-03-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad
2011-03-30(Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad
2011-03-22Handle another case that Frits suggested.Anders Carlsson
2011-03-21More cleanups to the OptimizeEmptyGlobalCXXDtors GlobalOpt function.Anders Carlsson
2011-03-21As suggested by Nick Lewycky, ignore debugging intrinsics when trying to deci...Anders Carlsson
2011-03-21Fix commentsNick Lewycky
2011-03-20Don't try to eliminate invokes to __cxa_atexit.Anders Carlsson
2011-03-20Don't segfault on mutual recursion, as pointed out by Frits.Anders Carlsson
2011-03-20Address comments from Frits van Bommel.Anders Carlsson
2011-03-20Add an optimization to GlobalOpt that eliminates calls to __cxa_atexit, if th...Anders Carlsson
2011-02-15convert ConstantVector::get to use ArrayRef.Chris Lattner
2011-02-14revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner
2011-02-14Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner
2011-01-19Add unnamed_addr when we can show that address of a global is not used.Rafael Espindola
2011-01-18Reduce indentation and remove commented out code.Rafael Espindola
2011-01-16Improve the safety of my globalopt enhancement by ensuring that the bitcastOwen Anderson
2011-01-16simplify this code, it is still broken but will follow up on llvm-commits.Chris Lattner
2011-01-15Try to unbreak selfhost.Benjamin Kramer
2011-01-14Fix a false-positive warning.Owen Anderson
2011-01-14Enhance GlobalOpt to be able evaluate initializers that involve stores throughOwen Anderson
2011-01-01fix a globalopt crash on two Adobe-C++ testcases that the recentChris Lattner
2010-12-07reapply r121100 with a tweak to constant fold ConstExprs with TargetDataChris Lattner
2010-12-07Temporarily revert r121100 as it's causing clang to failEric Christopher
2010-12-07fix PR8710 - teach global opt that some constantexprs are too complex toChris Lattner
2010-12-06replace a linear scan with a symtab lookup, reduce indentation.Chris Lattner
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson
2010-10-19GlobalOpt: EvaluateFunction() must not evaluate stores to weak_odr globals.Mikhail Glushenkov
2010-10-18Trailing whitespace.Mikhail Glushenkov
2010-10-07Now with fewer extraneous semicolons!Owen Anderson
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson
2010-08-06Revert r110396 to fix buildbots.Owen Anderson
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson