[ARC] Pull the ObjC ARC components that really serve the role of
authorChandler Carruth <chandlerc@gmail.com>
Thu, 20 Aug 2015 08:06:03 +0000 (08:06 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 20 Aug 2015 08:06:03 +0000 (08:06 +0000)
commitcce9e53d026f77ade0763beed0656fb35c3fdc0e
tree6048e53d63f1af4b69e78e50937196ba2ff9d794
parentd51dd69e7929840bcefc50012040c246178e81a8
[ARC] Pull the ObjC ARC components that really serve the role of
analyses into LLVM's Analysis library rather than having them in
a Transforms library.

This is motivated by the need to have the core AliasAnalysis
infrastructure be aware of the ObjCARCAliasAnalysis. However, it also
seems like a nice and clean separation. Everything was very easy to move
and this doesn't create much clutter in the analysis library IMO.

Differential Revision: http://reviews.llvm.org/D12133

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245541 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
include/llvm/Analysis/ObjCARCAliasAnalysis.h [new file with mode: 0644]
include/llvm/Analysis/ObjCARCAnalysisUtils.h [new file with mode: 0644]
include/llvm/Analysis/ObjCARCInstKind.h [new file with mode: 0644]
lib/Analysis/Analysis.cpp
lib/Analysis/CMakeLists.txt
lib/Analysis/ObjCARCAliasAnalysis.cpp [new file with mode: 0644]
lib/Analysis/ObjCARCAnalysisUtils.cpp [new file with mode: 0644]
lib/Analysis/ObjCARCInstKind.cpp [new file with mode: 0644]
lib/Transforms/ObjCARC/ARCInstKind.cpp [deleted file]
lib/Transforms/ObjCARC/ARCInstKind.h [deleted file]
lib/Transforms/ObjCARC/CMakeLists.txt
lib/Transforms/ObjCARC/ObjCARC.cpp
lib/Transforms/ObjCARC/ObjCARC.h
lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp [deleted file]
lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h [deleted file]
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
lib/Transforms/ObjCARC/PtrState.h