[PM/AA] Port alias analysis evaluator to the new pass manager, and use
authorChandler Carruth <chandlerc@gmail.com>
Sat, 20 Feb 2016 03:46:03 +0000 (03:46 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 20 Feb 2016 03:46:03 +0000 (03:46 +0000)
commit4f846a5f15d579ceeb1fb5f7f2ca75107ae25978
tree93d9cb8d837b89771e42a0ee004f132bc008191f
parent2ac7ee7139a0a06526126d18e549c724b96e3ee8
[PM/AA] Port alias analysis evaluator to the new pass manager, and use
it to actually test the new pass manager AA wiring.

This patch was extracted from the (somewhat too large) D12357 and
rebosed on top of the slightly different design of the new pass manager
AA wiring that I just landed. With this we can start testing the AA in
a thorough way with the new pass manager.

Some minor cleanups to the code in the pass was necessitated here, but
otherwise it is a very minimal change.

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

llvm-svn: 261403
llvm/include/llvm/Analysis/AliasAnalysisEvaluator.h [new file with mode: 0644]
llvm/include/llvm/Analysis/Passes.h
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/LinkAllPasses.h
llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
llvm/lib/Analysis/Analysis.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/test/Analysis/BasicAA/phi-aa.ll
llvm/unittests/Analysis/MixedTBAATest.cpp