MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
buffer.cpp
Go to the documentation of this file.
2
3#include <mim/plugin.h>
4
6
7using namespace mim;
8using namespace mim::plug;
9
10namespace mim::plug::buffer {
12} // namespace mim::plug::buffer
13
15 plugin.register_normalizers = buffer::register_normalizers;
16 plugin.register_phases = buffer::reg_phases;
17}
static void hook(Flags2Phases &phases)
Definition phase.h:51
The buffer Plugin
Definition buffer.h:8
static void reg_phases(Flags2Phases &phases)
Definition buffer.cpp:11
void register_normalizers(Normalizers &normalizers)
Definition ast.h:16
ankerl::unordered_dense::map< flags_t, std::function< std::unique_ptr< Phase >(World &)> > Flags2Phases
Maps an axiom of a Phase to a function that creates one.
Definition plugin.h:30
#define MIM_PLUGIN_ENTRY(p)
Defines a Plugin's entry point; the body fills in the plugin handed to it, as in MIM_PLUGIN_ENTRY(dem...
Definition plugin.h:196