LLVM 23.0.0git
llvm::OptionalPassInfoMixin< DerivedT > Struct Template Reference

A CRTP mix-in for passes that can be skipped. More...

#include "llvm/IR/PassManager.h"

Inherits llvm::PassInfoMixin< DerivedT >.

Inherited by llvm::MachineLICMBasePass< DerivedT, PreRegAlloc >, and llvm::TailDuplicatePassBase< DerivedT, PreRegAlloc >.

Static Public Member Functions

static bool isRequired ()
Static Public Member Functions inherited from llvm::PassInfoMixin< DerivedT >
static bool isRequired ()
Static Public Member Functions inherited from llvm::detail::InfoMixin< DerivedT >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Additional Inherited Members

Public Member Functions inherited from llvm::PassInfoMixin< DerivedT >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Detailed Description

template<typename DerivedT>
struct llvm::OptionalPassInfoMixin< DerivedT >

A CRTP mix-in for passes that can be skipped.

Definition at line 109 of file PassManager.h.

Member Function Documentation

◆ isRequired()

template<typename DerivedT>
bool llvm::OptionalPassInfoMixin< DerivedT >::isRequired ( )
inlinestatic

Definition at line 110 of file PassManager.h.


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