MimIR
0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
remem_elim.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mim/pass/pass.h
>
4
5
namespace
mim::plug::mem
{
6
7
class
RememElim
:
public
RWPass
<RememElim, Lam> {
8
public
:
9
RememElim
(
PassMan
&
man
)
10
:
RWPass
(
man
,
"remem_elim"
) {}
11
12
Ref
rewrite
(
Ref
)
override
;
13
};
14
15
}
// namespace mim::plug::mem
mim::PassMan
An optimizer that combines several optimizations in an optimal way.
Definition
pass.h:107
mim::Pass::man
PassMan & man()
Definition
pass.h:30
mim::RWPass
Inherit from this class using CRTP, if your Pass does not need state and a fixed-point iteration.
Definition
pass.h:220
mim::Ref
Helper class to retrieve Infer::arg if present.
Definition
def.h:86
mim::plug::mem::RememElim
Definition
remem_elim.h:7
mim::plug::mem::RememElim::rewrite
Ref rewrite(Ref) override
Definition
remem_elim.cpp:5
mim::plug::mem::RememElim::RememElim
RememElim(PassMan &man)
Definition
remem_elim.h:9
mim::plug::mem
The mem Plugin
Definition
mem.h:11
pass.h
include
mim
plug
mem
pass
remem_elim.h
Generated by
1.12.0