LLVM 20.0.0git
|
A pass manager to run a set of extra function passes if the ShouldRunExtraPasses marker analysis is present. More...
#include "llvm/Transforms/Utils/ExtraPassManager.h"
Public Member Functions | |
template<typename PassT > | |
void | addPass (PassT &&Pass) |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< ExtraFunctionPassManager< MarkerTy > > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< ExtraFunctionPassManager< MarkerTy > > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
A pass manager to run a set of extra function passes if the ShouldRunExtraPasses marker analysis is present.
This allows passes to request additional transformations on demand. An example is extra simplifications after loop-vectorization, if runtime checks have been added.
Definition at line 58 of file ExtraPassManager.h.
|
inline |
Definition at line 63 of file ExtraPassManager.h.
References llvm::PassManager< IRUnitT, AnalysisManagerT, ExtraArgTs >::addPass().
|
inlinestatic |
Definition at line 75 of file ExtraPassManager.h.
|
inline |
Definition at line 67 of file ExtraPassManager.h.
References llvm::PreservedAnalyses::all(), F, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getCachedResult(), and llvm::PassManager< IRUnitT, AnalysisManagerT, ExtraArgTs >::run().