osprey-gcc/gcc/machmode.h File Reference

#include "insn-modes.h"
#include "mode-classes.def"

Include dependency graph for machmode.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define GET_MODE_NAME(MODE)   mode_name[MODE]
#define DEF_MODE_CLASS(M)   M
#define GET_MODE_CLASS(MODE)   mode_class[MODE]
#define INTEGRAL_MODE_P(MODE)
#define FLOAT_MODE_P(MODE)
#define COMPLEX_MODE_P(MODE)
#define VECTOR_MODE_P(MODE)
#define SCALAR_INT_MODE_P(MODE)
#define SCALAR_FLOAT_MODE_P(MODE)   (GET_MODE_CLASS (MODE) == MODE_FLOAT)
#define GET_MODE_SIZE(MODE)   ((unsigned short) mode_size[MODE])
#define GET_MODE_BITSIZE(MODE)   ((unsigned short) (GET_MODE_SIZE (MODE) * BITS_PER_UNIT))
#define GET_MODE_PRECISION(MODE)   mode_precision[MODE]
#define GET_MODE_MASK(MODE)   mode_mask_array[MODE]
#define GET_MODE_INNER(MODE)   mode_inner[MODE]
#define GET_MODE_UNIT_SIZE(MODE)
#define GET_MODE_NUNITS(MODE)   mode_nunits[MODE]
#define GET_MODE_WIDER_MODE(MODE)   mode_wider[MODE]
#define GET_MODE_ALIGNMENT(MODE)   get_mode_alignment (MODE)
#define GET_CLASS_NARROWEST_MODE(CLASS)   class_narrowest_mode[CLASS]

Enumerations

enum  mode_class {
  MODE_RANDOM, MODE_INT, MODE_FLOAT, MODE_PARTIAL_INT,
  MODE_CC, MODE_COMPLEX_INT, MODE_COMPLEX_FLOAT, MODE_VECTOR_INT,
  MODE_VECTOR_FLOAT, MAX_MODE_CLASS, MODE_RANDOM, MODE_INT,
  MODE_FLOAT, MODE_PARTIAL_INT, MODE_CC, MODE_COMPLEX_INT,
  MODE_COMPLEX_FLOAT, MODE_VECTOR_INT, MODE_VECTOR_FLOAT, MAX_MODE_CLASS,
  MODE_CLASSES, MAX_MODE_CLASS, MODE_CLASSES, MAX_MODE_CLASS,
  MODE_CLASSES, MAX_MODE_CLASS, MODE_CLASSES, MAX_MODE_CLASS
}

Functions/Subroutines

enum machine_mode mode_for_size (unsigned int, enum mode_class, int)
enum machine_mode smallest_mode_for_size (unsigned int, enum mode_class)
enum machine_mode int_mode_for_mode (enum machine_mode)
enum machine_mode get_best_mode (int, int, unsigned int, enum machine_mode, int)
unsigned get_mode_alignment (enum machine_mode)
void init_adjust_machine_modes (void)

Variables

const char *const mode_name [NUM_MACHINE_MODES]
const unsigned char mode_class [NUM_MACHINE_MODES]
CONST_MODE_SIZE unsigned char mode_size [NUM_MACHINE_MODES]
const unsigned short mode_precision [NUM_MACHINE_MODES]
const unsigned HOST_WIDE_INT mode_mask_array [NUM_MACHINE_MODES]
const unsigned char mode_inner [NUM_MACHINE_MODES]
const unsigned char mode_nunits [NUM_MACHINE_MODES]
const unsigned char mode_wider [NUM_MACHINE_MODES]
CONST_MODE_BASE_ALIGN unsigned char mode_base_align [NUM_MACHINE_MODES]
const unsigned char class_narrowest_mode [MAX_MODE_CLASS]
enum machine_mode byte_mode
enum machine_mode word_mode
enum machine_mode ptr_mode


Define Documentation

#define COMPLEX_MODE_P ( MODE   ) 

Value:

Definition at line 61 of file machmode.h.

#define DEF_MODE_CLASS (  )     M

Definition at line 36 of file machmode.h.

#define FLOAT_MODE_P ( MODE   ) 

#define GET_CLASS_NARROWEST_MODE ( CLASS   )     class_narrowest_mode[CLASS]

Definition at line 151 of file machmode.h.

#define GET_MODE_ALIGNMENT ( MODE   )     get_mode_alignment (MODE)

Definition at line 146 of file machmode.h.

#define GET_MODE_BITSIZE ( MODE   )     ((unsigned short) (GET_MODE_SIZE (MODE) * BITS_PER_UNIT))

Definition at line 83 of file machmode.h.

#define GET_MODE_CLASS ( MODE   )     mode_class[MODE]

Definition at line 45 of file machmode.h.

#define GET_MODE_INNER ( MODE   )     mode_inner[MODE]

Definition at line 99 of file machmode.h.

Referenced by altivec_expand_vec_init_builtin(), assign_parm_setup_reg(), assign_parms_unsplit_complex(), classify_argument(), clear_storage(), const_vector_from_tree(), dump_constants_1(), emit_move_complex(), emit_move_complex_push(), emit_move_insn_1(), expand_binop(), expand_complex_abs(), expand_unop(), expand_vector_binop(), expand_vector_unop(), extract_bit_field(), function_arg(), function_value(), gen_const_vector(), gen_const_vector_0(), gen_reg_rtx(), gen_rtx_CONST_VECTOR(), GTY(), handle_mode_attribute(), hfa_element_mode(), ix86_expand_fp_absneg_operator(), ix86_expand_vec_init_builtin(), ix86_expand_vector_extract(), ix86_expand_vector_init(), ix86_expand_vector_init_duplicate(), ix86_expand_vector_init_general(), ix86_expand_vector_init_low_nonzero(), ix86_expand_vector_init_one_nonzero(), ix86_expand_vector_init_one_var(), ix86_expand_vector_set(), layout_type(), mips_function_value(), output_constant(), output_constant_pool(), output_constant_pool_2(), read_complex_part(), rs6000_complex_function_value(), rs6000_expand_vector_extract(), rs6000_expand_vector_init(), rs6000_expand_vector_set(), sh_cannot_change_mode_class(), simplify_binary_operation(), simplify_binary_operation_1(), simplify_const_binary_operation(), simplify_const_unary_operation(), simplify_immed_subreg(), simplify_subreg(), simplify_ternary_operation(), simplify_unary_operation(), store_bit_field(), store_constructor(), subreg_offset_representable_p(), type_for_widest_vector_mode(), type_natural_mode(), validate_subreg(), vector_mode_valid_p(), vspltis_constant(), and write_complex_part().

#define GET_MODE_MASK ( MODE   )     mode_mask_array[MODE]

Definition at line 94 of file machmode.h.

Referenced by add_operand(), and_operand(), avr_out_sbxx_branch(), biased_biv_fits_mode_p(), biased_biv_may_wrap_p(), biv_fits_mode_p(), canon_condition(), canonicalize_condition(), check_ext_dependent_givs(), clear_storage_via_clrmem(), clear_storage_via_clrstr(), combine_simplify_rtx(), compare_from_rtx(), const64_high_operand(), do_compare_rtx_and_jump(), do_negate(), do_plus_minus(), emit_block_move_via_movmem(), emit_block_move_via_movstr(), emit_store_flag(), expand_compound_operation(), expand_divmod(), expand_mult_const(), expand_mult_highpart(), force_to_mode(), gen_split_1450(), gen_split_1451(), init_alignment_context(), input_operand(), iv_number_of_iterations(), ix86_rtx_costs(), logical_operand(), make_compound_operation(), make_extraction(), make_field_assignment(), merge_outer_ops(), noce_try_bitop(), nonzero_bits1(), num_sign_bit_copies1(), record_promoted_value(), reg_nonzero_bits_for_combine(), reg_or_logical_cint_operand(), reload_cse_move2add(), reload_cse_simplify_set(), rs6000_emit_sync(), rs6000_expand_compare_and_swapqhi(), s390_canonicalize_comparison(), s390_expand_mask_and_shift(), see_analyze_one_def(), set_nonzero_bits_and_sign_copies(), set_storage_via_setmem(), sext_for_mode(), shl_and_kind(), simplify_and_const_int(), simplify_and_const_int_1(), simplify_binary_operation(), simplify_binary_operation_1(), simplify_comparison(), simplify_const_unary_operation(), simplify_if_then_else(), simplify_logical(), simplify_relational_operation(), simplify_shift_const(), simplify_shift_const_1(), simplify_unary_operation(), simplify_unary_operation_1(), single_one_operand(), single_zero_operand(), sparc_emit_set_const32(), synth_mult(), try_combine(), u_short_cint_operand(), and vspltis_constant().

#define GET_MODE_NAME ( MODE   )     mode_name[MODE]

Definition at line 31 of file machmode.h.

#define GET_MODE_NUNITS ( MODE   )     mode_nunits[MODE]

Definition at line 111 of file machmode.h.

#define GET_MODE_PRECISION ( MODE   )     mode_precision[MODE]

#define GET_MODE_SIZE ( MODE   )     ((unsigned short) mode_size[MODE])

Definition at line 82 of file machmode.h.

#define GET_MODE_UNIT_SIZE ( MODE   ) 

Value:

Definition at line 103 of file machmode.h.

#define GET_MODE_WIDER_MODE ( MODE   )     mode_wider[MODE]

Definition at line 116 of file machmode.h.

#define INTEGRAL_MODE_P ( MODE   ) 

#define SCALAR_FLOAT_MODE_P ( MODE   )     (GET_MODE_CLASS (MODE) == MODE_FLOAT)

Definition at line 76 of file machmode.h.

#define SCALAR_INT_MODE_P ( MODE   ) 

Value:

Definition at line 71 of file machmode.h.

#define VECTOR_MODE_P ( MODE   ) 

Value:

Definition at line 66 of file machmode.h.


Enumeration Type Documentation

enum mode_class

Enumerator:
MODE_RANDOM 
MODE_INT 
MODE_FLOAT 
MODE_PARTIAL_INT 
MODE_CC 
MODE_COMPLEX_INT 
MODE_COMPLEX_FLOAT 
MODE_VECTOR_INT 
MODE_VECTOR_FLOAT 
MAX_MODE_CLASS 
MODE_RANDOM 
MODE_INT 
MODE_FLOAT 
MODE_PARTIAL_INT 
MODE_CC 
MODE_COMPLEX_INT 
MODE_COMPLEX_FLOAT 
MODE_VECTOR_INT 
MODE_VECTOR_FLOAT 
MAX_MODE_CLASS 
MODE_CLASSES 
MAX_MODE_CLASS 
MODE_CLASSES 
MAX_MODE_CLASS 
MODE_CLASSES 
MAX_MODE_CLASS 
MODE_CLASSES 
MAX_MODE_CLASS 

Definition at line 37 of file machmode.h.


Function Documentation

enum machine_mode get_best_mode ( int  ,
int  ,
unsigned  int,
enum  machine_mode,
int   
)

Definition at line 2130 of file stor-layout.c.

unsigned get_mode_alignment ( enum  machine_mode  ) 

Definition at line 315 of file stor-layout.c.

void init_adjust_machine_modes ( void   ) 

Referenced by do_compile().

enum machine_mode int_mode_for_mode ( enum  machine_mode  ) 

Definition at line 280 of file stor-layout.c.

enum machine_mode mode_for_size ( unsigned  int,
enum  mode_class,
int   
)

Definition at line 220 of file stor-layout.c.

enum machine_mode smallest_mode_for_size ( unsigned  int,
enum  mode_class 
)

Definition at line 261 of file stor-layout.c.


Variable Documentation

Definition at line 65 of file emit-rtl.c.

const unsigned char class_narrowest_mode[MAX_MODE_CLASS]

Definition at line 147 of file rtl.c.

CONST_MODE_BASE_ALIGN unsigned char mode_base_align[NUM_MACHINE_MODES]

Referenced by get_mode_alignment().

const unsigned char mode_class[NUM_MACHINE_MODES]

Definition at line 66 of file rtl.c.

const unsigned char mode_inner[NUM_MACHINE_MODES]

const unsigned HOST_WIDE_INT mode_mask_array[NUM_MACHINE_MODES]

Definition at line 123 of file rtl.c.

const char* const mode_name[NUM_MACHINE_MODES]

Definition at line 56 of file rtl.c.

const unsigned char mode_nunits[NUM_MACHINE_MODES]

const unsigned short mode_precision[NUM_MACHINE_MODES]

CONST_MODE_SIZE unsigned char mode_size[NUM_MACHINE_MODES]

Definition at line 88 of file rtl.c.

const unsigned char mode_wider[NUM_MACHINE_MODES]

Definition at line 68 of file emit-rtl.c.

Definition at line 66 of file emit-rtl.c.


Generated on Wed Apr 8 15:39:57 2009 for Open64 by  doxygen 1.5.6