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
5namespace mim::plug::regex {
6
7class LowerRegex : public RWPass<LowerRegex, Lam> {
8public:
10 : RWPass(man, "lower_regex") {}
11
12 const Def* rewrite(const Def*) override;
13};
14
15} // namespace mim::plug::regex
Base class for all Defs.
Definition def.h:198
PassMan & man()
Definition pass.h:30
friend class PassMan
Definition pass.h:101
RWPass(PassMan &man, std::string_view name)
Definition pass.h:222
const Def * rewrite(const Def *) override
The regex Plugin
Definition lower_regex.h:5