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#include <mim/pass/pass.h>
5
6namespace mim::plug::refly {
7
8/// Removes all `%refly.debug.perm` markers for code gen.
9class RemoveDbgPerm : public RWPass<RemoveDbgPerm, Lam> {
10public:
12 : RWPass(man, "remove_dbg_perm") {}
13
14 Ref rewrite(Ref) override;
15};
16
17} // namespace mim::plug::refly
An optimizer that combines several optimizations in an optimal way.
Definition pass.h:107
PassMan & man()
Definition pass.h:30
Inherit from this class using CRTP, if your Pass does not need state and a fixed-point iteration.
Definition pass.h:220
Helper class to retrieve Infer::arg if present.
Definition def.h:86
Removes all refly.debug.perm markers for code gen.
Definition remove_perm.h:9
The refly Plugin
Definition remove_perm.h:6