MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
affine.cpp
Go to the documentation of this file.
2
3#include <mim/config.h>
4#include <mim/pass.h>
5
7
8using namespace mim;
9using namespace mim::plug;
10
12
13extern "C" MIM_EXPORT Plugin mim_get_plugin() { return {"affine", nullptr, reg_stages, nullptr}; }
void reg_stages(Flags2Stages &stages)
Definition affine.cpp:11
static void hook(Flags2Stages &stages)
Definition pass.h:57
#define MIM_EXPORT
Definition config.h:16
Definition ast.h:14
absl::flat_hash_map< flags_t, std::function< std::unique_ptr< Stage >(World &)> > Flags2Stages
Maps an an axiom of a Stage to a function that creates one.
Definition plugin.h:22
mim::Plugin mim_get_plugin()
Basic info and registration function pointer to be returned from a specific plugin.
Definition plugin.h:30