MimIR
0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
affine.cpp
Go to the documentation of this file.
1
#include "
mim/plug/affine/affine.h
"
2
3
#include <
mim/config.h
>
4
#include <
mim/rewrite.h
>
5
6
#include <
mim/analyses/scope.h
>
7
#include <
mim/pass/pass.h
>
8
#include <
mim/pass/pipelinebuilder.h
>
9
10
#include "
mim/plug/affine/pass/lower_for.h
"
11
12
using namespace
mim
;
13
using namespace
mim::plug
;
14
15
extern
"C"
MIM_EXPORT
Plugin
mim_get_plugin
() {
16
return
{
"affine"
,
nullptr
, [](
Passes
& passes) {
register_pass<affine::lower_for_pass, affine::LowerFor>
(passes); },
17
nullptr
};
18
}
affine.h
config.h
MIM_EXPORT
#define MIM_EXPORT
Definition
config.h:16
lower_for.h
mim::plug
Definition
affine.h:7
mim
Definition
cfg.h:11
mim::Passes
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
mim::register_pass
void register_pass(Passes &passes, CArgs &&... args)
Definition
pipelinebuilder.h:47
mim::mim_get_plugin
MIM_EXPORT mim::Plugin mim_get_plugin()
pass.h
pipelinebuilder.h
rewrite.h
scope.h
mim::Plugin
Basic info and registration function pointer to be returned from a specific plugin.
Definition
plugin.h:29
src
mim
plug
affine
affine.cpp
Generated by
1.12.0