MimIR
0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
debug_print.cpp
Go to the documentation of this file.
1
#include "
mim/plug/compile/pass/debug_print.h
"
2
3
#include <
mim/lam.h
>
4
5
#include "
mim/plug/compile/compile.h
"
6
7
namespace
mim::plug::compile
{
8
9
void
DebugPrint::enter
() {
10
if
(level >= 2)
world
().DLOG(
"L{}: enter {}"
, level,
curr_mut
());
11
}
12
13
}
// namespace mim::plug::compile
mim::Pass::world
World & world()
Definition
pass.h:296
mim::RWPass< DebugPrint, Lam >::curr_mut
Lam * curr_mut() const
Definition
pass.h:232
mim::plug::compile::DebugPrint::enter
void enter() override
Invoked just before Pass::rewriteing PassMan::curr_mut's body.
Definition
debug_print.cpp:9
compile.h
debug_print.h
lam.h
mim::plug::compile
The compile Plugin
Definition
compile.h:8
src
mim
plug
compile
pass
debug_print.cpp
Generated by
1.12.0