llvm-6502/lib/Transforms/Utils
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
..
BasicBlockUtils.cpp Factor some code into a new FoldSingleEntryPHINodes method. 2008-12-03 19:44:02 +00:00
BasicInliner.cpp Fix warning. 2008-10-31 01:50:01 +00:00
BreakCriticalEdges.cpp
CloneFunction.cpp Correctly set attributes when removing args during cloning. Fixes PR2765 2008-10-07 18:08:38 +00:00
CloneLoop.cpp
CloneModule.cpp Don't drop alignment on globals when cloning. 2008-10-09 06:27:14 +00:00
CloneTrace.cpp
CMakeLists.txt CMake: Removed source file. 2008-11-19 19:32:19 +00:00
CodeExtractor.cpp Fix PR2929 by making bugpoint/code extract propagate the nothrow 2008-12-18 05:52:56 +00:00
DemoteRegToStack.cpp
InlineCost.cpp Do not inline functions with (dynamic) alloca into 2009-01-08 21:45:23 +00:00
InlineFunction.cpp reapply Sanjiv's patch to genericize memcpy/memset/memmove to take an 2008-11-21 16:42:48 +00:00
InstructionNamer.cpp make instnamer name unnamed blocks as well as instructions and args. 2008-12-18 00:33:11 +00:00
LCSSA.cpp Change create*Pass factory functions to return Pass* instead of 2008-10-22 23:32:42 +00:00
Local.cpp rewrite RecursivelyDeleteTriviallyDeadInstructions to use a more efficient 2008-11-28 01:20:46 +00:00
LoopSimplify.cpp Tidy up several unbeseeming casts from pointer to intptr_t. 2008-09-04 17:05:41 +00:00
LowerAllocations.cpp Initialize MallocFunc and FreeFunc properly. 2008-11-18 18:43:07 +00:00
LowerInvoke.cpp
LowerSwitch.cpp
Makefile
Mem2Reg.cpp
PromoteMemoryToRegister.cpp Let AnalyzeAlloca() remove debug intrinsics. 2008-11-17 18:37:53 +00:00
SimplifyCFG.cpp Add a helper to remove a branch and DCE the condition, and use it 2008-12-16 20:54:32 +00:00
UnifyFunctionExitNodes.cpp Tidy up #includes, deleting a bunch of unnecessary #includes. 2009-01-05 17:59:02 +00:00
UnrollLoop.cpp Factor some code into a new FoldSingleEntryPHINodes method. 2008-12-03 19:44:02 +00:00
ValueMapper.cpp