This rigs up command line parsing of custom AA chains, the per-analysis
commandline parsing, and other infrastructure for the new pass manager.
It also port the AliasAnalysisEvaluator over to the new pass manager,
rigs it up, and uses the combination to run several alias analysis tests
in both legacy and new pass managers.
It also fixes some of the infrastructure in the AA layer for the new
pass manager now that we can effectively test the entire setup, and
I was able to uncover the underlying problems.
With this, the new pass manager support for AA should be sufficient to
port passes requiring AA, and should be functionally complete outside of
testing some of the finer points such as pre-requiring a non-function
analysis.
Depends on D12080.
I suppose this is to prevent printing stats when there were no input functions? Why do you bother; did we do this indirectly before?