LLVM  6.0.0svn
Static Public Member Functions | List of all members
llvm::PassInfoMixin< DerivedT > Struct Template Reference

A CRTP mix-in to automatically provide informational APIs needed for passes. More...

#include "llvm/IR/PassManager.h"

Inherited by llvm::AnalysisInfoMixin< DerivedT >.

Static Public Member Functions

static StringRef name ()
 Gets the name of the pass we are mixed into. More...
 

Detailed Description

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

A CRTP mix-in to automatically provide informational APIs needed for passes.

This provides some boilerplate for types that are passes.

Definition at line 365 of file PassManager.h.

Member Function Documentation

◆ name()

template<typename DerivedT>
static StringRef llvm::PassInfoMixin< DerivedT >::name ( )
inlinestatic

Gets the name of the pass we are mixed into.

Definition at line 367 of file PassManager.h.


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