llvm-6502/lib/Transforms/Scalar
Nick Lewycky 6cd0c048b8 Move the libcall annotating part from doFinalization to doInitialization.
Finalization occurs after all the FunctionPasses in the group have run, which
is clearly not what we want.

This also means that we have to make sure that we apply the right param 
attributes when creating a new function.

Also, add a missed optimization: strdup and strndup. NoCapture and 
NoAlias return!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61658 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-05 00:07:50 +00:00
..
ADCE.cpp
BasicBlockPlacement.cpp
CMakeLists.txt
CodeGenPrepare.cpp - CodeGenPrepare does not split loop back edges but it only knows about back edges of single block loops. It now does a DFS walk to find loop back edges. 2008-12-19 18:03:11 +00:00
CondPropagate.cpp Factor some code into a new FoldSingleEntryPHINodes method. 2008-12-03 19:44:02 +00:00
ConstantProp.cpp
DCE.cpp simplify this logic. 2008-11-27 22:46:09 +00:00
DeadStoreElimination.cpp don't bother touching volatile stores, they will just return clobber on 2008-12-07 00:25:15 +00:00
GVN.cpp Don't forget to remove phi nodes from the value numbering table after we collapse them. 2008-12-23 00:49:51 +00:00
GVNPRE.cpp
IndVarSimplify.cpp
InstructionCombining.cpp Revert this transform. It was causing some dramatic slowdowns in a few tests. See PR3266. 2009-01-04 06:19:11 +00:00
JumpThreading.cpp remove DebugIterations option. Despite the accusations, 2008-12-08 22:44:07 +00:00
LICM.cpp Change create*Pass factory functions to return Pass* instead of 2008-10-22 23:32:42 +00:00
LoopDeletion.cpp
LoopIndexSplit.cpp Fix spelling. 2008-12-08 17:07:24 +00:00
LoopRotation.cpp
LoopStrengthReduce.cpp Revert 61362 and 61402 until SPEC breakage is fixed. 2008-12-23 23:21:35 +00:00
LoopUnroll.cpp
LoopUnswitch.cpp Undo previous patch. 2008-12-08 17:02:37 +00:00
Makefile
MemCpyOptimizer.cpp Make a few major changes to memdep and its clients: 2008-12-05 21:04:20 +00:00
PredicateSimplifier.cpp
Reassociate.cpp
Reg2Mem.cpp
Scalar.cpp
ScalarReplAggregates.cpp
SCCP.cpp
SimplifyCFGPass.cpp
SimplifyHalfPowrLibCalls.cpp eliminate warning when asserts disabled. 2008-12-14 21:36:23 +00:00
SimplifyLibCalls.cpp Move the libcall annotating part from doFinalization to doInitialization. 2009-01-05 00:07:50 +00:00
TailDuplication.cpp simplify code. 2008-11-27 22:56:14 +00:00
TailRecursionElimination.cpp