aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO
AgeCommit message (Expand)Author
2011-07-15Convert CallInst and InvokeInst APIs to use ArrayRef.Jay Foad
2011-07-12Second attempt at de-constifying LLVM Types in FunctionType::get(),Jay Foad
2011-07-12Revert r134893 and r134888 (and related patches in other trees). It was causingBill Wendling
2011-07-11De-constify Types in StructType::get() and TargetData::getIntPtrType().Jay Foad
2011-07-11De-constify Types in FunctionType::get().Jay Foad
2011-07-09remove the DerivedType which isn't adding value anymore.Chris Lattner
2011-07-09Land the long talked about "type system rewrite" patch. ThisChris Lattner
2011-06-20Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner
2011-06-09When deleting a basic block, remove call edges only for non-intrinsics.John McCall
2011-06-09Improve the handling of available_externally and llvm.global_ctors.Rafael Espindola
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-05-13Fix a source of non determinism in FindUsedTypes, use a SetVector instead of aJulien Lerouge
2011-05-10Preserve line number information.Devang Patel
2011-04-23Remove unused STL header includes.Jay Foad
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2011-04-11remove the StructRetPromotion pass. It is unused, not maintained andChris 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-04-04Remove some support for ReturnInsts with multiple operands, and forJay Foad
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-25No functionality change, just adjust some whitespace for coding style complia...Nick Lewycky
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-03-09These llvm.dbg.* constants are not used anymore.Devang Patel
2011-03-06Don't internalize available_externally functions. We already did the rightRafael Espindola
2011-03-01Add an obvious missing safety check to DAE::RemoveDeadArgumentsFromCallers.Eli Friedman
2011-02-20Instead of keeping two Value*->id# mappings, keep one Value->Value mapping andNick Lewycky
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-02-09When removing a function from the function set and adding it to deferred, weNick Lewycky
2011-02-06Simplify away redundant test, and document what's going on.Nick Lewycky
2011-02-06Remove specialized comparison of InlineAsm objects. They're uniqued on creationNick Lewycky
2011-02-02Remove wasteful caching. This isn't needed for correctness because any functionNick Lewycky
2011-01-28Rename functions to follow coding standard. Also rejiggers comments. NoNick Lewycky
2011-01-28Add a doxygen comment for this class.Nick Lewycky
2011-01-28Reorder for readability. (Chris, is this what you meant?)Nick Lewycky
2011-01-28Reduce the number of functions we look at in the first pass, and preallocateNick Lewycky
2011-01-27Unbreak the build.Benjamin Kramer