LLVM 20.0.0git
Public Member Functions | List of all members
llvm::InvalidateAnalysisPass< AnalysisT > Struct Template Reference

A no-op pass template which simply forces a specific analysis result to be invalidated. More...

#include "llvm/IR/PassManager.h"

Inheritance diagram for llvm::InvalidateAnalysisPass< AnalysisT >:
Inheritance graph
[legend]

Public Member Functions

template<typename IRUnitT , typename AnalysisManagerT , typename... ExtraArgTs>
PreservedAnalyses run (IRUnitT &Arg, AnalysisManagerT &AM, ExtraArgTs &&...)
 Run this pass over some unit of IR.
 
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 
- Public Member Functions inherited from llvm::PassInfoMixin< InvalidateAnalysisPass< AnalysisT > >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::PassInfoMixin< InvalidateAnalysisPass< AnalysisT > >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

template<typename AnalysisT>
struct llvm::InvalidateAnalysisPass< AnalysisT >

A no-op pass template which simply forces a specific analysis result to be invalidated.

Definition at line 900 of file PassManager.h.

Member Function Documentation

◆ printPipeline()

template<typename AnalysisT >
void llvm::InvalidateAnalysisPass< AnalysisT >::printPipeline ( raw_ostream OS,
function_ref< StringRef(StringRef)>  MapClassName2PassName 
)
inline

Definition at line 914 of file PassManager.h.

References OS, and PassName.

◆ run()

template<typename AnalysisT >
template<typename IRUnitT , typename AnalysisManagerT , typename... ExtraArgTs>
PreservedAnalyses llvm::InvalidateAnalysisPass< AnalysisT >::run ( IRUnitT &  Arg,
AnalysisManagerT &  AM,
ExtraArgTs &&  ... 
)
inline

Run this pass over some unit of IR.

This pass can be run over any unit of IR and use any analysis manager, provided they satisfy the basic API requirements. When this pass is created, these methods can be instantiated to satisfy whatever the context requires.

Definition at line 909 of file PassManager.h.

References llvm::PreservedAnalyses::abandon(), and llvm::PreservedAnalyses::all().


The documentation for this struct was generated from the following file: