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

A template utility pass to force an analysis result to be invalidated. More...

#include <PassManager.h>

Public Member Functions

template<typename IRUnitT >
PreservedAnalyses run (IRUnitT &Arg, AnalysisManager< IRUnitT > *AM)
 Run this pass over some unit of IR. More...
 

Static Public Member Functions

static StringRef name ()
 

Detailed Description

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

A template utility pass to force an analysis result to be invalidated.

This is a no-op pass which simply forces a specific analysis result to be invalidated when it is run.

Definition at line 860 of file PassManager.h.

Member Function Documentation

template<typename AnalysisT >
static StringRef llvm::InvalidateAnalysisPass< AnalysisT >::name ( )
inlinestatic

Definition at line 877 of file PassManager.h.

template<typename AnalysisT >
template<typename IRUnitT >
PreservedAnalyses llvm::InvalidateAnalysisPass< AnalysisT >::run ( IRUnitT &  Arg,
AnalysisManager< IRUnitT > *  AM 
)
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 868 of file PassManager.h.

References llvm::PreservedAnalyses::all().


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