MLIR  20.0.0git
Public Attributes | List of all members
mlir::PassPluginLibraryInfo Struct Reference

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

#include "mlir/Tools/Plugins/PassPlugin.h"

Public Attributes

uint32_t apiVersion
 The API version understood by this plugin, usually MLIR_PLUGIN_API_VERSION. More...
 
const char * pluginName
 A meaningful name of the plugin. More...
 
const char * pluginVersion
 The version of the plugin. More...
 
void(* registerPassRegistryCallbacks )()
 The callback for registering plugin passes. More...
 

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 40 of file PassPlugin.h.

Member Data Documentation

◆ apiVersion

uint32_t mlir::PassPluginLibraryInfo::apiVersion

The API version understood by this plugin, usually MLIR_PLUGIN_API_VERSION.

Definition at line 43 of file PassPlugin.h.

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

◆ pluginName

const char* mlir::PassPluginLibraryInfo::pluginName

A meaningful name of the plugin.

Definition at line 45 of file PassPlugin.h.

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

◆ pluginVersion

const char* mlir::PassPluginLibraryInfo::pluginVersion

The version of the plugin.

Definition at line 47 of file PassPlugin.h.

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

◆ registerPassRegistryCallbacks

void(* mlir::PassPluginLibraryInfo::registerPassRegistryCallbacks) ()

The callback for registering plugin passes.

Definition at line 50 of file PassPlugin.h.

Referenced by mlir::PassPlugin::registerPassRegistryCallbacks().


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