Hans Wennborg | f88287f | 2014-03-19 18:41:38 +0000 | [diff] [blame] | 1 | //===- PassManager.cpp - Infrastructure for managing & running IR passes --===// |
Chandler Carruth | 74015a7 | 2013-11-13 01:12:08 +0000 | [diff] [blame] | 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
Chandler Carruth | 74015a7 | 2013-11-13 01:12:08 +0000 | [diff] [blame] | 10 | #include "llvm/ADT/STLExtras.h" |
Juergen Ributzka | 34390c7 | 2014-05-16 02:33:15 +0000 | [diff] [blame] | 11 | #include "llvm/IR/LLVMContext.h" |
Chandler Carruth | a13f27c | 2014-01-11 11:52:05 +0000 | [diff] [blame] | 12 | #include "llvm/IR/PassManager.h" |
Chandler Carruth | 74015a7 | 2013-11-13 01:12:08 +0000 | [diff] [blame] | 13 | |
| 14 | using namespace llvm; |
Chandler Carruth | a13f27c | 2014-01-11 11:52:05 +0000 | [diff] [blame] | 15 | |
Chandler Carruth | 2a54094 | 2016-02-27 10:38:10 +0000 | [diff] [blame] | 16 | // Explicit template instantiations for core template typedefs. |
| 17 | namespace llvm { |
Chandler Carruth | afcec4c | 2016-02-27 10:45:35 +0000 | [diff] [blame^] | 18 | template class PassManager<Module>; |
| 19 | template class PassManager<Function>; |
| 20 | template class AnalysisManager<Module>; |
| 21 | template class AnalysisManager<Function>; |
Chandler Carruth | 2a54094 | 2016-02-27 10:38:10 +0000 | [diff] [blame] | 22 | template class InnerAnalysisManagerProxy<FunctionAnalysisManager, Module>; |
| 23 | template class OuterAnalysisManagerProxy<ModuleAnalysisManager, Function>; |
Chandler Carruth | 851a2aa | 2013-11-21 02:11:31 +0000 | [diff] [blame] | 24 | } |