MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
affine.cpp
Go to the documentation of this file.
2
3#include <mim/config.h>
4#include <mim/rewrite.h>
5
7#include <mim/pass/pass.h>
9
11
12using namespace mim;
13using namespace mim::plug;
14
16 return {"affine", nullptr, [](Passes& passes) { register_pass<affine::lower_for_pass, affine::LowerFor>(passes); },
17 nullptr};
18}
#define MIM_EXPORT
Definition config.h:16
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()
Basic info and registration function pointer to be returned from a specific plugin.
Definition plugin.h:29