LLVM 20.0.0git
|
This analysis create MachineFunction for given Function. More...
#include "llvm/CodeGen/MachineFunctionAnalysis.h"
Classes | |
class | Result |
Public Member Functions | |
MachineFunctionAnalysis (const LLVMTargetMachine *TM) | |
Result | run (Function &F, FunctionAnalysisManager &FAM) |
Public Member Functions inherited from llvm::PassInfoMixin< DerivedT > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::AnalysisInfoMixin< MachineFunctionAnalysis > | |
static AnalysisKey * | ID () |
Returns an opaque, unique ID for this analysis type. | |
Static Public Member Functions inherited from llvm::PassInfoMixin< DerivedT > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
This analysis create MachineFunction for given Function.
To release the MachineFunction, users should invalidate it explicitly.
Definition at line 25 of file MachineFunctionAnalysis.h.
|
inline |
Definition at line 44 of file MachineFunctionAnalysis.h.
References TM.
MachineFunctionAnalysis::Result MachineFunctionAnalysis::run | ( | Function & | F, |
FunctionAnalysisManager & | FAM | ||
) |
Definition at line 33 of file MachineFunctionAnalysis.cpp.
References F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::TargetMachine::getSubtargetImpl(), and llvm::LLVMTargetMachine::registerMachineRegisterInfoCallback().