llvm-6502/lib/Transforms/IPO
Chris Lattner 5b222d748a Implement more aggressive support for analyzing string length. This
generalizes the previous code to handle the case when the string is not
an immediate to the strlen call (for example, crazy stuff like 
strlen(c ? "foo" : "bart"+1) -> 3).  This implements 
gcc.c-torture/execute/builtins/strlen-2.c.  I will generalize other
cases in simplifylibcalls to use the same routine later.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50408 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-29 06:56:02 +00:00
..
ArgumentPromotion.cpp Allow argpromote to promote struct arguments with a specified number 2008-04-19 19:50:01 +00:00
ConstantMerge.cpp
DeadArgumentElimination.cpp API changes for class Use size reduction, wave 1. 2008-04-06 20:25:17 +00:00
DeadTypeElimination.cpp
ExtractGV.cpp API changes for class Use size reduction, wave 1. 2008-04-06 20:25:17 +00:00
GlobalDCE.cpp
GlobalOpt.cpp When SRoA'ing a global variable, make sure the new globals get the 2008-04-26 07:40:11 +00:00
IndMemRemoval.cpp API changes for class Use size reduction, wave 1. 2008-04-06 20:25:17 +00:00
Inliner.cpp
InlineSimple.cpp
Internalize.cpp
IPConstantPropagation.cpp simplify code for propagation of constant arguments into 2008-04-23 06:16:27 +00:00
LoopExtractor.cpp
LowerSetJmp.cpp API changes for class Use size reduction, wave 1. 2008-04-06 20:25:17 +00:00
Makefile
PruneEH.cpp Remove 'unwinds to' support from mainline. This patch undoes r47802 r47989 2008-04-25 16:53:59 +00:00
RaiseAllocations.cpp API changes for class Use size reduction, wave 1. 2008-04-06 20:25:17 +00:00
SimplifyLibCalls.cpp Implement more aggressive support for analyzing string length. This 2008-04-29 06:56:02 +00:00
StripDeadPrototypes.cpp
StripSymbols.cpp
StructRetPromotion.cpp API changes for class Use size reduction, wave 1. 2008-04-06 20:25:17 +00:00