BasicAliasAnalysis and FunctionAttrs were both
authorDuncan Sands <baldrick@free.fr>
Sun, 18 Jan 2009 12:19:30 +0000 (12:19 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 18 Jan 2009 12:19:30 +0000 (12:19 +0000)
commit8556d2a7f155c7edfaf454a3acda8ce28863c5e4
tree1a394bc0971280641fcb33b1548f92ab4b2f53be
parente3bc6ae92a17c28824fb4b6cf606d8ab07cae974
BasicAliasAnalysis and FunctionAttrs were both
doing very similar pointer capture analysis.
Factor out the common logic.  The new version
is from FunctionAttrs since it does a better
job than the version in BasicAliasAnalysis

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62461 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/CaptureTracking.h [new file with mode: 0644]
lib/Analysis/BasicAliasAnalysis.cpp
lib/Analysis/CaptureTracking.cpp [new file with mode: 0644]
lib/Transforms/IPO/FunctionAttrs.cpp