LLVM: include/llvm/CodeGen/MachineFunctionAnalysis.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13#ifndef LLVM_CODEGEN_MACHINEFUNCTIONANALYSIS
14#define LLVM_CODEGEN_MACHINEFUNCTIONANALYSIS
15
18
19namespace llvm {
20
23
24
25
29
31
33
34public:
36 std::unique_ptr MF;
37
38 public:
39 Result(std::unique_ptr MF);
42 FunctionAnalysisManager::Invalidator &);
43 };
44
47};
48
53
54}
55
56#endif
This header defines various interfaces for pass management in LLVM.
FunctionAnalysisManager FAM
LLVM_ABI PreservedAnalyses run(Function &F, FunctionAnalysisManager &FAM)
Result(std::unique_ptr< MachineFunction > MF)
MachineFunction & getMF()
Definition MachineFunctionAnalysis.h:40
LLVM_ABI bool invalidate(Function &, const PreservedAnalyses &PA, FunctionAnalysisManager::Invalidator &)
MachineFunctionAnalysis(const TargetMachine &TM)
Definition MachineFunctionAnalysis.h:45
LLVM_ABI Result run(Function &F, FunctionAnalysisManager &FAM)
A set of analyses that are preserved following a run of a transformation pass.
Primary interface to the complete machine description for the target machine.
This is an optimization pass for GlobalISel generic memory operations.
AnalysisManager< Function > FunctionAnalysisManager
Convenience typedef for the Function analysis manager.
A CRTP mix-in that provides informational APIs needed for analysis passes.
A special type used by analysis passes to provide an address that identifies that particular analysis...
A CRTP mix-in to automatically provide informational APIs needed for passes.