LLVM 20.0.0git
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 136 of file LegacyPassManagers.h.

Member Typedef Documentation

◆ iterator

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

Definition at line 138 of file LegacyPassManagers.h.

Member Function Documentation

◆ begin()

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

Definition at line 139 of file LegacyPassManagers.h.

◆ dump()

LLVM_DUMP_METHOD void PMStack::dump ( ) const

Definition at line 1691 of file LegacyPassManager.cpp.

References llvm::dbgs().

◆ empty()

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

◆ end()

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

Definition at line 140 of file LegacyPassManagers.h.

◆ 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: