GCC Middle and Back End API Reference
fixed_size_mode Class Reference

#include <machmode.h>

Public Types

typedef mode_traits< fixed_size_mode >::from_int from_int
 
typedef unsigned short measurement_type
 

Public Member Functions

ALWAYS_INLINE fixed_size_mode ()
 
ALWAYS_INLINE CONSTEXPR fixed_size_mode (from_int m)
 
ALWAYS_INLINE CONSTEXPR fixed_size_mode (const scalar_mode &m)
 
ALWAYS_INLINE CONSTEXPR fixed_size_mode (const scalar_int_mode &m)
 
ALWAYS_INLINE CONSTEXPR fixed_size_mode (const scalar_float_mode &m)
 
ALWAYS_INLINE CONSTEXPR fixed_size_mode (const scalar_mode_pod &m)
 
ALWAYS_INLINE CONSTEXPR fixed_size_mode (const scalar_int_mode_pod &m)
 
ALWAYS_INLINE CONSTEXPR fixed_size_mode (const complex_mode &m)
 
ALWAYS_INLINE CONSTEXPR operator machine_mode () const
 

Static Public Member Functions

static bool includes_p (machine_mode)
 

Protected Attributes

machine_mode m_mode
 

Detailed Description

Represents a machine mode that must have a fixed size.  The main
use of this class is to represent the modes of objects that always
have static storage duration, such as constant pool entries.
(No current target supports the concept of variable-size static data.)   

Member Typedef Documentation

◆ from_int

◆ measurement_type

Constructor & Destructor Documentation

◆ fixed_size_mode() [1/8]

ALWAYS_INLINE fixed_size_mode::fixed_size_mode ( )
inline

◆ fixed_size_mode() [2/8]

ALWAYS_INLINE CONSTEXPR fixed_size_mode::fixed_size_mode ( from_int m)
inline

◆ fixed_size_mode() [3/8]

ALWAYS_INLINE CONSTEXPR fixed_size_mode::fixed_size_mode ( const scalar_mode & m)
inline

◆ fixed_size_mode() [4/8]

ALWAYS_INLINE CONSTEXPR fixed_size_mode::fixed_size_mode ( const scalar_int_mode & m)
inline

◆ fixed_size_mode() [5/8]

ALWAYS_INLINE CONSTEXPR fixed_size_mode::fixed_size_mode ( const scalar_float_mode & m)
inline

◆ fixed_size_mode() [6/8]

ALWAYS_INLINE CONSTEXPR fixed_size_mode::fixed_size_mode ( const scalar_mode_pod & m)
inline

◆ fixed_size_mode() [7/8]

ALWAYS_INLINE CONSTEXPR fixed_size_mode::fixed_size_mode ( const scalar_int_mode_pod & m)
inline

◆ fixed_size_mode() [8/8]

ALWAYS_INLINE CONSTEXPR fixed_size_mode::fixed_size_mode ( const complex_mode & m)
inline

Member Function Documentation

◆ includes_p()

bool fixed_size_mode::includes_p ( machine_mode mode)
inlinestatic
Return true if MODE has a fixed size.   

References poly_int< N, C >::is_constant(), and mode_to_bytes().

◆ operator machine_mode()

ALWAYS_INLINE CONSTEXPR fixed_size_mode::operator machine_mode ( ) const
inline

References m_mode.

Field Documentation

◆ m_mode

machine_mode fixed_size_mode::m_mode
protected

Referenced by operator machine_mode().


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