llvm-6502/lib/Transforms/IPO
Matthijs Kooijman d16918f843 Restructure dead argument elimination, try #3 :-)
Rewrite the DeadArgumentElimination pass, to use a more explicit tracking of
dependencies between return values and/or arguments. Also make the handling of
arguments and return values the same.

The pass now looks properly inside returned structs, but only at the first
level (ie, not inside nested structs).

This version fixed a few more bugs and was cleaned up a bit. It now passes all
of LLVM's testing, and should still pass SPEC2006. There is still a minor bug
with regard to returning nested structs. Since there is currently nothing that
emits such IR, I will fix that in a seperate commit (partly because it requires
a non-trivial fix).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53400 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-10 10:24:08 +00:00
..
ArgumentPromotion.cpp
ConstantMerge.cpp
DeadArgumentElimination.cpp Restructure dead argument elimination, try #3 :-) 2008-07-10 10:24:08 +00:00
DeadTypeElimination.cpp
ExtractGV.cpp
GlobalDCE.cpp
GlobalOpt.cpp
IndMemRemoval.cpp
Inliner.cpp
InlineSimple.cpp
Internalize.cpp Rename a few variables to be more consistent. 2008-06-24 09:14:10 +00:00
IPConstantPropagation.cpp Use a CallSite to find the nth argument of a call/invoke instruction instead of 2008-06-19 08:53:24 +00:00
LoopExtractor.cpp
LowerSetJmp.cpp Use Instruction::eraseFromParent(). 2008-06-21 22:08:46 +00:00
Makefile
PruneEH.cpp
RaiseAllocations.cpp Use Instruction::eraseFromParent(). 2008-06-21 22:08:46 +00:00
StripDeadPrototypes.cpp
StripSymbols.cpp
StructRetPromotion.cpp Let StructRetPromotion check if all if its users are really calls or invokesn, 2008-06-05 08:57:20 +00:00