aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-07-27Refuse to inline two functions which use different personality functions.Bill Wendling1-0/+34
2011-07-19Distinguish between two copies of one inlined variable.Devang Patel1-1/+8
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner1-3/+3
2011-07-15Convert CallInst and InvokeInst APIs to use ArrayRef.Jay Foad1-6/+3
2011-07-14Change Intrinsic::getDeclaration and friends to take an ArrayRef.Benjamin Kramer1-1/+1
2011-07-12Second attempt at de-constifying LLVM Types in FunctionType::get(),Jay Foad1-2/+2
2011-07-12Revert r134893 and r134888 (and related patches in other trees). It was causingBill Wendling1-2/+2
2011-07-11De-constify Types in FunctionType::get().Jay Foad1-2/+2
2011-07-08Refactor. It is inliner's responsibility to update line number information.Devang Patel1-0/+38
2011-06-23Reinstate r133513 (reverted in r133700) with an additional fix for aJay Foad1-5/+5
2011-06-23Revert r133513:Eric Christopher1-5/+5
2011-06-21Reinstate r133435 and r133449 (reverted in r133499) now that the clangJay Foad1-5/+5
2011-06-21Revert r133435 and r133449 to appease buildbots.Chad Rosier1-5/+5
2011-06-20Change how PHINodes store their operands.Jay Foad1-5/+5
2011-06-14Use IRBuilder to make our intrinsic calls in the inliner so that we pick upJohn McCall1-10/+9
2011-06-14Use Value::stripPointerCasts instead of reinventing part of the wheel.Nick Lewycky1-6/+2
2011-06-13It's possible that an all-zero GEP may be used as the argument to lifetimeNick Lewycky1-2/+6
2011-06-09SplitCriticalEdge can sometimes split the edge from an invoke to a landingJohn McCall1-28/+184
2011-06-09Teach the CallGraph to ignore calls to intrinsics.John McCall1-41/+7
2011-06-01First, do no harm -- even if we can't find a selector for an enclosingJohn McCall1-4/+18
2011-05-29Fix this to work correctly with phis; test case to follow if this successfullyJohn McCall1-0/+1
2011-05-28Implement and document the llvm.eh.resume intrinsic, which isJohn McCall1-62/+181
2011-05-27Fix the inliner to maintain the current de facto invoke semantics:John McCall1-42/+155
2011-05-22Teach the inliner to emit llvm.lifetime.start/end, to scope the local variablesNick Lewycky1-0/+70
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner1-1/+1
2011-03-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad1-2/+1
2011-03-30(Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad1-0/+1
2010-12-25switch the inliner alignment enforcement stuff to use theChris Lattner1-27/+8
2010-12-20when eliding a byval copy due to inlining a readonly function, we haveChris Lattner1-4/+43
2010-12-20pull byval processing out to its own helper function.Chris Lattner1-56/+72
2010-12-20fix PR8769, a miscompilation by inliner when inlining a function with a byvalChris Lattner1-6/+10
2010-12-06improve commentChris Lattner1-2/+1
2010-11-20Simplify code. No change in functionality.Benjamin Kramer1-1/+1
2010-11-17Have InlineFunction use SimplifyInstruction rather thanDuncan Sands1-9/+11
2010-10-13Be more consistent in using ValueToValueMapTy.Rafael Espindola1-3/+3
2010-08-26Reapply r112091 and r111922, support for metadata linking, with aDan Gohman1-1/+2
2010-07-27simplify: CallSite::get --> CallSite constructorGabor Greif1-4/+4
2010-06-24use callsite to obtain all argumentsGabor Greif1-1/+2
2010-06-24Use ValueMap instead of DenseMap.Devang Patel1-3/+3
2010-06-23Cosmetic change.Devang Patel1-8/+8
2010-05-31Fix PR7272: when inlining through a callsite with byval arguments,Duncan Sands1-0/+4
2010-05-01rename InlineInfo.DevirtualizedCalls -> InlinedCalls toChris Lattner1-5/+5
2010-05-01Implement rdar://6295824 and PR6724 with two tiny changesChris Lattner1-0/+1
2010-04-23switch InlineInfo.DevirtualizedCalls's list to be of WeakVH.Chris Lattner1-1/+1
2010-04-22The inliner was choosing to not consider call sitesChris Lattner1-2/+7
2010-04-22refactor the interface to InlineFunction so that most of the in/outChris Lattner1-21/+21
2010-04-22when inlining something like this:Chris Lattner1-2/+16
2010-04-22eliminate dead #include.Chris Lattner1-1/+0
2010-04-16Revert 101465, it broke internal OpenGL testing.Eric Christopher1-1/+1
2010-04-16reapply r101434Gabor Greif1-1/+1