MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
remem_elim.cpp
Go to the documentation of this file.
2
3#include "mim/plug/mem/mem.h"
4
5namespace mim::plug::mem {
6
7Ref RememElim::rewrite(Ref def) {
8 if (auto remem = match<mem::remem>(def)) return remem->arg();
9 return def;
10}
11
12} // namespace mim::plug::mem
Ref rewrite(Ref) override
Definition remem_elim.cpp:5
The mem Plugin
Definition mem.h:10
auto match(Ref def)
Definition axiom.h:105