File tree Expand file tree Collapse file tree 3 files changed +29
-6
lines changed
llvm/include/llvm/CodeGen Expand file tree Collapse file tree 3 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 18
18
#include " llvm/ADT/SparseBitVector.h"
19
19
#include " llvm/ADT/ilist.h"
20
20
#include " llvm/ADT/iterator_range.h"
21
+ #include " llvm/CodeGen/MachineFunctionAnalysisManager.h"
21
22
#include " llvm/CodeGen/MachineInstr.h"
22
23
#include " llvm/CodeGen/MachineInstrBundleIterator.h"
23
24
#include " llvm/IR/DebugLoc.h"
@@ -46,8 +47,6 @@ class LiveIntervals;
46
47
class LiveVariables ;
47
48
class TargetRegisterClass ;
48
49
class TargetRegisterInfo ;
49
- template <typename IRUnitT, typename ... ExtraArgTs> class AnalysisManager ;
50
- using MachineFunctionAnalysisManager = AnalysisManager<MachineFunction>;
51
50
52
51
// This structure uniquely identifies a basic block section.
53
52
// Possible values are
Original file line number Diff line number Diff line change
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
+
18
+ namespace llvm {
19
+
20
+ class MachineFunction ;
21
+
22
+ extern template class AnalysisManager <MachineFunction>;
23
+ using MachineFunctionAnalysisManager = AnalysisManager<MachineFunction>;
24
+
25
+ } // namespace llvm
26
+
27
+ #endif
Original file line number Diff line number Diff line change 24
24
#include " llvm/ADT/FunctionExtras.h"
25
25
#include " llvm/ADT/SmallVector.h"
26
26
#include " llvm/CodeGen/MachineFunction.h"
27
+ #include " llvm/CodeGen/MachineFunctionAnalysisManager.h"
27
28
#include " llvm/IR/PassManager.h"
28
29
#include " llvm/IR/PassManagerInternal.h"
29
30
#include " llvm/Support/Error.h"
30
31
31
32
namespace llvm {
32
33
class Module ;
33
34
class Function ;
34
- class MachineFunction ;
35
-
36
- extern template class AnalysisManager <MachineFunction>;
37
- using MachineFunctionAnalysisManager = AnalysisManager<MachineFunction>;
38
35
39
36
// / An RAII based helper class to modify MachineFunctionProperties when running
40
37
// / pass. Define a MFPropsModifier in PassT::run to set
You can’t perform that action at this time.
0 commit comments