LLVM
16.0.0git
|
Registers a function for adding a standard set of passes. More...
#include "llvm/Transforms/IPO/PassManagerBuilder.h"
Public Member Functions | |
RegisterStandardPasses (PassManagerBuilder::ExtensionPointTy Ty, PassManagerBuilder::ExtensionFn Fn) | |
~RegisterStandardPasses () | |
Registers a function for adding a standard set of passes.
This should be used by optimizer plugins to allow all front ends to transparently use them. Create a static instance of this class in your plugin, providing a private function that the PassManagerBuilder can use to add your passes.
Definition at line 215 of file PassManagerBuilder.h.
|
inline |
Definition at line 219 of file PassManagerBuilder.h.
References llvm::PassManagerBuilder::addGlobalExtension(), and move.
|
inline |
Definition at line 224 of file PassManagerBuilder.h.
References llvm::PassManagerBuilder::removeGlobalExtension().