9 , prefix_(
std::move(prefix)) {}
12 if (mut->
sym().view().starts_with(prefix_)) {
void transfer_external(Def *to)
void rewrite_external(Def *) final
PrefixCleanup(World &, std::string prefix="internal_")
World & new_world()
Create new Defs into this.
RWPhase(World &world, std::string name)
World & world()=delete
Hides both and forbids direct access.
virtual const Def * rewrite(const Def *)
The World represents the whole program and manages creation of MimIR nodes (Defs).