LLVM API Documentation
#include <PassManagerBuilder.h>
Public Member Functions | |
RegisterStandardPasses (PassManagerBuilder::ExtensionPointTy Ty, PassManagerBuilder::ExtensionFn Fn) |
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 161 of file Transforms/IPO/PassManagerBuilder.h.
llvm::RegisterStandardPasses::RegisterStandardPasses | ( | PassManagerBuilder::ExtensionPointTy | Ty, |
PassManagerBuilder::ExtensionFn | Fn | ||
) | [inline] |
Definition at line 162 of file Transforms/IPO/PassManagerBuilder.h.
References llvm::PassManagerBuilder::addGlobalExtension().