LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::RepeatedPass< PassT > Class Template Reference

A utility pass template that simply runs another pass multiple times. More...

#include "llvm/IR/PassManager.h"

Inheritance diagram for llvm::RepeatedPass< PassT >:
Inheritance graph
[legend]
Collaboration diagram for llvm::RepeatedPass< PassT >:
Collaboration graph
[legend]

Public Member Functions

 RepeatedPass (int Count, PassT P)
 
template<typename IRUnitT , typename AnalysisManagerT , typename... Ts>
PreservedAnalyses run (IRUnitT &Arg, AnalysisManagerT &AM, Ts &&... Args)
 

Additional Inherited Members

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

Detailed Description

template<typename PassT>
class llvm::RepeatedPass< PassT >

A utility pass template that simply runs another pass multiple times.

This can be useful when debugging or testing passes. It also serves as an example of how to extend the pass manager in ways beyond composition.

Definition at line 1300 of file PassManager.h.

Constructor & Destructor Documentation

◆ RepeatedPass()

template<typename PassT>
llvm::RepeatedPass< PassT >::RepeatedPass ( int  Count,
PassT  P 
)
inline

Definition at line 1302 of file PassManager.h.

Member Function Documentation

◆ run()

template<typename PassT>
template<typename IRUnitT , typename AnalysisManagerT , typename... Ts>
PreservedAnalyses llvm::RepeatedPass< PassT >::run ( IRUnitT &  Arg,
AnalysisManagerT &  AM,
Ts &&...  Args 
)
inline

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