GCC Middle and Back End API Reference
scalar_int_mode Class Reference

#include <machmode.h>

Public Types

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

Public Member Functions

ALWAYS_INLINE scalar_int_mode ()
 
ALWAYS_INLINE CONSTEXPR scalar_int_mode (from_int 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 is known to be a SCALAR_INT_MODE_P.   

Member Typedef Documentation

◆ from_int

◆ measurement_type

Constructor & Destructor Documentation

◆ scalar_int_mode() [1/2]

ALWAYS_INLINE scalar_int_mode::scalar_int_mode ( )
inline

◆ scalar_int_mode() [2/2]

ALWAYS_INLINE CONSTEXPR scalar_int_mode::scalar_int_mode ( from_int m)
inline

Member Function Documentation

◆ includes_p()

bool scalar_int_mode::includes_p ( machine_mode m)
inlinestatic
Return true if M is a scalar_int_mode.   

References SCALAR_INT_MODE_P.

◆ operator machine_mode()

ALWAYS_INLINE CONSTEXPR scalar_int_mode::operator machine_mode ( ) const
inline

References m_mode.

Field Documentation

◆ m_mode

machine_mode scalar_int_mode::m_mode
protected

Referenced by operator machine_mode().


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