llvm/test/Transforms/Inline
Dale Johannesen 4362387c74 Do not inline functions with (dynamic) alloca into
functions that don't already have a (dynamic) alloca.
Dynamic allocas cause inefficient codegen and we shouldn't
propagate this (behavior follows gcc).  Two existing tests
assumed such inlining would be done; they are hacked by
adding an alloca in the caller, preserving the point of
the tests.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61946 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-08 21:45:23 +00:00
..
2003-09-14-InlineValue.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2003-09-22-PHINodeInlineFail.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2003-09-22-PHINodesInExceptionDest.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2003-09-22-PHINodesInNormalInvokeDest.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2003-10-13-AllocaDominanceProblem.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2003-10-26-InlineInvokeExceptionDestPhi.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2004-04-15-InlineDeletesCall.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2004-04-20-InlineLinkOnce.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
2004-10-17-InlineFunctionWithoutReturn.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2006-01-14-CallGraphUpdate.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2006-07-12-InlinePruneCGUpdate.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2006-11-09-InlineCGUpdate-2.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2006-11-09-InlineCGUpdate.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2007-04-15-InlineEH.ll Make invokes of inline asm legal. Teach codegen 2007-12-17 18:08:19 +00:00
2007-06-06-NoInline.ll Instruct the inliner to obey the noinline attribute. Add test case. 2007-06-06 21:59:26 +00:00
2007-06-25-WeakInline.ll new testcase, the inliner shouldn't inline this. 2007-06-25 21:49:53 +00:00
2007-12-19-InlineNoUnwind.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2008-03-04-StructRet.ll Use cast instead of dyn_cast. 2008-03-04 21:45:28 +00:00
2008-03-07-Inline-2.ll Move two tests from SRETPromotion to Inline, since they only call opt -inline. 2008-08-07 15:36:46 +00:00
2008-03-07-Inline.ll Move two tests from SRETPromotion to Inline, since they only call opt -inline. 2008-08-07 15:36:46 +00:00
2008-09-02-AlwaysInline.ll Implement function notes as function attributes. 2008-09-26 23:51:19 +00:00
2008-09-02-NoInline.ll Implement function notes as function attributes. 2008-09-26 23:51:19 +00:00
2008-10-30-AlwaysInline.ll Add InlineCost class for represent the estimated cost of inlining a 2008-10-30 19:26:59 +00:00
2008-11-04-AlwaysInline.ll Add PR number. 2008-11-05 18:41:15 +00:00
2009-01-08-NoInlineDynamicAlloca.ll Do not inline functions with (dynamic) alloca into 2009-01-08 21:45:23 +00:00
alloca_test.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
basictest.ll Rationalize the names of passes that print information: 2008-09-23 12:47:39 +00:00
byval2.ll Revert r46393: readonly/readnone functions are no 2008-01-27 18:12:58 +00:00
byval.ll When inlining a functino with a byval argument, make an explicit 2008-01-11 06:09:30 +00:00
casts.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
cfg_preserve_test.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
dg.exp sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
dynamic_alloca_test.ll Do not inline functions with (dynamic) alloca into 2009-01-08 21:45:23 +00:00
inline_cleanup.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
inline_constprop.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
inline_dce.ll Update old-style syntax in some "not grep" tests. 2008-05-01 23:50:07 +00:00
inline_prune.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
inline-tail.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
invoke_test-1.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
invoke_test-2.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
invoke_test-3.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00