Thorin
1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
math.cpp
Go to the documentation of this file.
1
#include "
thorin/plug/math/math.h
"
2
3
#include <
thorin/config.h
>
4
5
#include <
thorin/pass/pass.h
>
6
7
using namespace
thorin
;
8
9
extern
"C"
THORIN_EXPORT
Plugin
thorin_get_plugin
() {
10
return
{
"math"
, [](
Normalizers
& normalizers) {
plug::math::register_normalizers
(normalizers); },
nullptr
,
nullptr
};
11
}
config.h
THORIN_EXPORT
#define THORIN_EXPORT
Definition
config.h:16
math.h
thorin::plug::math::register_normalizers
void register_normalizers(Normalizers &normalizers)
thorin
Definition
cfg.h:11
thorin::thorin_get_plugin
THORIN_EXPORT thorin::Plugin thorin_get_plugin()
To be implemented and exported by a plugin.
thorin::Normalizers
absl::flat_hash_map< flags_t, NormalizeFn > Normalizers
Definition
plugin.h:19
pass.h
thorin::Plugin
Basic info and registration function pointer to be returned from a specific plugin.
Definition
plugin.h:29
src
thorin
plug
math
math.cpp
Generated by
1.9.8