LLVM 19.0.0git
Public Attributes | List of all members
llvm::PassPluginLibraryInfo Struct Reference

Information about the plugin required to load its passes. More...

#include "llvm/Passes/PassPlugin.h"

Public Attributes

uint32_t APIVersion
 The API version understood by this plugin, usually LLVM_PLUGIN_API_VERSION.
 
const charPluginName
 A meaningful name of the plugin.
 
const charPluginVersion
 The version of the plugin.
 
void(* RegisterPassBuilderCallbacks )(PassBuilder &)
 The callback for registering plugin passes with a PassBuilder instance.
 

Detailed 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 PassPlugin class below to interface with it.

Definition at line 41 of file PassPlugin.h.

Member Data Documentation

◆ APIVersion

uint32_t llvm::PassPluginLibraryInfo::APIVersion

The API version understood by this plugin, usually LLVM_PLUGIN_API_VERSION.

Definition at line 44 of file PassPlugin.h.

Referenced by llvm::PassPlugin::getAPIVersion().

◆ PluginName

const char* llvm::PassPluginLibraryInfo::PluginName

A meaningful name of the plugin.

Definition at line 46 of file PassPlugin.h.

Referenced by llvm::PassPlugin::getPluginName().

◆ PluginVersion

const char* llvm::PassPluginLibraryInfo::PluginVersion

The version of the plugin.

Definition at line 48 of file PassPlugin.h.

Referenced by llvm::PassPlugin::getPluginVersion().

◆ RegisterPassBuilderCallbacks

void(* llvm::PassPluginLibraryInfo::RegisterPassBuilderCallbacks) (PassBuilder &)

The callback for registering plugin passes with a PassBuilder instance.

Definition at line 52 of file PassPlugin.h.

Referenced by llvm::PassPlugin::registerPassBuilderCallbacks().


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