MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
plugin.h File Reference
#include <compare>
#include <functional>
#include <iosfwd>
#include <memory>
#include <tuple>
#include <absl/container/flat_hash_map.h>
#include "mim/config.h"
#include "mim/def.h"
Include dependency graph for plugin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mim::Version
struct  mim::Plugin
 Basic info and registration function pointer to be returned from a specific plugin. More...
struct  mim::Annex
 Holds info about an entity defined within a Plugin (called Annex). More...

Namespaces

namespace  mim

Macros

#define MIM_VERSION   Version { MIM_VER_MAJOR, MIM_VER_MINOR, MIM_VER_SUFFIX, MIM_GIT_HASH }

Plugin Interface

See also
Plugin
using mim::Normalizers = absl::flat_hash_map<flags_t, NormalizeFn>
using mim::Flags2Stages = absl::flat_hash_map<flags_t, std::function<std::unique_ptr<Stage>(World&)>>
 Maps an an axiom of a Stage to a function that creates one.
mim::Plugin mim::mim_get_plugin ()

Macro Definition Documentation

◆ MIM_VERSION

#define MIM_VERSION   Version { MIM_VER_MAJOR, MIM_VER_MINOR, MIM_VER_SUFFIX, MIM_GIT_HASH }

Definition at line 54 of file plugin.h.

Referenced by mim::Driver::Driver(), and mim_get_plugin().