Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
remove_perm.h
Go to the documentation of this file.
1#pragma once
2
3#include <thorin/def.h>
4
5#include <thorin/pass/pass.h>
6
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 Ref rewrite(Ref) override;
16};
17
18} // namespace thorin::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:87
Removes all refly.debug.perm markers for code gen.
Definition remove_perm.h:10
The refly Plugin
Definition remove_perm.h:7