[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)
commit3e498400da4dfc09987ec58ddffad0d430fb7816
tree0be3925cb1db611e2bec14dce22adc76a6790c67
parent816702ffe00a9bf60704d1c992f55203ca39c55c
[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.

llvm-svn: 225784
llvm/include/llvm/IR/PassManager.h
llvm/include/llvm/IR/PassManagerInternal.h