MimIR
0.5-dev
MimIR is my Intermediate Representation
Toggle main menu visibility
Loading...
Searching...
No Matches
lower_regex.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mim/phase.h
>
4
5
namespace
mim::plug::regex
{
6
7
/// Lowers a regex axm application to a DFA matcher function.
8
class
LowerRegex
:
public
RWPhase
{
9
public
:
10
using
RWPhase::RWPhase
;
11
12
const
Def
*
rewrite_imm_App
(
const
App
*)
final
;
13
};
14
15
}
// namespace mim::plug::regex
mim::App
Definition
lam.h:215
mim::Def
Base class for all Defs.
Definition
def.h:289
mim::RWPhase::RWPhase
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition
phase.h:334
mim::plug::regex::LowerRegex
Lowers a regex axm application to a DFA matcher function.
Definition
lower_regex.h:8
mim::plug::regex::LowerRegex::rewrite_imm_App
const Def * rewrite_imm_App(const App *) final
Definition
lower_regex.cpp:24
mim::plug::regex::LowerRegex::RWPhase
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition
phase.h:334
mim::plug::regex
The regex Plugin
Definition
lower_regex.h:5
phase.h
include
mim
plug
regex
phase
lower_regex.h
Generated by
1.18.0