MimIR
0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
math.cpp
Go to the documentation of this file.
1
#include "
mim/plug/math/math.h
"
2
3
#include <
mim/config.h
>
4
5
#include <
mim/pass/pass.h
>
6
7
using namespace
mim
;
8
9
extern
"C"
MIM_EXPORT
Plugin
mim_get_plugin
() {
10
return
{
"math"
, [](
Normalizers
& normalizers) {
plug::math::register_normalizers
(normalizers); },
nullptr
,
nullptr
};
11
}
config.h
MIM_EXPORT
#define MIM_EXPORT
Definition
config.h:16
math.h
mim::plug::math::register_normalizers
void register_normalizers(Normalizers &normalizers)
mim
Definition
cfg.h:11
mim::mim_get_plugin
MIM_EXPORT mim::Plugin mim_get_plugin()
mim::Normalizers
absl::flat_hash_map< flags_t, NormalizeFn > Normalizers
Definition
plugin.h:19
pass.h
mim::Plugin
Basic info and registration function pointer to be returned from a specific plugin.
Definition
plugin.h:29
src
mim
plug
math
math.cpp
Generated by
1.12.0