GCC Middle and Back End API Reference
trailing_wide_int_storage Class Reference

#include <wide-int.h>

Public Member Functions

 trailing_wide_int_storage (unsigned int, unsigned short *, HOST_WIDE_INT *)
 
unsigned int get_len () const
 
unsigned int get_precision () const
 
const HOST_WIDE_INT * get_val () const
 
HOST_WIDE_INT * write_val (unsigned int)
 
void set_len (unsigned int, bool=false)
 
template<typename T >
trailing_wide_int_storageoperator= (const T &)
 

Private Attributes

unsigned int m_precision
 
unsigned short * m_len
 
HOST_WIDE_INT * m_val
 

Detailed Description

A reference to one element of a trailing_wide_ints structure.   

Constructor & Destructor Documentation

◆ trailing_wide_int_storage()

trailing_wide_int_storage::trailing_wide_int_storage ( unsigned int precision,
unsigned short * len,
HOST_WIDE_INT * val )
inline

Member Function Documentation

◆ get_len()

unsigned int trailing_wide_int_storage::get_len ( ) const
inline

References m_len.

◆ get_precision()

unsigned int trailing_wide_int_storage::get_precision ( ) const
inline

References m_precision.

◆ get_val()

const HOST_WIDE_INT * trailing_wide_int_storage::get_val ( ) const
inline

References m_val.

◆ operator=()

template<typename T >
trailing_wide_int_storage & trailing_wide_int_storage::operator= ( const T & x)
inline

◆ set_len()

void trailing_wide_int_storage::set_len ( unsigned int len,
bool is_sign_extended = false )
inline

◆ write_val()

HOST_WIDE_INT * trailing_wide_int_storage::write_val ( unsigned int )
inline

References m_val.

Field Documentation

◆ m_len

unsigned short* trailing_wide_int_storage::m_len
private

Referenced by get_len(), and set_len().

◆ m_precision

unsigned int trailing_wide_int_storage::m_precision
private

Referenced by get_precision(), operator=(), and set_len().

◆ m_val

HOST_WIDE_INT* trailing_wide_int_storage::m_val
private

Referenced by get_val(), set_len(), and write_val().


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