llvm::legacy::PassManagerBase

PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having to hard-code what kind of pass manager it is.

Synopsis

Declared in <llvm/IR/LegacyPassManager.h>

class PassManagerBase;

Member Functions

NameDescription
~PassManagerBase [destructor] [virtual]Destroy the pass manager and any passes it owns.
add [virtual]Add a pass to the queue of passes to run.

Non-Member Functions

NameDescription
::llvm::unwrapConvert an opaque LLVMPassManagerRef to a PassManagerBase pointer.
::llvm::wrapConvert a PassManagerBase pointer to an opaque LLVMPassManagerRef.

Derived Classes

NameDescription
FunctionPassManager FunctionPassManager manages FunctionPasses.
PassManager PassManager manages ModulePassManagers