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
11void reg_phases(Flags2Phases& phases) {
13 // The buffer-to-pointer lowering now lives in the `buffer` plugin (buffer.lower_ptr).
14}
15
17 return {"btensor", MIM_VERSION, btensor::register_normalizers, reg_phases, {}, {}, {}, {}};
18}
void reg_phases(Flags2Phases &phases)
Definition affine.cpp:12
static void hook(Flags2Phases &phases)
Definition phase.h:70
#define MIM_EXPORT
Definition config.h:21
void register_normalizers(Normalizers &normalizers)
Definition ast.h:16
absl::flat_hash_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
mim::Plugin mim_get_plugin()
#define MIM_VERSION
Definition plugin.h:149
Basic info and registration function pointer to be returned from a specific plugin.
Definition plugin.h:154