MimIR
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/phase.h>
4
5namespace mim::plug::regex {
6
7/// Lowers a regex axm application to a DFA matcher function.
8class LowerRegex : public RWPhase {
9public:
10 using RWPhase::RWPhase;
11
12 const Def* rewrite_imm_App(const App*) final;
13};
14
15} // namespace mim::plug::regex
Base class for all Defs.
Definition def.h:289
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition phase.h:334
Lowers a regex axm application to a DFA matcher function.
Definition lower_regex.h:8
const Def * rewrite_imm_App(const App *) final
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition phase.h:334
The regex Plugin
Definition lower_regex.h:5