MimIR
0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
remem_elim.cpp
Go to the documentation of this file.
1
#include "mim/pass/rw/remem_elim.h"
2
3
namespace
mim
{
4
5
const
Def
* RememElim::rewrite(
const
Def
* def) {
6
if
(
auto
remem
= isa<Tag::Remem>(def))
return
remem
->arg();
7
return
def;
8
}
9
10
}
// namespace mim
mim::Def
Base class for all Defs.
Definition
def.h:223
mim::plug::mem::remem
remem
Definition
autogen.h:51
mim
Definition
cfg.h:11
src
mim
pass
remem_elim.cpp
Generated by
1.12.0