GCC Middle and Back End API Reference
|
#include <machmode.h>
Public Types | |
enum | from_int { dummy = MAX_MACHINE_MODE } |
Public Member Functions | |
ALWAYS_INLINE CONSTEXPR | opt_mode () |
ALWAYS_INLINE CONSTEXPR | opt_mode (const T &m) |
template<typename U > | |
ALWAYS_INLINE CONSTEXPR | opt_mode (const U &m) |
ALWAYS_INLINE CONSTEXPR | opt_mode (from_int m) |
machine_mode | else_void () const |
machine_mode | else_blk () const |
machine_mode | else_mode (machine_mode) const |
T | require () const |
bool | exists () const |
template<typename U > | |
bool | exists (U *) const |
bool | operator== (const T &m) const |
bool | operator!= (const T &m) const |
Private Attributes | |
machine_mode | m_mode |
An optional T (i.e. a T or nothing), where T is some form of mode class.
|
inline |
|
inline |
|
inline |
|
inline |
References opt_mode< T >::else_mode(), and ggc_alloc().
Referenced by alter_reg(), assign_parm_setup_block(), compute_argument_addresses(), compute_record_mode(), emit_library_call_value_1(), expand_expr_real_1(), layout_type(), mode_for_array(), and store_one_arg().
If the T exists, return its enum value, otherwise return FALLBACK.
References ggc_alloc().
Referenced by opt_mode< T >::else_blk().
ALWAYS_INLINE machine_mode opt_mode< T >::else_void | ( | ) | const |
If the object contains a T, return its enum value, otherwise return E_VOIDmode.
Referenced by as_a(), dyn_cast(), and is_a().
Return true if the object contains a T rather than nothing.
References ggc_alloc().
Referenced by can_vec_mask_load_store_p(), copy_blkmode_from_reg(), expand_expr_real_1(), mode_iterator::iterate_p(), bit_field_mode_iterator::next_mode(), simplify_comparison(), vect_verify_loop_lens(), vector_type_mode(), and vectorized_internal_fn_supported_p().
Return true if the object contains a T, storing it in *MODE if so.
References ggc_alloc(), and T.
References opt_mode< T >::m_mode.
References opt_mode< T >::m_mode.
Assert that the object contains a T and return it.
References gcc_checking_assert, and ggc_alloc().
Referenced by alignment_for_piecewise_move(), assemble_integer(), combine_instructions(), convert_extracted_bit_field(), convert_float_to_wider_int(), convert_wider_int_to_float(), copy_blkmode_from_reg(), default_secondary_memory_needed_mode(), expand_builtin_atomic_clear(), expand_builtin_atomic_test_and_set(), expand_builtin_issignaling(), expand_builtin_powi(), expand_builtin_signbit(), expand_ifn_atomic_compare_exchange(), expand_vector_parallel(), extract_integral_bit_field(), gen_int_shift_amount(), gen_lowpart_common(), gen_lowpart_for_combine(), mode_iterator::get_2xwider(), get_builtin_sync_mode(), mode_iterator::get_next(), mode_iterator::get_wider(), init_emit_once(), init_optabs(), make_extraction(), output_constant_pool_2(), replace_reg_with_saved_mem(), resolve_simple_move(), set_builtin_user_assembler_name(), simplify_subreg_concatn(), and store_integral_bit_field().
Referenced by opt_mode< T >::operator!=(), and opt_mode< T >::operator==().