MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
remove_perm.h
Go to the documentation of this file.
1#pragma once
2
3#include <mim/def.h>
4
5#include <mim/pass/pass.h>
6
7namespace mim::plug::refly {
8
9/// Removes all `%refly.debug.perm` markers for code gen.
10class RemoveDbgPerm : public RWPass<RemoveDbgPerm, Lam> {
11public:
13 : RWPass(man, "remove_dbg_perm") {}
14
15 const Def* rewrite(const Def*) override;
16};
17
18} // namespace mim::plug::refly
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 refly Plugin
Definition remove_perm.h:7