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

#include "llvm/Passes/CodeGenPassBuilder.h"

Public Member Functions

 AddMachinePass (ModulePassManager &MPM, const DerivedT &PB)
 
 ~AddMachinePass ()
 
template<typename PassT >
void operator() (PassT &&Pass, bool Force=false, StringRef Name=PassT::name())
 

Detailed Description

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

Definition at line 211 of file CodeGenPassBuilder.h.

Constructor & Destructor Documentation

◆ AddMachinePass()

template<typename DerivedT , typename TargetMachineT >
llvm::CodeGenPassBuilder< DerivedT, TargetMachineT >::AddMachinePass::AddMachinePass ( ModulePassManager MPM,
const DerivedT &  PB 
)
inline

Definition at line 213 of file CodeGenPassBuilder.h.

References PB().

◆ ~AddMachinePass()

template<typename DerivedT , typename TargetMachineT >
llvm::CodeGenPassBuilder< DerivedT, TargetMachineT >::AddMachinePass::~AddMachinePass ( )
inline

Member Function Documentation

◆ operator()()

template<typename DerivedT , typename TargetMachineT >
template<typename PassT >
void llvm::CodeGenPassBuilder< DerivedT, TargetMachineT >::AddMachinePass::operator() ( PassT &&  Pass,
bool  Force = false,
StringRef  Name = PassT::name() 
)
inline

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