MimIR 0.1
MimIR is my Intermediate Representation
|
References a user. More...
#include <mim/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 117 of file def.h.
Referenced by mim::UseHash::operator()().
|
staticconstexpr |
Definition at line 110 of file def.h.
Referenced by mim::Def::Def(), mim::Def::set_type(), and mim::Def::unset_type().