1 | //===- llvm/CodeGen/MachineFunctionAnalysisManager.h ------------*- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | // |
9 | // Typedef for MachineFunctionAnalysisManager as an explicit instantiation of |
10 | // AnalysisManager<MachineFunction>. |
11 | // |
12 | //===----------------------------------------------------------------------===// |
13 | #ifndef LLVM_CODEGEN_MACHINEFUNCTIONANALYSISMANAGER |
14 | #define LLVM_CODEGEN_MACHINEFUNCTIONANALYSISMANAGER |
15 | |
16 | #include "llvm/IR/PassManager.h" |
17 | #include "llvm/Support/Compiler.h" |
18 | |
19 | namespace llvm { |
20 | |
21 | class MachineFunction; |
22 | |
23 | extern template class LLVM_TEMPLATE_ABI AnalysisManager<MachineFunction>; |
24 | using MachineFunctionAnalysisManager = AnalysisManager<MachineFunction>; |
25 | |
26 | } // namespace llvm |
27 | |
28 | #endif |
29 | |