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

A template utility pass to force an analysis result to be available. 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::RequireAnalysisPass< AnalysisT >

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

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

Definition at line 837 of file PassManager.h.

Member Function Documentation

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

Definition at line 852 of file PassManager.h.

template<typename AnalysisT >
template<typename IRUnitT >
PreservedAnalyses llvm::RequireAnalysisPass< 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 845 of file PassManager.h.

References llvm::PreservedAnalyses::all().


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