LLVM API Documentation

Classes | Public Member Functions | Static Public Member Functions
llvm::ModulePassManager Class Reference

#include <PassManager.h>

List of all members.

Classes

struct  ModulePassModel

Public Member Functions

 ModulePassManager ()
 ModulePassManager (ModulePassManager &&Arg)
ModulePassManageroperator= (ModulePassManager &&RHS)
PreservedAnalyses run (Module *M, ModuleAnalysisManager *AM=nullptr)
 Run all of the module passes in this module pass manager over a module.
template<typename ModulePassT >
void addPass (ModulePassT Pass)

Static Public Member Functions

static StringRef name ()

Detailed Description

Definition at line 463 of file IR/PassManager.h.


Constructor & Destructor Documentation

Definition at line 467 of file IR/PassManager.h.

Definition at line 468 of file IR/PassManager.h.


Member Function Documentation

template<typename ModulePassT >
void llvm::ModulePassManager::addPass ( ModulePassT  Pass) [inline]

Definition at line 481 of file IR/PassManager.h.

static StringRef llvm::ModulePassManager::name ( ) [inline, static]

Definition at line 485 of file IR/PassManager.h.

ModulePassManager& llvm::ModulePassManager::operator= ( ModulePassManager &&  RHS) [inline]

Definition at line 469 of file IR/PassManager.h.

Run all of the module passes in this module pass manager over a module.

This method should only be called for a single module as there is the expectation that the lifetime of a pass is bounded to that of a module.

Definition at line 22 of file PassManager.cpp.

References llvm::PreservedAnalyses::all(), llvm::dbgs(), DebugPM, llvm::Module::getContext(), llvm::PreservedAnalyses::intersect(), llvm::detail::AnalysisManagerBase< DerivedT, IRUnitT >::invalidate(), and llvm::LLVMContext::yield().


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