MimIR 0.1
MimIR is my Intermediate Representation
|
#include <mim/rewrite.h>
Public Member Functions | |
VarRewriter (Ref var, Ref arg) | |
Ref | rewrite_imm (Ref imm) override |
Ref | rewrite_mut (Def *mut) override |
Public Member Functions inherited from mim::Rewriter | |
Rewriter (World &world) | |
World & | world () |
Ref | map (Ref old_def, Ref new_def) |
Map old_def to new_def and returns new_def ;. | |
virtual Ref | rewrite (Ref) |
Definition at line 33 of file rewrite.h.
References mim::Rewriter::map(), mim::World::vars(), and mim::Rewriter::world().
Reimplemented from mim::Rewriter.
Definition at line 43 of file rewrite.h.
References mim::PooledSet< T >::empty(), mim::Def::local_muts(), mim::Def::local_vars(), and mim::Rewriter::rewrite_imm().
Reimplemented from mim::Rewriter.
Definition at line 48 of file rewrite.h.
References mim::Def::free_vars(), mim::Def::has_var(), mim::World::insert(), mim::Rewriter::map(), mim::Rewriter::rewrite_mut(), and mim::Rewriter::world().