MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::Plugin Struct Reference

Basic info and registration function pointer to be returned from a specific plugin. More...

#include <mim/plugin.h>

Public Types

using Handle = std::unique_ptr<void, void (*)(void*)>

Public Attributes

const char * name
 Name of the Plugin.
Version version
 Version of the Plugin.
void(* register_normalizers )(Normalizers &)
 Callback for registering the mapping from axm ids to normalizer functions in the given normalizers map.
void(* register_stages )(Flags2Stages &)
 Callback for registering the Plugin's callbacks for Passes and Phases.

Detailed Description

Basic info and registration function pointer to be returned from a specific plugin.

Use Driver to load such a plugin.

Definition at line 59 of file plugin.h.

Member Typedef Documentation

◆ Handle

using mim::Plugin::Handle = std::unique_ptr<void, void (*)(void*)>

Definition at line 60 of file plugin.h.

Member Data Documentation

◆ name

const char* mim::Plugin::name

Name of the Plugin.

Definition at line 62 of file plugin.h.

◆ register_normalizers

void(* mim::Plugin::register_normalizers) (Normalizers &)

Callback for registering the mapping from axm ids to normalizer functions in the given normalizers map.

Definition at line 66 of file plugin.h.

◆ register_stages

void(* mim::Plugin::register_stages) (Flags2Stages &)

Callback for registering the Plugin's callbacks for Passes and Phases.

Definition at line 68 of file plugin.h.

◆ version

Version mim::Plugin::version

Version of the Plugin.

Definition at line 63 of file plugin.h.


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