|
LLVM
3.7.0
|
Specialization of AnalysisPassModel which passes an AnalysisManager to PassT's run method.
More...
#include <PassManagerInternal.h>
Public Types | |
| typedef AnalysisResultModel < IRUnitT, PassT, typename PassT::Result > | ResultModelT |
Public Member Functions | |
| AnalysisPassModel (PassT Pass) | |
| AnalysisPassModel (const AnalysisPassModel &Arg) | |
| AnalysisPassModel (AnalysisPassModel &&Arg) | |
| AnalysisPassModel & | operator= (AnalysisPassModel RHS) |
| std::unique_ptr < AnalysisResultConcept < IRUnitT > > | run (IRUnitT &IR, AnalysisManager< IRUnitT > *AM) override |
The model delegates to the PassT::run method. More... | |
| StringRef | name () override |
The model delegates to a static PassT::name method. More... | |
Public Member Functions inherited from llvm::detail::AnalysisPassConcept< IRUnitT > | |
| virtual | ~AnalysisPassConcept () |
Public Attributes | |
| PassT | Pass |
Friends | |
| void | swap (AnalysisPassModel &LHS, AnalysisPassModel &RHS) |
Specialization of AnalysisPassModel which passes an AnalysisManager to PassT's run method.
Definition at line 274 of file PassManagerInternal.h.
| typedef AnalysisResultModel<IRUnitT, PassT, typename PassT::Result> llvm::detail::AnalysisPassModel< IRUnitT, PassT, true >::ResultModelT |
Definition at line 291 of file PassManagerInternal.h.
|
inlineexplicit |
Definition at line 275 of file PassManagerInternal.h.
|
inline |
Definition at line 278 of file PassManagerInternal.h.
|
inline |
Definition at line 279 of file PassManagerInternal.h.
|
inlineoverridevirtual |
The model delegates to a static PassT::name method.
The returned string ref must point to constant immutable data!
Implements llvm::detail::AnalysisPassConcept< IRUnitT >.
Definition at line 304 of file PassManagerInternal.h.
References name.
|
inline |
Definition at line 284 of file PassManagerInternal.h.
References std::swap().
|
inlineoverridevirtual |
The model delegates to the PassT::run method.
The return is wrapped in an AnalysisResultModel.
Implements llvm::detail::AnalysisPassConcept< IRUnitT >.
Definition at line 297 of file PassManagerInternal.h.
|
friend |
Definition at line 280 of file PassManagerInternal.h.
| PassT llvm::detail::AnalysisPassModel< IRUnitT, PassT, true >::Pass |
Definition at line 306 of file PassManagerInternal.h.
1.8.6