summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/BasicAliasAnalysis.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-04-30 03:17:54 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-04-30 03:17:54 +0000
commit4c444fe007320d63ed25a710a0ecded15bdcd171 (patch)
tree0bf01b4080bd7c74de98bad06e1d4b19529fcdc4 /llvm/lib/Analysis/BasicAliasAnalysis.cpp
parent29c6b848db8f0f02115d4da33d49cd403ac67bba (diff)
downloadbcm5719-llvm-4c444fe007320d63ed25a710a0ecded15bdcd171.tar.gz
bcm5719-llvm-4c444fe007320d63ed25a710a0ecded15bdcd171.zip
* Don't depend on "guessing" what a FILE* is, just require that the actual
type be obtained from a CallInst we're optimizing. * Make it possible for getConstantStringLength to return the ConstantArray that it extracts in case the content is needed by an Optimization. * Implement the strcmp optimization * Implement the toascii optimization This pass is now firing several to many times in the following MultiSource tests: Applications/Burg - 7 (strcat,strcpy) Applications/siod - 13 (strcat,strcpy,strlen) Applications/spiff - 120 (exit,fputs,strcat,strcpy,strlen) Applications/treecc - 66 (exit,fputs,strcat,strcpy) Applications/kimwitu++ - 34 (strcmp,strcpy,strlen) Applications/SPASS - 588 (exit,fputs,strcat,strcpy,strlen) llvm-svn: 21626
Diffstat (limited to 'llvm/lib/Analysis/BasicAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud