GCC Middle and Back End API Reference
|
#include <wide-int.h>
Public Member Functions | |
wide_int_ref_storage () | |
wide_int_ref_storage (const wi::storage_ref &) | |
template<typename T > | |
wide_int_ref_storage (const T &) | |
template<typename T > | |
wide_int_ref_storage (const T &, unsigned int) | |
unsigned int | get_len () const |
unsigned int | get_precision () const |
const HOST_WIDE_INT * | get_val () const |
Data Fields | |
const HOST_WIDE_INT * | val |
unsigned int | len |
unsigned int | precision |
Private Attributes | |
HOST_WIDE_INT | scratch [2] |
wi::storage_ref can be a reference to a primitive type, so this is the conservatively-correct setting.
Provide the storage for a wide_int_ref. This acts like a read-only wide_int, with the optimization that VAL is normally a pointer to another integer's storage, so that no array copy is needed.
|
inline |
|
inline |
Create a reference from an existing reference.
|
inline |
Create a reference to integer X in its natural precision. Note that the natural precision is host-dependent for primitive types.
|
inline |
Create a reference to integer X in precision PRECISION.
|
inlineinherited |
|
inlineinherited |
References wi::precision.
|
inlineinherited |
|
inherited |
|
inherited |
|
private |
|
inherited |