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
5namespace mim {
6
7class PrefixCleanup : public RWPhase {
8public:
9 PrefixCleanup(World&, std::string prefix = "internal_");
10
11private:
12 void rewrite_external(Def*) final;
13
14 std::string prefix_;
15};
16
17} // namespace mim
Base class for all Defs.
Definition def.h:251
void rewrite_external(Def *) final
PrefixCleanup(World &, std::string prefix="internal_")
RWPhase(World &world, std::string name)
Definition phase.h:73
The World represents the whole program and manages creation of MimIR nodes (Defs).
Definition world.h:36
Definition ast.h:14