GCC Middle and Back End API Reference
scalar_mode Class Reference

#include <machmode.h>

Public Types

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

Public Member Functions

ALWAYS_INLINE scalar_mode ()
 
ALWAYS_INLINE CONSTEXPR scalar_mode (from_int m)
 
ALWAYS_INLINE CONSTEXPR scalar_mode (const scalar_int_mode &m)
 
ALWAYS_INLINE CONSTEXPR scalar_mode (const scalar_float_mode &m)
 
ALWAYS_INLINE CONSTEXPR scalar_mode (const scalar_int_mode_pod &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 scalar.   

Member Typedef Documentation

◆ from_int

◆ measurement_type

Constructor & Destructor Documentation

◆ scalar_mode() [1/5]

ALWAYS_INLINE scalar_mode::scalar_mode ( )
inline

◆ scalar_mode() [2/5]

ALWAYS_INLINE CONSTEXPR scalar_mode::scalar_mode ( from_int m)
inline

◆ scalar_mode() [3/5]

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

◆ scalar_mode() [4/5]

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

◆ scalar_mode() [5/5]

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

Member Function Documentation

◆ includes_p()

bool scalar_mode::includes_p ( machine_mode m)
inlinestatic
Return true if M represents some kind of scalar value.   

References GET_MODE_CLASS, and ggc_alloc().

◆ operator machine_mode()

ALWAYS_INLINE CONSTEXPR scalar_mode::operator machine_mode ( ) const
inline

References m_mode.

Field Documentation

◆ m_mode

machine_mode scalar_mode::m_mode
protected

Referenced by operator machine_mode().


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