aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/GlobalOpt.cpp
AgeCommit message (Expand)Author
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
2010-08-02Prefix `next' iterator operation with `llvm::'.Oscar Fuentes
2010-07-22undo 80 column trespassing I causedGabor Greif
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson
2010-07-16eliminate unlockedRefineAbstractTypeTo, types are all per-llvmcontext,Chris Lattner
2010-07-12cache result of operator*Gabor Greif
2010-07-12make the prototypes for CreateMalloc and CreateFree more consistent. PatchChris Lattner
2010-07-09cache result of operator*Gabor Greif
2010-06-24use ArgOperand API and CallSite for arg range; add necessary casts and perfor...Gabor Greif
2010-04-20use abstract accessors to CallInstGabor Greif
2010-04-16Revert 101465, it broke internal OpenGL testing.Eric Christopher
2010-04-16reapply r101434Gabor Greif
2010-04-16back out r101423 and r101397, they break llvm-gcc self-host on darwin10Gabor Greif
2010-04-15reapply r101364, which has been backed out in r101368Gabor Greif