llvm/unittests
Chandler Carruth 67a41f0919 [PM/AA] Teach the new pass manager to use pass-by-lambda for registering
analysis passes, support pre-registering analyses, and use that to
implement parsing and pre-registering a custom alias analysis pipeline.

With this its possible to configure the particular alias analysis
pipeline used by the AAManager from the commandline of opt. I've updated
the test to show this effectively in use to build a pipeline including
basic-aa as part of it.

My big question for reviewers are around the APIs that are used to
expose this functionality. Are folks happy with pass-by-lambda to do
pass registration? Are folks happy with pre-registering analyses as
a way to inject customized instances of an analysis while still using
the registry for the general case?

Other thoughts of course welcome. The next round of patches will be to
add the rest of the alias analyses into the new pass manager and wire
them up here so that they can be used from opt. This will require
extending the (somewhate limited) functionality of AAManager w.r.t.
module passes.

Differential Revision: http://reviews.llvm.org/D17259

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261197 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-18 09:45:17 +00:00
..
ADT [ADT] Add StringRef::{l,r}trim(char) overloads (NFC) 2016-02-16 01:48:39 +00:00
Analysis [LCG] Construct an actual call graph with call-edge SCCs nested inside 2016-02-17 00:18:16 +00:00
AsmParser Remove autoconf support 2016-01-26 21:29:08 +00:00
Bitcode Remove autoconf support 2016-01-26 21:29:08 +00:00
CodeGen Remove autoconf support 2016-01-26 21:29:08 +00:00
DebugInfo Remove autoconf support 2016-01-26 21:29:08 +00:00
ExecutionEngine Kill LLVMAddTargetData 2016-02-16 00:22:02 +00:00
IR [PM/AA] Teach the new pass manager to use pass-by-lambda for registering 2016-02-18 09:45:17 +00:00
LineEditor Remove autoconf support 2016-01-26 21:29:08 +00:00
Linker Delete the deprecated LLVMLinkModules. 2016-02-12 15:28:45 +00:00
MC [unittests] Move TargetRegistry test from Support to MC 2016-02-03 21:41:24 +00:00
MI Make a stub version of MITests, instead of reverting. 2016-02-18 07:37:17 +00:00
Option Remove autoconf support 2016-01-26 21:29:08 +00:00
ProfileData Add a profile summary class specific to instrumentation profiles. 2016-02-17 18:18:47 +00:00
Support Fix a -Wsign-compare in Support Path unittests 2016-02-10 19:29:01 +00:00
Transforms [Cloning] Clone every Function's Debug Info 2016-02-13 02:04:29 +00:00
CMakeLists.txt Make a stub version of MITests, instead of reverting. 2016-02-18 07:37:17 +00:00