struct PassPluginLibraryInfo

Declaration

struct PassPluginLibraryInfo { /* full declaration omitted */ };

Description

Information about the plugin required to load its passes This struct defines the core interface for pass plugins and is supposed to be filled out by plugin implementors. LLVM-side users of a plugin are expected to use the \c PassPlugin class below to interface with it.

Declared at: llvm/include/llvm/Passes/PassPlugin.h:41

Member Variables

public uint32_t APIVersion
The API version understood by this plugin, usually \c LLVM_PLUGIN_API_VERSION
public const char* PluginName
A meaningful name of the plugin.
public const char* PluginVersion
The version of the plugin.
public void (*)(llvm::PassBuilder&) RegisterPassBuilderCallbacks
The callback for registering plugin passes with a \c PassBuilder instance