GCC Middle and Back End API Reference
|
#include <wide-int.h>
Public Member Functions | |
widest_int_storage () | |
widest_int_storage (const widest_int_storage &) | |
template<typename T> | |
widest_int_storage (const T &) | |
~widest_int_storage () | |
widest_int_storage & | operator= (const widest_int_storage &) |
template<typename T> | |
widest_int_storage & | operator= (const T &) |
unsigned int | get_precision () const |
const HOST_WIDE_INT * | get_val () const |
unsigned int | get_len () const |
HOST_WIDE_INT * | write_val (unsigned int) |
void | set_len (unsigned int, bool=false) |
template<typename T> | |
widest_int_storage< N > & | operator= (const T &x) |
Static Public Member Functions | |
static | WIDEST_INT (N) from(const wide_int_ref & |
static | WIDEST_INT (N) from_array(const HOST_WIDE_INT * |
Data Fields | |
static | signop |
static unsigned | int |
static unsigned | bool = true) |
Private Attributes | ||
union { | ||
HOST_WIDE_INT val [WIDE_INT_MAX_INL_ELTS] | ||
HOST_WIDE_INT * valp | ||
} | u | |
unsigned int | len | |
The storage used by widest_int.
|
inline |
References len.
Referenced by operator=(), operator=(), and widest_int_storage().
|
inline |
References len, u, UNLIKELY, WIDE_INT_MAX_INL_ELTS, and widest_int_storage().
|
inline |
Initialize the storage from integer X, in precision N.
References wi::copy(), len, N, T, WI_BINARY_RESULT, WIDE_INT_REF_FOR, and WIDEST_INT().
|
inline |
References len, u, UNLIKELY, WIDE_INT_MAX_INL_ELTS, and ~widest_int_storage().
Referenced by ~widest_int_storage().
|
inline |
References len.
Referenced by streamer_write_widest_int().
|
inline |
References N.
Referenced by streamer_write_widest_int().
|
inline |
References len, u, UNLIKELY, and WIDE_INT_MAX_INL_ELTS.
|
inline |
References T, and widest_int_storage().
|
inline |
References wi::copy(), len, N, T, u, UNLIKELY, WI_BINARY_RESULT, WIDE_INT_MAX_INL_ELTS, WIDE_INT_REF_FOR, and WIDEST_INT().
|
inline |
References len, u, UNLIKELY, WIDE_INT_MAX_INL_ELTS, and widest_int_storage().
References bool, gcc_checking_assert, HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT_UC, len, N, STATIC_ASSERT(), u, UNLIKELY, valp, and WIDE_INT_MAX_INL_ELTS.
|
static |
Referenced by operator=(), and widest_int_storage().
|
static |
|
inline |
References HOST_WIDE_INT_UC, len, u, UNLIKELY, and WIDE_INT_MAX_INL_ELTS.
unsigned widest_int_storage< N >::bool = true) |
Referenced by set_len().
unsigned widest_int_storage< N >::int |
|
private |
Referenced by get_len(), get_val(), operator=(), operator=(), set_len(), WIDEST_INT(), widest_int_storage(), widest_int_storage(), widest_int_storage(), write_val(), and ~widest_int_storage().
widest_int_storage< N >::signop |
union { ... } widest_int_storage< N >::u |
Referenced by get_val(), operator=(), operator=(), set_len(), widest_int_storage(), write_val(), and ~widest_int_storage().
HOST_WIDE_INT widest_int_storage< N >::val[WIDE_INT_MAX_INL_ELTS] |
Referenced by WIDEST_INT().
HOST_WIDE_INT* widest_int_storage< N >::valp |
Referenced by set_len().