GCC Middle and Back End API Reference
|
#include <rtl.h>
Public Member Functions | |
subreg_shape (machine_mode, poly_uint16, machine_mode) | |
bool | operator== (const subreg_shape &) const |
bool | operator!= (const subreg_shape &) const |
unsigned HOST_WIDE_INT | unique_id () const |
Data Fields | |
machine_mode | inner_mode |
poly_uint16 | offset |
machine_mode | outer_mode |
Describes the shape of a subreg: inner_mode == the mode of the SUBREG_REG offset == the SUBREG_BYTE outer_mode == the mode of the SUBREG itself.
|
inline |
|
inline |
References operator==().
|
inline |
References inner_mode, known_eq, offset, and outer_mode.
Referenced by operator!=().
|
inline |
Return an integer that uniquely identifies this shape. Structures like rtx_def assume that a mode can fit in an 8-bit bitfield and no current mode is anywhere near being 65536 bytes in size, so the id comfortably fits in an int.
References poly_int< N, C >::coeffs, i, inner_mode, MACHINE_MODE_BITSIZE, NUM_POLY_INT_COEFFS, offset, outer_mode, and STATIC_ASSERT.
Referenced by simplifiable_subregs_hasher::hash(), and simplifiable_subregs().
machine_mode subreg_shape::inner_mode |
Referenced by operator==(), record_subregs_of_mode(), simplifiable_subregs(), and unique_id().
poly_uint16 subreg_shape::offset |
Referenced by operator==(), record_subregs_of_mode(), simplifiable_subregs(), and unique_id().
machine_mode subreg_shape::outer_mode |
Referenced by operator==(), record_subregs_of_mode(), simplifiable_subregs(), and unique_id().