MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
normalizers.cpp
Go to the documentation of this file.
1#include "mim/axm.h"
2#include "mim/world.h"
3
5
6namespace mim::plug::matrix {
7
8// The element-level normalizers (read / insert / shape) now live in the `buffer` plugin.
9// These matrix normalizers are currently no-ops: the corresponding simplifications are performed by the lowering
10// phases instead.
11const Def* normalize_map_reduce(const Def*, const Def*, const Def*) { return {}; }
12const Def* normalize_prod(const Def*, const Def*, const Def*) { return {}; }
13const Def* normalize_transpose(const Def*, const Def*, const Def*) { return {}; }
14
16
17} // namespace mim::plug::matrix
Base class for all Defs.
Definition def.h:261
#define MIM_matrix_NORMALIZER_IMPL
Definition autogen.h:115
The matrix Plugin
Definition matrix.h:8
const Def * normalize_map_reduce(const Def *, const Def *, const Def *)
const Def * normalize_prod(const Def *, const Def *, const Def *)
const Def * normalize_transpose(const Def *, const Def *, const Def *)