LLVM
8.0.1
|
Template for the abstract base class used to dispatch polymorphically over pass objects. More...
#include "llvm/IR/PassManagerInternal.h"
Public Member Functions | |
virtual | ~PassConcept ()=default |
virtual PreservedAnalyses | run (IRUnitT &IR, AnalysisManagerT &AM, ExtraArgTs... ExtraArgs)=0 |
The polymorphic API which runs the pass over a given IR entity. More... | |
virtual StringRef | name () const =0 |
Polymorphic method to access the name of a pass. More... | |
Template for the abstract base class used to dispatch polymorphically over pass objects.
Definition at line 38 of file PassManagerInternal.h.
|
virtualdefault |
|
pure virtual |
Polymorphic method to access the name of a pass.
Implemented in llvm::detail::PassModel< IRUnitT, PassT, PreservedAnalysesT, AnalysisManagerT, ExtraArgTs >.
|
pure virtual |
The polymorphic API which runs the pass over a given IR entity.
Note that actual pass object can omit the analysis manager argument if desired. Also that the analysis manager may be null if there is no analysis manager in the pass pipeline.
Implemented in llvm::detail::PassModel< IRUnitT, PassT, PreservedAnalysesT, AnalysisManagerT, ExtraArgTs >.