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:
12
13 const Def* rewrite_imm_App(const App*) final;
14};
15
16} // namespace mim::plug::regex
Base class for all Defs.
Definition def.h:261
flags_t annex() const
Definition phase.h:81
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition phase.h:316
World & world()=delete
Hides both and forbids direct access.
The World represents the whole program and manages creation of MimIR nodes (Defs).
Definition world.h:36
LowerRegex(World &world, flags_t annex)
Definition lower_regex.h:10
const Def * rewrite_imm_App(const App *) final
The regex Plugin
Definition lower_regex.h:5
u64 flags_t
Definition types.h:39