14 #ifndef LLVM_PASSES_PASSPLUGIN_H 15 #define LLVM_PASSES_PASSPLUGIN_H 34 #define LLVM_PLUGIN_API_VERSION 1 84 Info.RegisterPassBuilderCallbacks(PB);
89 : Filename(Filename), Library(Library),
Info() {}
This class represents lattice values for constants.
uint32_t APIVersion
The API version understood by this plugin, usually LLVM_PLUGIN_API_VERSION.
Information about the plugin required to load its passes.
void registerPassBuilderCallbacks(PassBuilder &PB) const
Invoke the PassBuilder callback registration.
This class provides access to building LLVM's passes.
Tagged union holding either a T or a Error.
const char * PluginName
A meaningful name of the plugin.
This class provides a portable interface to dynamic libraries which also might be known as shared lib...
::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK llvmGetPassPluginInfo()
The public entry point for a pass plugin.
StringRef getFilename() const
Get the filename of the loaded plugin.
Analysis containing CSE Info
void(* RegisterPassBuilderCallbacks)(PassBuilder &)
The callback for registering plugin passes with a PassBuilder instance.
uint32_t getAPIVersion() const
Get the plugin API version.
StringRef getPluginVersion() const
Get the plugin version.
StringRef getPluginName() const
Get the plugin name.
const char * PluginVersion
The version of the plugin.
#define LLVM_ATTRIBUTE_WEAK
StringRef - Represent a constant reference to a string, i.e.