Go to file
Chandler Carruth 7ad6d620b7 [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.

llvm-svn: 225757
2015-01-13 02:51:47 +00:00
clang Extend the self move warning to record types. 2015-01-13 02:32:02 +00:00
clang-tools-extra Make LoopConvert work with containers that are used like arrays. 2015-01-12 13:17:56 +00:00
compiler-rt Update test cases for new -fsanitize-recover= semantics. 2015-01-12 23:02:42 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Use amdgcn triple for SI+ GPUs 2015-01-06 20:42:12 +00:00
libcxx Fix vexing parse in test. 2015-01-12 15:56:41 +00:00
libcxxabi Fix some formatting I messed up in r225187. 2015-01-05 19:31:59 +00:00
lld Remove fragile regex from test 2015-01-13 00:12:04 +00:00
lldb Don't run functionalities/tty under sudo / as root. 2015-01-13 00:54:59 +00:00
llgo [llgo] irgen: generate switch instructions 2015-01-08 07:49:28 +00:00
llvm [PM] Fold all three analysis managers into a single AnalysisManager 2015-01-13 02:51:47 +00:00
openmp I apologise in advance for the size of this check-in. At Intel we do 2014-10-07 16:25:50 +00:00
polly Check assert before the instruction that uses the assumption checked. 2015-01-10 07:40:39 +00:00