llvm-6502/tools/opt
Chandler Carruth 6b1894aeae [PM] Fold all three analysis managers into a single AnalysisManager
template.

This consolidates three copies of nearly the same core logic. It adds
"complexity" to the ModuleAnalysisManager in that it makes it possible
to share a ModuleAnalysisManager across multiple modules... But it does
so by deleting *all of the code*, so I'm OK with that. This will
naturally make fixing bugs in this code much simpler, etc.

The only down side here is that we have to use 'typename' and 'this->'
in various places, and the implementation is lifted into the header.
I'll take that for the code size reduction.

The convenient names are still typedef-ed and used throughout so that
users can largely ignore this aspect of the implementation.

The follow-up change to this will do the exact same refactoring for the
PassManagers. =D

It turns out that the interesting different code is almost entirely in
the adaptors. At the end, that should be essentially all that is left.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225757 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-13 02:51:47 +00:00
..
AnalysisWrappers.cpp
BreakpointPrinter.cpp Make StringSet::insert return pair<iterator, bool> like other self-associative containers 2014-11-19 02:56:00 +00:00
BreakpointPrinter.h
CMakeLists.txt
GraphPrinters.cpp
LLVMBuild.txt
Makefile
NewPMDriver.cpp [PM] Move the analysis registry into the Passes.cpp file and provide 2015-01-06 02:21:37 +00:00
NewPMDriver.h
opt.cpp Use make_unique instead of reset() and 'new' 2014-12-12 07:52:14 +00:00
Passes.cpp [PM] Give slightly less horrible names to the utility pass templates for 2015-01-07 11:14:51 +00:00
Passes.h [PM] Fold all three analysis managers into a single AnalysisManager 2015-01-13 02:51:47 +00:00
PassPrinters.cpp
PassPrinters.h
PassRegistry.def [PM] Introduce a utility pass that preserves no analyses. 2015-01-06 09:06:35 +00:00
PrintSCC.cpp