|
LLVM 22.0.0git
|
An analysis that produces MachineModuleInfo for a module.
More...
#include "llvm/CodeGen/MachineModuleInfo.h"
Classes | |
| class | Result |
Public Member Functions | |
| MachineModuleAnalysis (MachineModuleInfo &MMI) | |
| LLVM_ABI Result | run (Module &M, ModuleAnalysisManager &) |
| Run the analysis pass and produce machine module information. | |
| Public Member Functions inherited from llvm::PassInfoMixin< MachineModuleAnalysis > | |
| void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
| Static Public Member Functions inherited from llvm::AnalysisInfoMixin< MachineModuleAnalysis > | |
| static AnalysisKey * | ID () |
| Returns an opaque, unique ID for this analysis type. | |
| Static Public Member Functions inherited from llvm::PassInfoMixin< MachineModuleAnalysis > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. | |
An analysis that produces MachineModuleInfo for a module.
This does not produce its own MachineModuleInfo because we need a consistent MachineModuleInfo to keep ownership of MachineFunctions regardless of analysis invalidation/clearing. So something outside the analysis infrastructure must own the MachineModuleInfo.
Definition at line 196 of file MachineModuleInfo.h.
|
inline |
Definition at line 218 of file MachineModuleInfo.h.
| MachineModuleAnalysis::Result MachineModuleAnalysis::run | ( | Module & | M, |
| ModuleAnalysisManager & | ) |
Run the analysis pass and produce machine module information.
Definition at line 220 of file MachineModuleInfo.cpp.
References getLocCookie(), llvm::LLVMContext::setDiagnosticHandler(), and llvm::SrcMgr.