Thorin 1.9.0
The Higher ORder INtermediate representation
|
References a user. More...
#include <thorin/def.h>
Public Member Functions | |
Use () | |
Use (const Def *def, size_t index) | |
size_t | index () const |
const Def * | def () const |
operator const Def * () const | |
const Def * | operator-> () const |
bool | operator== (Use other) const |
Static Public Attributes | |
static constexpr size_t | Type = -1_s |
References a user.
A Def u
which uses Def d
as i^th
operand is a Use with Use::index i
of Def d
.
|
inline |
Definition at line 118 of file def.h.
Referenced by thorin::UseHash::operator()().
|
staticconstexpr |
Definition at line 111 of file def.h.
Referenced by thorin::Def::Def(), thorin::Def::set_type(), and thorin::Def::unset_type().