|
MimIR 0.1
MimIR is my Intermediate Representation
|
#include <mim/world.h>
Public Member Functions | |
Get syms/muts | |
| const auto & | sym2mut () const |
| auto | syms () const |
| auto | muts () const |
| Vector< Def * > | mutate () const |
Returns a copy of muts() in a Vector; this allows you modify the Externals while iterating. | |
| Def * | operator[] (Sym name) const |
Lookup by name. | |
externalize/internalize | |
| void | externalize (Def *) |
| void | internalize (Def *) |
Iterators | |
| auto | begin () const |
| auto | end () const |
Friends | |
| void | swap (Externals &ex1, Externals &ex2) noexcept |
| void mim::World::Externals::externalize | ( | Def * | def | ) |
Definition at line 27 of file world.cpp.
References mim::assert_emplace(), mim::Def::is_closed(), mim::Def::is_external(), and mim::Def::sym().
Referenced by mim::Def::externalize().
| void mim::World::Externals::internalize | ( | Def * | def | ) |
Definition at line 34 of file world.cpp.
References mim::Def::is_external(), and mim::Def::sym().
Referenced by mim::Def::internalize().
Returns a copy of muts() in a Vector; this allows you modify the Externals while iterating.
Definition at line 212 of file world.h.
References mim::World::muts().
Referenced by mim::optimize().
|
inline |
Lookup by name.
Definition at line 213 of file world.h.
References mim::lookup(), and mim::World::name().
|
inline |