MimIR
0.1
MimIR is my Intermediate Representation
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
}
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