MLIR  19.0.0git
Public Attributes | List of all members
mlir::DialectPluginLibraryInfo Struct Reference

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

#include "mlir/Tools/Plugins/DialectPlugin.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(* registerDialectRegistryCallbacks )(DialectRegistry *)
 The callback for registering dialect plugin with a DialectRegistry instance. More...
 

Detailed Description

Information about the plugin required to load its dialects & passes.

This struct defines the core interface for dialect plugins and is supposed to be filled out by plugin implementors. MLIR-side users of a plugin are expected to use the DialectPlugin class below to interface with it.

Definition at line 32 of file DialectPlugin.h.

Member Data Documentation

◆ apiVersion

uint32_t mlir::DialectPluginLibraryInfo::apiVersion

The API version understood by this plugin, usually MLIR_PLUGIN_API_VERSION.

Definition at line 35 of file DialectPlugin.h.

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

◆ pluginName

const char* mlir::DialectPluginLibraryInfo::pluginName

A meaningful name of the plugin.

Definition at line 37 of file DialectPlugin.h.

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

◆ pluginVersion

const char* mlir::DialectPluginLibraryInfo::pluginVersion

The version of the plugin.

Definition at line 39 of file DialectPlugin.h.

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

◆ registerDialectRegistryCallbacks

void(* mlir::DialectPluginLibraryInfo::registerDialectRegistryCallbacks) (DialectRegistry *)

The callback for registering dialect plugin with a DialectRegistry instance.

Definition at line 43 of file DialectPlugin.h.

Referenced by mlir::DialectPlugin::registerDialectRegistryCallbacks().


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