LLVM 20.0.0git
|
#include "llvm/CodeGen/MachinePassManager.h"
Public Types | |
using | PassConceptT = detail::PassConcept< MachineFunction, MachineFunctionAnalysisManager > |
Public Member Functions | |
FunctionToMachineFunctionPassAdaptor (std::unique_ptr< PassConceptT > Pass) | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &FAM) |
Runs the function pass across every function in the function. | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Public Member Functions inherited from llvm::PassInfoMixin< FunctionToMachineFunctionPassAdaptor > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< FunctionToMachineFunctionPassAdaptor > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Definition at line 193 of file MachinePassManager.h.
using llvm::FunctionToMachineFunctionPassAdaptor::PassConceptT = detail::PassConcept<MachineFunction, MachineFunctionAnalysisManager> |
Definition at line 196 of file MachinePassManager.h.
|
inlineexplicit |
Definition at line 199 of file MachinePassManager.h.
|
inlinestatic |
Definition at line 208 of file MachinePassManager.h.
void FunctionToMachineFunctionPassAdaptor::printPipeline | ( | raw_ostream & | OS, |
function_ref< StringRef(StringRef)> | MapClassName2PassName | ||
) |
Definition at line 133 of file MachinePassManager.cpp.
References OS.
PreservedAnalyses FunctionToMachineFunctionPassAdaptor::run | ( | Function & | F, |
FunctionAnalysisManager & | FAM | ||
) |
Runs the function pass across every function in the function.
Definition at line 109 of file MachinePassManager.cpp.
References llvm::PreservedAnalyses::all(), F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::invalidate(), llvm::PassInstrumentation::runAfterPass(), and llvm::PassInstrumentation::runBeforePass().