llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
#include <core/ref.h>
Public Member Functions | |
T * | Get () const |
T * | operator-> () const |
T & | operator* () const |
unsigned | Index () const |
template<typename U = T> | |
std::enable_if< std::is_base_of< Inst, U >::value, Type >::type | GetType () const |
operator bool () const | |
bool | operator== (const RefBase< T > &that) const |
bool | operator!= (const RefBase< T > &that) const |
Protected Member Functions | |
RefBase (T *inst, unsigned index) | |
Protected Attributes | |
T * | inst_ |
Instruction pointed to. | |
unsigned | index_ |
Index of the return value in the instruction. | |
Base class for all references.