LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::detail::PassConcept< T > Struct Template Referenceabstract

Template for the abstract base class used to dispatch polymorphically over pass objects. More...

#include <PassManager.h>

Inheritance diagram for llvm::detail::PassConcept< T >:
Inheritance graph
[legend]

Public Member Functions

virtual ~PassConcept ()
 
virtual PassConceptclone ()=0
 
virtual bool run (T Arg)=0
 The polymorphic API which runs the pass over a given IR entity. More...
 

Detailed Description

template<typename T>
struct llvm::detail::PassConcept< T >

Template for the abstract base class used to dispatch polymorphically over pass objects.

Definition at line 56 of file IR/PassManager.h.

Constructor & Destructor Documentation

template<typename T>
virtual llvm::detail::PassConcept< T >::~PassConcept ( )
inlinevirtual

Definition at line 58 of file IR/PassManager.h.

Member Function Documentation

template<typename T>
virtual PassConcept* llvm::detail::PassConcept< T >::clone ( )
pure virtual
template<typename T>
virtual bool llvm::detail::PassConcept< T >::run ( T  Arg)
pure virtual

The polymorphic API which runs the pass over a given IR entity.

Implemented in llvm::detail::PassModel< T, PassT >, llvm::detail::PassModel< Function *, PassT >, and llvm::detail::PassModel< Module *, PassT >.


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