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/pass.h
>
4
5
namespace
mim::plug::regex
{
6
7
class
LowerRegex
:
public
RWPass
<LowerRegex, Lam> {
8
public
:
9
LowerRegex
(
PassMan
&
man
)
10
:
RWPass
(
man
,
"lower_regex"
) {}
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:198
mim::Pass::man
PassMan & man()
Definition
pass.h:30
mim::Pass::PassMan
friend class PassMan
Definition
pass.h:101
mim::RWPass< LowerRegex, Lam >::RWPass
RWPass(PassMan &man, std::string_view name)
Definition
pass.h:222
mim::plug::regex::LowerRegex::LowerRegex
LowerRegex(PassMan &man)
Definition
lower_regex.h:9
mim::plug::regex::LowerRegex::rewrite
const Def * rewrite(const Def *) override
Definition
lower_regex.cpp:24
mim::plug::regex
The regex Plugin
Definition
lower_regex.h:5
pass.h
include
mim
plug
regex
pass
lower_regex.h
Generated by
1.13.2