MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
cps.cpp
Go to the documentation of this file.
1#include "mim/plug/cps/cps.h"
2
3#include <mim/plugin.h>
4
6
7using namespace mim;
8using namespace mim::plug;
9
11
12MIM_PLUGIN_ENTRY(cps) { plugin.register_phases = reg_phases; }
static void hook(Flags2Phases &phases)
Definition phase.h:51
static void reg_phases(Flags2Phases &phases)
Definition cps.cpp:10
The CPS Plugin
Definition cps.h:8
Definition ast.h:16
ankerl::unordered_dense::map< flags_t, std::function< std::unique_ptr< Phase >(World &)> > Flags2Phases
Maps an axiom of a Phase to a function that creates one.
Definition plugin.h:30
#define MIM_PLUGIN_ENTRY(p)
Defines a Plugin's entry point; the body fills in the plugin handed to it, as in MIM_PLUGIN_ENTRY(dem...
Definition plugin.h:196