[PM] Remove the 'AnalysisManagerT' type parameter from numerous layers
authorChandler Carruth <chandlerc@gmail.com>
Tue, 13 Jan 2015 11:31:43 +0000 (11:31 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 13 Jan 2015 11:31:43 +0000 (11:31 +0000)
commit0ef3c5a377d97b06b72abb33a87aca055a58ccf7
tree116090d4c5199950ea2d1be57c19c02612f132cb
parent92602ea18e3d3b1fb6b780a2aa0301004f2c7285
[PM] Remove the 'AnalysisManagerT' type parameter from numerous layers
of templates in the new pass manager.

The analysis manager is now itself just a template predicated on the IR
unit. This makes lots of the templates really trivial and more clear:
they are all parameterized on a single type, the IR unit's type.
Everything else is a function of that. To me, this is a really nice
cleanup of the APIs and removes a layer of 'magic' and 'indirection'
that really wasn't there and just got in the way of understanding what
is going on here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225784 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/PassManager.h
include/llvm/IR/PassManagerInternal.h