LLVM
8.0.1
|
A utility pass template that simply runs another pass multiple times. More...
#include "llvm/IR/PassManager.h"
Public Member Functions | |
RepeatedPass (int Count, PassT P) | |
template<typename IRUnitT , typename AnalysisManagerT , typename... Ts> | |
PreservedAnalyses | run (IRUnitT &IR, 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... | |
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 1403 of file PassManager.h.
|
inline |
Definition at line 1405 of file PassManager.h.
|
inline |
Definition at line 1408 of file PassManager.h.
References llvm::PreservedAnalyses::all(), llvm::AMDGPU::HSAMD::Kernel::Key::Args, IR, P, llvm::PassInstrumentation::runAfterPass(), and llvm::PassInstrumentation::runBeforePass().