Move all the logic for function attributes and call attributes out of the
authorDan Gohman <gohman@apple.com>
Fri, 6 Aug 2010 01:25:49 +0000 (01:25 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 6 Aug 2010 01:25:49 +0000 (01:25 +0000)
commit6ce9d8b0edaf7c59f5a7c52d506c2801004698f0
tree16f89d562e674be642a438c669e13107495ea493
parent59d70cbc297cbefead1f5926c30466d3cc03541a
Move all the logic for function attributes and call attributes out of the
AliasAnalysis base class and into BasicAliasAnalyais. This avoids confusion
about where such logic is happening when there are other AliasAnalysis
implementations present.

Move the logic for translating two-callsite getModRefInfo queries into
other AliasAnalysis queries out of BasicAliasAnalysis and into the
AliasAnalysis base class, as it is useful for other AliasAnalysis
implementations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110421 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/AliasAnalysis.cpp
lib/Analysis/BasicAliasAnalysis.cpp