[PM/AA] Hoist the AA counter pass into a header to match the analysis
authorChandler Carruth <chandlerc@gmail.com>
Fri, 14 Aug 2015 02:05:41 +0000 (02:05 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 14 Aug 2015 02:05:41 +0000 (02:05 +0000)
commit968d0e35a5678f0c49efb1c056eb04f1b752b600
tree4282243224ba0c2fd2eadd0518bf0e169d5362a0
parentc4aff77ec0ab43d21c93b20070b9edc517b8a2e1
[PM/AA] Hoist the AA counter pass into a header to match the analysis
pattern.

Also hoist the creation routine out of the generic header and into the
pass header now that we have one.

I've worked to not make any changes, even formatting ones here. I'll
clean up the formatting and other things in a follow-up patch now that
the code is in the right place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245004 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/AliasAnalysisCounter.h [new file with mode: 0644]
include/llvm/Analysis/Passes.h
include/llvm/LinkAllPasses.h
lib/Analysis/AliasAnalysisCounter.cpp