MimIR
0.1
MimIR is my Intermediate Representation
Toggle main menu visibility
Main Page
Documentation
Mim Command-Line Reference
Mim Language Reference
Coding & Debugging
Developer Guide
Passes
Plugins
affine
autodiff
clos
compile
core
demo
direct
math
matrix
mem
opt
refly
regex
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
Variables
Typedefs
a
b
d
f
g
j
l
m
n
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
l
m
n
p
q
r
s
t
v
w
z
Enumerator
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
w
Typedefs
Enumerations
Enumerator
Related Symbols
a
b
c
d
f
i
l
n
o
p
s
w
Files
File List
File Members
All
a
c
d
e
g
h
i
m
r
v
w
Functions
Typedefs
Macros
a
c
d
e
g
h
i
m
v
w
▼
MimIR
►
Introduction
►
Documentation
►
Plugins
►
Namespaces
►
Concepts
►
Classes
▼
Files
▼
File List
►
build
docs
▼
include
►
automaton
▼
mim
►
ast
►
be
▼
pass
►
beta_red.h
►
eta_exp.h
►
eta_red.h
►
lam_spec.h
►
optimize.h
►
pass.h
►
pipelinebuilder.h
►
ret_wrap.h
►
scalarize.h
►
tail_rec_elim.h
►
phase
►
plug
►
util
►
axiom.h
►
check.h
►
def.h
►
driver.h
►
flags.h
►
lam.h
►
lattice.h
►
nest.h
►
normalize.h
►
plugin.h
►
rewrite.h
►
schedule.h
►
tuple.h
►
world.h
►
src
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
ret_wrap.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
mim/pass/pass.h
"
4
5
namespace
mim
{
6
7
class
RetWrap
:
public
RWPass
<RetWrap, Lam> {
8
public
:
9
RetWrap
(
PassMan
&
man
)
10
:
RWPass
(
man
,
"ret_wrap"
) {}
9
RetWrap
(
PassMan
&
man
) {
…
}
11
12
void
enter
()
override
;
13
};
7
class
RetWrap
:
public
RWPass
<RetWrap, Lam> {
…
};
14
15
}
// namespace mim
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::RetWrap
Definition
ret_wrap.h:7
mim::RetWrap::enter
void enter() override
Invoked just before Pass::rewriteing PassMan::curr_mut's body.
Definition
ret_wrap.cpp:5
mim::RetWrap::RetWrap
RetWrap(PassMan &man)
Definition
ret_wrap.h:9
mim
Definition
ast.h:14
pass.h
include
mim
pass
ret_wrap.h
Generated by
1.12.0