MimIR
0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
prefix_cleanup.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
mim/phase/phase.h
"
4
5
namespace
mim
{
6
7
class
PrefixCleanup
:
public
RWPhase
{
8
public
:
9
PrefixCleanup
(
World
&, std::string prefix =
"internal_"
);
10
11
private
:
12
void
rewrite_external
(
Def
*)
final
;
13
14
std::string prefix_;
15
};
16
17
}
// namespace mim
mim::Def
Base class for all Defs.
Definition
def.h:251
mim::PrefixCleanup::rewrite_external
void rewrite_external(Def *) final
Definition
prefix_cleanup.cpp:11
mim::PrefixCleanup::PrefixCleanup
PrefixCleanup(World &, std::string prefix="internal_")
Definition
prefix_cleanup.cpp:7
mim::RWPhase::RWPhase
RWPhase(World &world, std::string name)
Definition
phase.h:73
mim::World
The World represents the whole program and manages creation of MimIR nodes (Defs).
Definition
world.h:36
mim
Definition
ast.h:14
phase.h
include
mim
phase
prefix_cleanup.h
Generated by
1.13.2