llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
#include <core/ref.h>
Public Member Functions | |
ConstRef (const T &inst, unsigned idx=0) | |
ConstRef (const T *inst, unsigned idx=0) | |
ConstRef (const Ref< T > &ref) | |
template<typename U , class = typename std::enable_if<std::is_base_of<U, T>::value>::type> | |
operator ConstRef< U > () const | |
![]() | |
const T * | Get () const |
const T * | operator-> () const |
const T & | operator* () const |
unsigned | Index () const |
std::enable_if< std::is_base_of< Inst, U >::value, Type >::type | GetType () const |
operator bool () const | |
bool | operator== (const RefBase< const T > &that) const |
bool | operator!= (const RefBase< const T > &that) const |
Additional Inherited Members | |
![]() | |
RefBase (const T *inst, unsigned index) | |
![]() | |
const T * | inst_ |
Instruction pointed to. | |
unsigned | index_ |
Index of the return value in the instruction. | |
Constant reference to an instruction or a value.