LLVM API Documentation

Public Member Functions | Static Public Attributes
llvm::legacy::PassManagerImpl Class Reference

PassManagerImpl manages MPPassManagers. More...

Inheritance diagram for llvm::legacy::PassManagerImpl:
Inheritance graph
[legend]
Collaboration diagram for llvm::legacy::PassManagerImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PassManagerImpl ()
void add (Pass *P)
PasscreatePrinterPass (raw_ostream &O, const std::string &Banner) const override
 createPrinterPass - Get a module printer pass.
bool run (Module &M)
bool doInitialization ()
bool doFinalization ()
void getAnalysisUsage (AnalysisUsage &Info) const override
 Pass Manager itself does not invalidate any analysis info.
PMDataManagergetAsPMDataManager () override
PassgetAsPass () override
PassManagerType getTopLevelPassManagerType () override
MPPassManager * getContainedManager (unsigned N)

Static Public Attributes

static char ID = 0

Detailed Description

PassManagerImpl manages MPPassManagers.

Definition at line 390 of file LegacyPassManager.cpp.


Constructor & Destructor Documentation

Definition at line 397 of file LegacyPassManager.cpp.


Member Function Documentation

void llvm::legacy::PassManagerImpl::add ( Pass P) [inline]

add - Add a pass to the queue of passes to run. This passes ownership of the Pass to the PassManager. When the PassManager is destroyed, the pass will be destroyed as well, so there is no need to delete the pass. This implies that all passes MUST be allocated with 'new'.

Definition at line 405 of file LegacyPassManager.cpp.

Referenced by llvm::legacy::PassManager::add().

Pass* llvm::legacy::PassManagerImpl::createPrinterPass ( raw_ostream O,
const std::string &  Banner 
) const [inline, override, virtual]

createPrinterPass - Get a module printer pass.

Implements llvm::Pass.

Definition at line 410 of file LegacyPassManager.cpp.

References llvm::createPrintModulePass().

doFinalization - Run all of the finalizers for the module passes.

doInitialization - Run all of the initializers for the module passes.

void llvm::legacy::PassManagerImpl::getAnalysisUsage ( AnalysisUsage Info) const [inline, override, virtual]

Pass Manager itself does not invalidate any analysis info.

Reimplemented from llvm::Pass.

Definition at line 431 of file LegacyPassManager.cpp.

References llvm::AnalysisUsage::setPreservesAll().

Pass* llvm::legacy::PassManagerImpl::getAsPass ( ) [inline, override, virtual]

Implements llvm::PMDataManager.

Definition at line 436 of file LegacyPassManager.cpp.

Implements llvm::PMTopLevelManager.

Definition at line 435 of file LegacyPassManager.cpp.

Definition at line 441 of file LegacyPassManager.cpp.

Referenced by run().

Implements llvm::PMTopLevelManager.

Definition at line 437 of file LegacyPassManager.cpp.

References llvm::PMT_ModulePassManager.


Member Data Documentation

Definition at line 396 of file LegacyPassManager.cpp.


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