LLVM  6.0.0svn
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]
Collaboration diagram for llvm::InvalidateAnalysisPass< AnalysisT >:
Collaboration 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. More...
 

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. More...
 

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 1267 of file PassManager.h.

Member Function Documentation

◆ 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 1276 of file PassManager.h.

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


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