MimIR
0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
lower_regex.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mim/pass.h
>
4
5
namespace
mim::plug::regex
{
6
7
class
LowerRegex
:
public
RWPass
<LowerRegex, Lam> {
8
public
:
9
LowerRegex
(
World
&
world
,
flags_t
annex
)
10
:
RWPass
(
world
,
annex
) {}
11
12
const
Def
*
rewrite
(
const
Def
*)
override
;
13
};
14
15
}
// namespace mim::plug::regex
mim::Def
Base class for all Defs.
Definition
def.h:251
mim::RWPass< LowerRegex, Lam >::RWPass
RWPass(World &world, std::string name)
Definition
pass.h:295
mim::Stage::world
World & world()
Definition
pass.h:64
mim::Stage::annex
flags_t annex() const
Definition
pass.h:68
mim::World
The World represents the whole program and manages creation of MimIR nodes (Defs).
Definition
world.h:32
mim::plug::regex::LowerRegex::LowerRegex
LowerRegex(World &world, flags_t annex)
Definition
lower_regex.h:9
mim::plug::regex::LowerRegex::rewrite
const Def * rewrite(const Def *) override
Definition
lower_regex.cpp:23
mim::plug::regex
The regex Plugin
Definition
lower_regex.h:5
mim::flags_t
u64 flags_t
Definition
types.h:45
pass.h
include
mim
plug
regex
pass
lower_regex.h
Generated by
1.13.2