GCC Middle and Back End API Reference
fixed_wide_int_storage< N > Class Template Reference

#include <wide-int.h>

Inheritance diagram for fixed_wide_int_storage< N >:

Public Member Functions

 fixed_wide_int_storage ()=default
 
template<typename T >
 fixed_wide_int_storage (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)
 

Static Public Member Functions

static FIXED_WIDE_INT (N) from(const wide_int_ref &
 
static FIXED_WIDE_INT (N) from_array(const HOST_WIDE_INT *
 

Data Fields

static signop
 
static unsigned int
 
static unsigned bool = true)
 

Private Attributes

HOST_WIDE_INT val [WIDE_INT_MAX_HWIS(N)]
 
unsigned int len
 

Detailed Description

template<int N>
class fixed_wide_int_storage< N >
The storage used by FIXED_WIDE_INT (N).   

Constructor & Destructor Documentation

◆ fixed_wide_int_storage() [1/2]

◆ fixed_wide_int_storage() [2/2]

template<int N>
template<typename T >
fixed_wide_int_storage< N >::fixed_wide_int_storage ( const T & x)
inline
Initialize the storage from integer X, in precision N.   

References wi::copy(), FIXED_WIDE_INT, N, WI_BINARY_RESULT, and WIDE_INT_REF_FOR.

Member Function Documentation

◆ FIXED_WIDE_INT() [1/2]

template<int N>
static fixed_wide_int_storage< N >::FIXED_WIDE_INT ( N ) const &
static

◆ FIXED_WIDE_INT() [2/2]

template<int N>
static fixed_wide_int_storage< N >::FIXED_WIDE_INT ( N ) const
static

◆ get_len()

template<int N>
unsigned int fixed_wide_int_storage< N >::get_len ( ) const
inline

◆ get_precision()

template<int N>
unsigned int fixed_wide_int_storage< N >::get_precision ( ) const
inline

References N.

Referenced by omp_context_compute_score().

◆ get_val()

template<int N>
const HOST_WIDE_INT * fixed_wide_int_storage< N >::get_val ( ) const
inline

◆ set_len()

template<int N>
void fixed_wide_int_storage< N >::set_len ( unsigned int l,
bool = false )
inline

◆ write_val()

template<int N>
HOST_WIDE_INT * fixed_wide_int_storage< N >::write_val ( unsigned int )
inline

Field Documentation

◆ bool

template<int N>
unsigned fixed_wide_int_storage< N >::bool = true)

◆ int

template<int N>
unsigned fixed_wide_int_storage< N >::int

◆ len

template<int N>
unsigned int fixed_wide_int_storage< N >::len
private

◆ signop

◆ val

template<int N>
HOST_WIDE_INT fixed_wide_int_storage< N >::val[WIDE_INT_MAX_HWIS(N)]
private

The documentation for this class was generated from the following file: