LLVM  6.0.0svn
Public Types | Public Member Functions | List of all members
llvm::PMStack Class Reference

PMStack - This class implements a stack data structure of PMDataManager pointers. More...

#include "llvm/IR/LegacyPassManagers.h"

Public Types

typedef std::vector< PMDataManager * >::const_reverse_iterator iterator
 

Public Member Functions

iterator begin () const
 
iterator end () const
 
void pop ()
 
PMDataManagertop () const
 
void push (PMDataManager *PM)
 
bool empty () const
 
void dump () const
 

Detailed Description

PMStack - This class implements a stack data structure of PMDataManager pointers.

Top level pass managers (see PassManager.cpp) maintain active Pass Managers using PMStack. Each Pass implements assignPassManager() to connect itself with appropriate manager. assignPassManager() walks PMStack to find suitable manager.

Definition at line 144 of file LegacyPassManagers.h.

Member Typedef Documentation

◆ iterator

typedef std::vector<PMDataManager *>::const_reverse_iterator llvm::PMStack::iterator

Definition at line 146 of file LegacyPassManagers.h.

Member Function Documentation

◆ begin()

iterator llvm::PMStack::begin ( ) const
inline

◆ dump()

LLVM_DUMP_METHOD void PMStack::dump ( ) const

Definition at line 1801 of file LegacyPassManager.cpp.

References llvm::dbgs().

◆ empty()

bool llvm::PMStack::empty ( ) const
inline

◆ end()

iterator llvm::PMStack::end ( ) const
inline

◆ pop()

void PMStack::pop ( )

◆ push()

void PMStack::push ( PMDataManager PM)

◆ top()

PMDataManager* llvm::PMStack::top ( ) const
inline

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