LLVM 20.0.0git
|
Abstract concept of an analysis pass. More...
#include "llvm/IR/PassManagerInternal.h"
Public Member Functions | |
virtual | ~AnalysisPassConcept ()=default |
virtual std::unique_ptr< AnalysisResultConcept< IRUnitT, InvalidatorT > > | run (IRUnitT &IR, AnalysisManager< IRUnitT, ExtraArgTs... > &AM, ExtraArgTs... ExtraArgs)=0 |
Method to run this analysis over a unit of IR. | |
virtual StringRef | name () const =0 |
Polymorphic method to access the name of a pass. | |
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 270 of file PassManagerInternal.h.
|
virtualdefault |
|
pure virtual |
Polymorphic method to access the name of a pass.
Implemented in llvm::detail::AnalysisPassModel< IRUnitT, PassT, InvalidatorT, ExtraArgTs >.
|
pure virtual |
Method to run this analysis over a unit of IR.
Implemented in llvm::detail::AnalysisPassModel< IRUnitT, PassT, InvalidatorT, ExtraArgTs >.