MimIR
0.3-dev
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
4
#include "
mim/plug/matrix/matrix.h
"
5
6
namespace
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.
11
const
Def
*
normalize_map_reduce
(
const
Def
*,
const
Def
*,
const
Def
*) {
return
{}; }
12
const
Def
*
normalize_prod
(
const
Def
*,
const
Def
*,
const
Def
*) {
return
{}; }
13
const
Def
*
normalize_transpose
(
const
Def
*,
const
Def
*,
const
Def
*) {
return
{}; }
14
15
MIM_matrix_NORMALIZER_IMPL
16
17
}
// namespace mim::plug::matrix
axm.h
mim::Def
Base class for all Defs.
Definition
def.h:261
MIM_matrix_NORMALIZER_IMPL
#define MIM_matrix_NORMALIZER_IMPL
Definition
autogen.h:115
matrix.h
mim::plug::matrix
The matrix Plugin
Definition
matrix.h:8
mim::plug::matrix::normalize_map_reduce
const Def * normalize_map_reduce(const Def *, const Def *, const Def *)
Definition
normalizers.cpp:11
mim::plug::matrix::normalize_prod
const Def * normalize_prod(const Def *, const Def *, const Def *)
Definition
normalizers.cpp:12
mim::plug::matrix::normalize_transpose
const Def * normalize_transpose(const Def *, const Def *, const Def *)
Definition
normalizers.cpp:13
world.h
src
mim
plug
matrix
normalizers.cpp
Generated by
1.16.1