LLVM API Documentation
A template wrapper used to implement the polymorphic API. More...
#include <PassManager.h>
Public Member Functions | |
PassModel (PassT Pass) | |
virtual PassModel * | clone () |
virtual bool | run (T Arg) |
The polymorphic API which runs the pass over a given IR entity. More... | |
![]() | |
virtual | ~PassConcept () |
Public Attributes | |
PassT | Pass |
A template wrapper used to implement the polymorphic API.
Can be instantiated for any object which provides a run
method accepting a T
. It requires the pass to be a copyable object.
Definition at line 70 of file IR/PassManager.h.
|
inline |
Definition at line 71 of file IR/PassManager.h.
Referenced by llvm::detail::PassModel< Module *, PassT >::clone().
|
inlinevirtual |
Implements llvm::detail::PassConcept< T >.
Definition at line 72 of file IR/PassManager.h.
|
inlinevirtual |
The polymorphic API which runs the pass over a given IR entity.
Implements llvm::detail::PassConcept< T >.
Definition at line 73 of file IR/PassManager.h.
PassT llvm::detail::PassModel< T, PassT >::Pass |
Definition at line 74 of file IR/PassManager.h.