Thorin
1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
ret_wrap.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
thorin/pass/pass.h
"
4
5
namespace
thorin
{
6
7
class
RetWrap
:
public
RWPass
<RetWrap, Lam> {
8
public
:
9
RetWrap
(
PassMan
&
man
)
10
:
RWPass
(
man
,
"ret_wrap"
) {}
11
12
void
enter
()
override
;
13
};
14
15
}
// namespace thorin
thorin::PassMan
An optimizer that combines several optimizations in an optimal way.
Definition
pass.h:107
thorin::Pass::man
PassMan & man()
Definition
pass.h:30
thorin::RWPass
Inherit from this class using CRTP, if your Pass does not need state and a fixed-point iteration.
Definition
pass.h:220
thorin::RetWrap
Definition
ret_wrap.h:7
thorin::RetWrap::RetWrap
RetWrap(PassMan &man)
Definition
ret_wrap.h:9
thorin::RetWrap::enter
void enter() override
Invoked just before Pass::rewriteing PassMan::curr_mut's body.
Definition
ret_wrap.cpp:5
thorin
Definition
cfg.h:11
pass.h
include
thorin
pass
ret_wrap.h
Generated by
1.9.8