LLVM  8.0.1
Public Member Functions | List of all members
llvm::RegisterStandardPasses Struct Reference

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)
 

Detailed Description

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 209 of file PassManagerBuilder.h.

Constructor & Destructor Documentation

◆ RegisterStandardPasses()

llvm::RegisterStandardPasses::RegisterStandardPasses ( PassManagerBuilder::ExtensionPointTy  Ty,
PassManagerBuilder::ExtensionFn  Fn 
)
inline

The documentation for this struct was generated from the following file: