LLVM 20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::FunctionToMachineFunctionPassAdaptor Class Reference

#include "llvm/CodeGen/MachinePassManager.h"

Inheritance diagram for llvm::FunctionToMachineFunctionPassAdaptor:
Inheritance graph
[legend]

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.
 

Detailed Description

Definition at line 193 of file MachinePassManager.h.

Member Typedef Documentation

◆ PassConceptT

Definition at line 196 of file MachinePassManager.h.

Constructor & Destructor Documentation

◆ FunctionToMachineFunctionPassAdaptor()

llvm::FunctionToMachineFunctionPassAdaptor::FunctionToMachineFunctionPassAdaptor ( std::unique_ptr< PassConceptT Pass)
inlineexplicit

Definition at line 199 of file MachinePassManager.h.

Member Function Documentation

◆ isRequired()

static bool llvm::FunctionToMachineFunctionPassAdaptor::isRequired ( )
inlinestatic

Definition at line 208 of file MachinePassManager.h.

◆ printPipeline()

void FunctionToMachineFunctionPassAdaptor::printPipeline ( raw_ostream OS,
function_ref< StringRef(StringRef)>  MapClassName2PassName 
)

Definition at line 133 of file MachinePassManager.cpp.

References OS.

◆ run()

PreservedAnalyses FunctionToMachineFunctionPassAdaptor::run ( Function F,
FunctionAnalysisManager FAM 
)

The documentation for this class was generated from the following files: