LLVM
8.0.1
|
Abstract concept of an analysis pass. More...
#include "llvm/IR/PassManagerInternal.h"
Public Member Functions | |
virtual | ~AnalysisPassConcept ()=default |
virtual std::unique_ptr< AnalysisResultConcept< IRUnitT, PreservedAnalysesT, InvalidatorT > > | run (IRUnitT &IR, AnalysisManager< IRUnitT, ExtraArgTs... > &AM, ExtraArgTs... ExtraArgs)=0 |
Method to run this analysis over a unit of IR. More... | |
virtual StringRef | name () const =0 |
Polymorphic method to access the name of a pass. More... | |
Abstract concept of an analysis pass.
This concept is parameterized over the IR unit that it can run over and produce an analysis result.
Definition at line 241 of file PassManagerInternal.h.
|
virtualdefault |
|
pure virtual |
Polymorphic method to access the name of a pass.
Implemented in llvm::detail::AnalysisPassModel< IRUnitT, PassT, PreservedAnalysesT, InvalidatorT, ExtraArgTs >.
|
pure virtual |
Method to run this analysis over a unit of IR.
Implemented in llvm::detail::AnalysisPassModel< IRUnitT, PassT, PreservedAnalysesT, InvalidatorT, ExtraArgTs >.