MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
matrix.cpp
Go to the documentation of this file.
2
3#include <mim/phase.h>
4#include <mim/plugin.h>
5
9
10using namespace mim;
11using namespace mim::plug;
12
13void reg_phases(Flags2Phases& phases) {
14 // clang-format off
18 // clang-format on
19 // The matrix-to-pointer lowering now lives in the `buffer` plugin (%buffer.lower_ptr).
20}
21
void reg_phases(Flags2Phases &phases)
Definition affine.cpp:12
static void hook(Flags2Phases &phases)
Definition phase.h:70
#define MIM_EXPORT
Definition config.h:19
void reg_phases(Flags2Phases &phases)
Definition matrix.cpp:13
void register_normalizers(Normalizers &normalizers)
Definition ast.h:14
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:25
mim::Plugin mim_get_plugin()
#define MIM_VERSION
Definition plugin.h:54
Basic info and registration function pointer to be returned from a specific plugin.
Definition plugin.h:59