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

#include "llvm/CodeGen/MachinePassManager.h"

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

Public Types

using PassConceptT = detail::PassConcept< MachineFunction, MachineFunctionAnalysisManager >
 

Public Member Functions

 ModuleToMachineFunctionPassAdaptor (std::unique_ptr< PassConceptT > Pass)
 
PreservedAnalyses run (Module &M, ModuleAnalysisManager &AM)
 Runs the function pass across every function in the module.
 
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 
- Public Member Functions inherited from llvm::PassInfoMixin< ModuleToMachineFunctionPassAdaptor >
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< ModuleToMachineFunctionPassAdaptor >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

Definition at line 190 of file MachinePassManager.h.

Member Typedef Documentation

◆ PassConceptT

Definition at line 193 of file MachinePassManager.h.

Constructor & Destructor Documentation

◆ ModuleToMachineFunctionPassAdaptor()

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

Definition at line 196 of file MachinePassManager.h.

Member Function Documentation

◆ isRequired()

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

Definition at line 205 of file MachinePassManager.h.

◆ printPipeline()

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

Definition at line 103 of file MachinePassManager.cpp.

References OS.

◆ run()

PreservedAnalyses llvm::ModuleToMachineFunctionPassAdaptor::run ( Module M,
ModuleAnalysisManager AM 
)

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