llvm::PMStack

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

Synopsis

Declared in <llvm/IR/LegacyPassManagers.h>

class PMStack;

Description

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.

Type Aliases

NameDescription
iterator Reverse iterator over the active pass managers.

Member Functions

NameDescription
begin Return an iterator to the top (most recently pushed) manager.
dump Print the contents of the active pass-manager stack.
empty Return true if the stack contains no pass managers.
end Return an iterator past the bottom of the stack.
pop Remove the top pass manager from the stack.
push Push a pass manager onto the active stack.
top Return the top (most recently pushed) pass manager.