aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/CloneFunction.cpp
AgeCommit message (Expand)Author
2012-06-28Move lib/Analysis/DebugInfo.cpp to lib/VMCore/DebugInfo.cpp andBill Wendling
2012-04-06Sink the collection of return instructions until after *all*Chandler Carruth
2012-04-06Sink the return instruction collection until after we're done deletingChandler Carruth
2012-03-28Switch to WeakVHs in the value mapper, and aggressively prune dead basicChandler Carruth
2012-03-25Teach the function cloner (and thus the inliner) to simplify PHINodesChandler Carruth
2012-03-25Move the instruction simplification of callsite arguments in the inlinerChandler Carruth
2012-03-20Zap some dead code pointed out by Chandler.Eric Christopher
2012-03-08Taken into account Duncan's comments for r149481 dated by 2nd Feb 2012:Stepan Dyatkovskiy
2012-02-06[unwind removal] Remove all of the code for the dead 'unwind' instruction. ThereBill Wendling
2012-02-01SwitchInst refactoring.Stepan Dyatkovskiy
2011-12-23When not destroying the source, the linker is not remapping the types. Added ...Mon P Wang
2011-10-21Remap blockaddress correctly when inlining a function. Fixes PR10162.Eli Friedman
2011-10-02Enhance a couple places where we were doing constant folding of instructions,Nick Lewycky
2011-07-19Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall.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 FunctionType::get().Jay Foad
2011-07-08Remove unused copy of UpdateInlinedAtInfo.Benjamin Kramer
2011-07-08Refactor. It is inliner's responsibility to update line number information.Devang Patel
2011-06-23Reinstate r133513 (reverted in r133700) with an additional fix for aJay Foad
2011-06-23Revert r133513:Eric Christopher
2011-06-21Reinstate r133435 and r133449 (reverted in r133499) now that the clangJay Foad
2011-06-21Revert r133435 and r133449 to appease buildbots.Chad Rosier
2011-06-20Change how PHINodes store their operands.Jay Foad
2011-01-08Revamp the ValueMapper interfaces in a couple ways:Chris Lattner
2010-10-13Fix PR8313 by changing ValueToValueMap use a TrackingVH.Rafael Espindola
2010-08-26Reapply r112091 and r111922, support for metadata linking, with aDan Gohman
2010-08-24Use MapValue in the Linker instead of having a private functionDan Gohman
2010-07-20Use DebugLocs instead of MDNodes.Dan Gohman
2010-07-20Don't look up the "dbg" metadata kind by name.Dan Gohman
2010-06-24Use available typedef for " DenseMap<const Value*, Value*>".Devang Patel
2010-06-23Cosmetic change.Devang Patel
2010-05-07Use overloaded operators instead of DIDescriptor::getNode()Devang Patel
2010-04-20There is no need to install ValueMapper.h header. Devang Patel
2010-03-08Avoid using DIDescriptor.isNull(). Devang Patel
2010-03-08Revert r97947.Devang Patel
2010-03-08Avoid using DIDescriptor.isNull().Devang Patel
2010-01-27Don't bother with sprintf, just pass the Twine through.Benjamin Kramer
2010-01-05Remove dead debug info intrinsics.Devang Patel
2009-12-31fix Analysis/DebugInfo.h to not include Metadata.h. Do thisChris Lattner
2009-12-31rename "elements" of metadata to "operands". "Elements" areChris Lattner
2009-12-29Use an array instead of a SmallVector.Benjamin Kramer
2009-12-29Final step in the metadata API restructuring: move the Chris Lattner
2009-12-29remove useless argument.Chris Lattner
2009-12-28This is a major cleanup of the instruction metadata interfaces thatChris Lattner
2009-12-28rename getMDKind -> getMDKindID, make it autoinsert if an MD KindChris Lattner
2009-11-12Add the braces gcc suggested.Daniel Dunbar
2009-11-10Implement support to debug inlined functions.Devang Patel
2009-11-09fix ConstantFoldCompareInstOperands to take the LHS/RHS asChris Lattner
2009-11-06remove a bunch of extraneous LLVMContext argumentsChris Lattner