13#ifndef LLVM_CODEGEN_MACHINEFUNCTIONANALYSIS
14#define LLVM_CODEGEN_MACHINEFUNCTIONANALYSIS
21class LLVMTargetMachine;
35 std::unique_ptr<MachineFunction> MF;
FunctionAnalysisManager FAM
const char LLVMTargetMachineRef TM
This header defines various interfaces for pass management in LLVM.
API to communicate dependencies between analyses during invalidation.
A container for analyses that lazily runs them and caches their results.
This class describes a target machine that is implemented with the LLVM target-independent code gener...
Result(std::unique_ptr< MachineFunction > MF)
MachineFunction & getMF()
bool invalidate(Function &, const PreservedAnalyses &PA, FunctionAnalysisManager::Invalidator &)
This analysis create MachineFunction for given Function.
MachineFunctionAnalysis(const LLVMTargetMachine *TM)
Result run(Function &F, FunctionAnalysisManager &FAM)
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
Implement std::hash so that hash_code can be used in STL containers.
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...