MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
btensor.cpp
Go to the documentation of this file.
2
3#include <mim/phase.h>
4#include <mim/plugin.h>
5
7
8using namespace mim;
9using namespace mim::plug;
10
14
16 plugin.register_normalizers = btensor::register_normalizers;
17 plugin.register_phases = reg_phases;
18}
static void reg_phases(Flags2Phases &phases)
Definition btensor.cpp:11
static void hook(Flags2Phases &phases)
Definition phase.h:51
The btensor Plugin
Definition btensor.h:17
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