Thorin
1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
lower_regex.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
thorin/pass/pass.h
>
4
5
namespace
thorin::plug::regex
{
6
7
class
LowerRegex
:
public
RWPass
<LowerRegex, Lam> {
8
public
:
9
LowerRegex
(
PassMan
&
man
)
10
:
RWPass
(
man
,
"lower_regex"
) {}
11
12
Ref
rewrite
(
Ref
)
override
;
13
};
14
15
}
// namespace thorin::plug::regex
thorin::PassMan
An optimizer that combines several optimizations in an optimal way.
Definition
pass.h:107
thorin::Pass::man
PassMan & man()
Definition
pass.h:30
thorin::RWPass
Inherit from this class using CRTP, if your Pass does not need state and a fixed-point iteration.
Definition
pass.h:220
thorin::Ref
Helper class to retrieve Infer::arg if present.
Definition
def.h:87
thorin::plug::regex::LowerRegex
Definition
lower_regex.h:7
thorin::plug::regex::LowerRegex::rewrite
Ref rewrite(Ref) override
Definition
lower_regex.cpp:24
thorin::plug::regex::LowerRegex::LowerRegex
LowerRegex(PassMan &man)
Definition
lower_regex.h:9
thorin::plug::regex
The regex Plugin
Definition
lower_regex.h:5
pass.h
include
thorin
plug
regex
pass
lower_regex.h
Generated by
1.9.8