Matches (ff, tt)#cond - where cond is a Bool but not a Literal. More...
#include <mim/tuple.h>
Public Member Functions | |
| Select (const Def *) | |
| const Def * | pair () const |
| const Def * | cond () const |
| const Def * | tt () const |
| const Def * | ff () const |
| Public Member Functions inherited from mim::Switch | |
| Switch (const Def *) | |
| operator bool () const noexcept | |
| const Extract * | extract () const |
| const Def * | tuple () const |
| const Def * | index () const |
| size_t | num_targets () const |
| const Def * | target (size_t i) const |
Additional Inherited Members | |
| Protected Attributes inherited from mim::Switch | |
| const Extract * | extract_ = nullptr |
Matches (ff, tt)#cond - where cond is a Bool but not a Literal.
| mim::Select::Select | ( | const Def * | def | ) |
Definition at line 92 of file tuple.cpp.
References mim::Switch::extract_, mim::Switch::num_targets(), and mim::Switch::Switch().
Referenced by mim::Branch::Branch().
|
inline |
Definition at line 434 of file tuple.h.
References mim::Switch::index().
|
inline |
Definition at line 436 of file tuple.h.
References mim::Switch::target().
|
inline |
Definition at line 433 of file tuple.h.
References mim::Switch::tuple().
|
inline |
Definition at line 435 of file tuple.h.
References mim::Switch::target().