MimIR
0.1
MimIR is my Intermediate Representation
Toggle main menu visibility
Main Page
Documentation
Mim Command-Line Reference
Mim Language Reference
Coding & Debugging
Developer Guide
Passes
Plugins
affine
autodiff
clos
compile
core
demo
direct
math
matrix
mem
opt
refly
regex
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
Variables
Typedefs
a
b
d
f
g
j
l
m
n
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
j
l
m
n
p
q
r
s
t
v
w
z
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
a
b
c
d
f
g
i
l
m
n
o
p
r
s
t
w
Typedefs
Enumerations
Enumerator
Related Symbols
a
b
c
f
i
l
n
o
p
s
w
Files
File List
File Members
All
a
c
d
e
g
h
i
m
r
v
w
Functions
Typedefs
Macros
a
c
d
e
g
h
i
m
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
normalizers.cpp
Go to the documentation of this file.
1
#include "
mim/plug/clos/clos.h
"
2
3
namespace
mim::plug::clos
{
4
5
template
<attr o>
const
Def
*
normalize_clos
(
const
Def
*,
const
Def
*,
const
Def
* arg) {
6
return
o ==
attr::bottom
? arg :
nullptr
;
7
}
5
template
<attr o>
const
Def
*
normalize_clos
(
const
Def
*,
const
Def
*,
const
Def
* arg) {
…
}
8
9
MIM_clos_NORMALIZER_IMPL
10
11
}
// namespace mim::plug::clos
mim::Def
Base class for all Defs.
Definition
def.h:197
MIM_clos_NORMALIZER_IMPL
#define MIM_clos_NORMALIZER_IMPL
Definition
autogen.h:106
clos.h
mim::plug::clos
The clos Plugin
Definition
clos.h:7
mim::plug::clos::normalize_clos
const Def * normalize_clos(const Def *, const Def *, const Def *arg)
Definition
normalizers.cpp:5
mim::plug::clos::attr::bottom
@ bottom
Definition
autogen.h:47
src
mim
plug
clos
normalizers.cpp
Generated by
1.13.2