|
MimIR 0.1
MimIR is my Intermediate Representation
|
Matches a dispatch through a jump table of the form: (target_0, target_1, ...)#index arg where index is not a Literal.
More...
#include <mim/tuple.h>
Public Member Functions | |
| Dispatch (const Def *) | |
| operator bool () const noexcept | |
| const App * | app () const |
| const Def * | callee () const |
| const Def * | arg () const |
| const Extract * | extract () const |
| const Def * | tuple () const |
| const Def * | index () const |
| size_t | num_targets () const |
| const Def * | target (size_t i) const |
Matches a dispatch through a jump table of the form: (target_0, target_1, ...)#index arg where index is not a Literal.
| mim::Dispatch::Dispatch | ( | const Def * | def | ) |
Definition at line 67 of file tuple.cpp.
References app(), extract(), and mim::Lit::isa().
|
inline |
Definition at line 310 of file tuple.h.
Referenced by arg(), callee(), and Dispatch().
| const Def * mim::Dispatch::arg | ( | ) | const |
Definition at line 79 of file tuple.cpp.
References app(), and mim::App::arg().
| const Def * mim::Dispatch::callee | ( | ) | const |
Definition at line 78 of file tuple.cpp.
References app(), and mim::App::callee().
|
inline |
Definition at line 314 of file tuple.h.
Referenced by Dispatch(), index(), num_targets(), and tuple().
|
inline |
|
inline |
Definition at line 318 of file tuple.h.
References mim::Lit::as(), extract(), and tuple().
|
inlineexplicitnoexcept |
|
inline |
|
inline |
Definition at line 315 of file tuple.h.
References extract().
Referenced by num_targets(), and target().