LLVM  15.0.0git
Public Member Functions | List of all members
llvm::CodeGenPassBuilder< DerivedT >::AddMachinePass Class Reference

#include "llvm/CodeGen/CodeGenPassBuilder.h"

Public Member Functions

 AddMachinePass (MachineFunctionPassManager &PM)
 
template<typename PassT >
void operator() (PassT &&Pass)
 
template<typename PassT >
void insertPass (AnalysisKey *ID, PassT Pass)
 
void disablePass (AnalysisKey *ID)
 
MachineFunctionPassManager releasePM ()
 

Detailed Description

template<typename DerivedT>
class llvm::CodeGenPassBuilder< DerivedT >::AddMachinePass

Definition at line 198 of file CodeGenPassBuilder.h.

Constructor & Destructor Documentation

◆ AddMachinePass()

template<typename DerivedT >
llvm::CodeGenPassBuilder< DerivedT >::AddMachinePass::AddMachinePass ( MachineFunctionPassManager PM)
inline

Definition at line 200 of file CodeGenPassBuilder.h.

Member Function Documentation

◆ disablePass()

template<typename DerivedT >
void llvm::CodeGenPassBuilder< DerivedT >::AddMachinePass::disablePass ( AnalysisKey ID)
inline

Definition at line 222 of file CodeGenPassBuilder.h.

◆ insertPass()

template<typename DerivedT >
template<typename PassT >
void llvm::CodeGenPassBuilder< DerivedT >::AddMachinePass::insertPass ( AnalysisKey ID,
PassT  Pass 
)
inline

Definition at line 214 of file CodeGenPassBuilder.h.

References llvm::MachineFunctionPassManager::addPass(), and move.

◆ operator()()

template<typename DerivedT >
template<typename PassT >
void llvm::CodeGenPassBuilder< DerivedT >::AddMachinePass::operator() ( PassT &&  Pass)
inline

Definition at line 202 of file CodeGenPassBuilder.h.

References llvm::MachineFunctionPassManager::addPass().

◆ releasePM()

template<typename DerivedT >
MachineFunctionPassManager llvm::CodeGenPassBuilder< DerivedT >::AddMachinePass::releasePM ( )
inline

Definition at line 227 of file CodeGenPassBuilder.h.

References move.


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