OSDN Git Service

Remove the experimental AliasAnalysis::getDependency interface, which
authorDan Gohman <gohman@apple.com>
Tue, 14 Sep 2010 21:25:10 +0000 (21:25 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 14 Sep 2010 21:25:10 +0000 (21:25 +0000)
commitb2143b6247901ae4eca2192ee134564c4f5f7853
tree7991b48f4a6ee8090de80fbb9cb17c6ed75d6227
parentfe3ac088ee0a536f60b3c30ad97703d5d6cd2167
Remove the experimental AliasAnalysis::getDependency interface, which
isn't a good level of abstraction for memdep. Instead, generalize
AliasAnalysis::alias and related interfaces with a new Location
class for describing a memory location. For now, this is the same
Pointer and Size as before, plus an additional field for a TBAA tag.

Also, introduce a fixed MD_tbaa metadata tag kind.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113858 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/Analysis/AliasAnalysis.h
include/llvm/Analysis/LibCallAliasAnalysis.h
include/llvm/Analysis/LibCallSemantics.h
include/llvm/LLVMContext.h
lib/Analysis/AliasAnalysis.cpp
lib/Analysis/AliasAnalysisCounter.cpp
lib/Analysis/AliasDebugger.cpp
lib/Analysis/BasicAliasAnalysis.cpp
lib/Analysis/IPA/GlobalsModRef.cpp
lib/Analysis/LibCallAliasAnalysis.cpp
lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
lib/Analysis/TypeBasedAliasAnalysis.cpp
lib/VMCore/LLVMContext.cpp