MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
direct.cpp
Go to the documentation of this file.
2
3#include <mim/plugin.h>
4
6
9
10using namespace mim;
11using namespace mim::plug;
12
14 return {"direct", [](Normalizers& normalizers) { direct::register_normalizers(normalizers); },
15 [](Passes& passes) {
18 },
19 nullptr};
20}
#define MIM_EXPORT
Definition config.h:16
void register_normalizers(Normalizers &normalizers)
Definition cfg.h:11
absl::flat_hash_map< flags_t, std::function< void(World &, PipelineBuilder &, const Def *)> > Passes
axiom ↦ (pipeline part) × (axiom application) → () The function should inspect Application to const...
Definition plugin.h:22
void register_pass(Passes &passes, CArgs &&... args)
MIM_EXPORT mim::Plugin mim_get_plugin()
absl::flat_hash_map< flags_t, NormalizeFn > Normalizers
Definition plugin.h:19
Basic info and registration function pointer to be returned from a specific plugin.
Definition plugin.h:29