17 #ifndef LLVM_IR_LEGACYPASSMANAGER_H
18 #define LLVM_IR_LEGACYPASSMANAGER_H
30 class PassManagerImpl;
31 class FunctionPassManagerImpl;
Pass interface - Implemented by all 'passes'.
A Module instance is used to store all the information related to an LLVM module. ...
FunctionPassManagerImpl manages FPPassManagers.
#define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref)
virtual void add(Pass *P)=0
Add a pass to the queue of passes to run.
void add(Pass *P) override
Add a pass to the queue of passes to run.
void add(Pass *P) override
Add a pass to the queue of passes to run.
bool run(Function &F)
run - Execute all of the passes scheduled for execution.
PassManager manages ModulePassManagers.
PassManagerImpl manages MPPassManagers.
FunctionPassManager manages FunctionPasses and BasicBlockPassManagers.
bool run(Module &M)
run - Execute all of the passes scheduled for execution.
virtual ~PassManagerBase()
PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having ...
FunctionPassManager(Module *M)
FunctionPassManager ctor - This initializes the pass manager.
bool doFinalization()
doFinalization - Run all of the finalizers for the function passes.
struct LLVMOpaquePassManager * LLVMPassManagerRef
~FunctionPassManager() override
bool doInitialization()
doInitialization - Run all of the initializers for the function passes.
PassManager()
Create new pass manager.