/dflybsd-src/contrib/gcc-8.0/gcc/ |
H A D | optabs-query.c | 44 convert_optab_handler (convert_optab optab, machine_mode to_mode, in convert_optab_handler() argument 47 insn_code icode = convert_optab_handler (optab, to_mode, from_mode); in convert_optab_handler() 49 || !targetm.optab_supported_p (optab, to_mode, from_mode, opt_type)) in convert_optab_handler() 276 can_extend_p (machine_mode to_mode, machine_mode from_mode, in can_extend_p() argument 283 return convert_optab_handler (tab, to_mode, from_mode); in can_extend_p() 472 find_widening_optab_handler_and_mode (optab op, machine_mode to_mode, in find_widening_optab_handler_and_mode() argument 476 machine_mode limit_mode = to_mode; in find_widening_optab_handler_and_mode() 479 gcc_checking_assert (is_a <scalar_int_mode> (to_mode) in find_widening_optab_handler_and_mode() 481 GET_MODE_PRECISION (to_mode))); in find_widening_optab_handler_and_mode() 490 gcc_checking_assert (GET_MODE_CLASS (from_mode) == GET_MODE_CLASS (to_mode) in find_widening_optab_handler_and_mode() [all …]
|
H A D | optabs-query.h | 50 convert_optab_handler (convert_optab op, machine_mode to_mode, in convert_optab_handler() argument 53 unsigned scode = (op << 16) | (from_mode << 8) | to_mode; in convert_optab_handler() 202 find_widening_optab_handler_and_mode (optab op, const T &to_mode, in find_widening_optab_handler_and_mode() argument 207 (op, machine_mode (to_mode), machine_mode (from_mode), &tmp); in find_widening_optab_handler_and_mode()
|
H A D | explow.c | 294 convert_memory_address_addr_space_1 (scalar_int_mode to_mode ATTRIBUTE_UNUSED, in convert_memory_address_addr_space_1() 300 gcc_assert (GET_MODE (x) == to_mode || GET_MODE (x) == VOIDmode); in convert_memory_address_addr_space_1() 308 if (GET_MODE (x) == to_mode) in convert_memory_address_addr_space_1() 313 from_mode = to_mode == pointer_mode ? address_mode : pointer_mode; in convert_memory_address_addr_space_1() 320 if (GET_MODE_SIZE (to_mode) < GET_MODE_SIZE (from_mode)) in convert_memory_address_addr_space_1() 328 temp = simplify_unary_operation (code, to_mode, x, from_mode); in convert_memory_address_addr_space_1() 335 && GET_MODE (SUBREG_REG (x)) == to_mode) in convert_memory_address_addr_space_1() 340 temp = gen_rtx_LABEL_REF (to_mode, label_ref_label (x)); in convert_memory_address_addr_space_1() 346 PUT_MODE (temp, to_mode); in convert_memory_address_addr_space_1() 350 temp = convert_memory_address_addr_space_1 (to_mode, XEXP (x, 0), as, in convert_memory_address_addr_space_1() [all …]
|
H A D | expmed.h | 648 convert_cost_ptr (machine_mode to_mode, machine_mode from_mode, in convert_cost_ptr() argument 651 int to_idx = expmed_mode_index (to_mode); in convert_cost_ptr() 664 set_convert_cost (machine_mode to_mode, machine_mode from_mode, in set_convert_cost() argument 667 *convert_cost_ptr (to_mode, from_mode, speed) = cost; in set_convert_cost() 674 convert_cost (machine_mode to_mode, machine_mode from_mode, in convert_cost() argument 677 return *convert_cost_ptr (to_mode, from_mode, speed); in convert_cost()
|
H A D | expr.c | 214 machine_mode to_mode = GET_MODE (to); in convert_move() local 217 gcc_assert (to_mode != BLKmode); in convert_move() 232 && is_a <scalar_int_mode> (to_mode, &to_int_mode) in convert_move() 240 if (to_mode == from_mode in convert_move() 247 if (VECTOR_MODE_P (to_mode) || VECTOR_MODE_P (from_mode)) in convert_move() 250 GET_MODE_BITSIZE (to_mode))); in convert_move() 252 if (VECTOR_MODE_P (to_mode)) in convert_move() 253 from = simplify_gen_subreg (to_mode, from, GET_MODE (from), 0); in convert_move() 278 scalar_mode to_mode = as_a <scalar_mode> (GET_MODE (to)); in convert_mode_scalar() local 279 bool to_real = SCALAR_FLOAT_MODE_P (to_mode); in convert_mode_scalar() [all …]
|
H A D | tree-ssa-math-opts.c | 2335 scalar_int_mode to_mode, from_mode, actual_mode; in convert_mult_to_widen() local 2349 to_mode = SCALAR_INT_TYPE_MODE (type); in convert_mult_to_widen() 2351 if (to_mode == from_mode) in convert_mult_to_widen() 2364 handler = find_widening_optab_handler_and_mode (op, to_mode, from_mode, in convert_mult_to_widen() 2380 || GET_MODE_SIZE (to_mode) <= GET_MODE_SIZE (from_mode)) in convert_mult_to_widen() 2385 handler = find_widening_optab_handler_and_mode (op, to_mode, in convert_mult_to_widen() 2446 scalar_mode to_mode, from_mode, actual_mode; in convert_plusminus_to_widen() local 2542 to_mode = SCALAR_TYPE_MODE (type); in convert_plusminus_to_widen() 2544 if (to_mode == from_mode) in convert_plusminus_to_widen() 2565 || GET_MODE_SIZE (from_mode) >= GET_MODE_SIZE (to_mode)) in convert_plusminus_to_widen() [all …]
|
H A D | optabs.c | 170 widened_mode (machine_mode to_mode, rtx op0, rtx op1) in widened_mode() argument 177 return to_mode; in widened_mode() 183 if (GET_MODE_UNIT_SIZE (result) > GET_MODE_UNIT_SIZE (to_mode)) in widened_mode() 184 return to_mode; in widened_mode() 4692 scalar_mode from_mode, to_mode; in expand_float() local 4745 && is_a <scalar_mode> (GET_MODE (to), &to_mode) in expand_float() 4757 FOR_EACH_MODE_FROM (fmode_iter, to_mode) in expand_float() 4768 fmode = to_mode; in expand_float() 4824 if (to_mode != fmode in expand_float() 4967 scalar_int_mode to_mode; in expand_fix() local [all …]
|
H A D | expmed.c | 130 init_expmed_one_conv (struct init_expmed_rtl *all, scalar_int_mode to_mode, in init_expmed_one_conv() argument 136 to_size = GET_MODE_PRECISION (to_mode); in init_expmed_one_conv() 143 if (GET_MODE_CLASS (to_mode) == MODE_PARTIAL_INT in init_expmed_one_conv() 154 set_convert_cost (to_mode, from_mode, speed, in init_expmed_one_conv() 155 set_src_cost (which, to_mode, speed)); in init_expmed_one_conv()
|
H A D | rtl.h | 3189 #define convert_memory_address(to_mode,x) \ 3190 convert_memory_address_addr_space ((to_mode), (x), ADDR_SPACE_GENERIC)
|
/dflybsd-src/contrib/gcc-4.7/gcc/ |
H A D | explow.c | 323 convert_memory_address_addr_space (enum machine_mode to_mode ATTRIBUTE_UNUSED, in convert_memory_address_addr_space() 327 gcc_assert (GET_MODE (x) == to_mode || GET_MODE (x) == VOIDmode); in convert_memory_address_addr_space() 335 if (GET_MODE (x) == to_mode) in convert_memory_address_addr_space() 340 from_mode = to_mode == pointer_mode ? address_mode : pointer_mode; in convert_memory_address_addr_space() 348 if (GET_MODE_SIZE (to_mode) < GET_MODE_SIZE (from_mode)) in convert_memory_address_addr_space() 356 temp = simplify_unary_operation (code, to_mode, x, from_mode); in convert_memory_address_addr_space() 363 && GET_MODE (SUBREG_REG (x)) == to_mode) in convert_memory_address_addr_space() 368 temp = gen_rtx_LABEL_REF (to_mode, XEXP (x, 0)); in convert_memory_address_addr_space() 375 PUT_MODE (temp, to_mode); in convert_memory_address_addr_space() 380 return gen_rtx_CONST (to_mode, in convert_memory_address_addr_space() [all …]
|
H A D | optabs.h | 1022 widening_optab_handler (optab op, enum machine_mode to_mode, in widening_optab_handler() argument 1025 if (to_mode == from_mode || from_mode == VOIDmode) in widening_optab_handler() 1026 return optab_handler (op, to_mode); in widening_optab_handler() 1029 return (enum insn_code) (op->widening->handlers[(int) to_mode][(int) from_mode].insn_code in widening_optab_handler() 1047 set_widening_optab_handler (optab op, enum machine_mode to_mode, in set_widening_optab_handler() argument 1050 if (to_mode == from_mode) in set_widening_optab_handler() 1051 set_optab_handler (op, to_mode, code); in set_widening_optab_handler() 1058 op->widening->handlers[(int) to_mode][(int) from_mode].insn_code in set_widening_optab_handler() 1068 convert_optab_handler (convert_optab op, enum machine_mode to_mode, in convert_optab_handler() argument 1072 (op->handlers[(int) to_mode][(int) from_mode].insn_code in convert_optab_handler() [all …]
|
H A D | expr.c | 313 enum machine_mode to_mode = GET_MODE (to); in convert_move() local 315 int to_real = SCALAR_FLOAT_MODE_P (to_mode); in convert_move() 326 gcc_assert (to_mode != BLKmode); in convert_move() 340 >= GET_MODE_PRECISION (to_mode)) in convert_move() 342 from = gen_lowpart (to_mode, from), from_mode = to_mode; in convert_move() 346 if (to_mode == from_mode in convert_move() 353 if (VECTOR_MODE_P (to_mode) || VECTOR_MODE_P (from_mode)) in convert_move() 355 gcc_assert (GET_MODE_BITSIZE (from_mode) == GET_MODE_BITSIZE (to_mode)); in convert_move() 357 if (VECTOR_MODE_P (to_mode)) in convert_move() 358 from = simplify_gen_subreg (to_mode, from, GET_MODE (from), 0); in convert_move() [all …]
|
H A D | tree-ssa-math-opts.c | 2115 enum machine_mode to_mode, from_mode, actual_mode; in convert_mult_to_widen() local 2129 to_mode = TYPE_MODE (type); in convert_mult_to_widen() 2141 handler = find_widening_optab_handler_and_mode (op, to_mode, from_mode, in convert_mult_to_widen() 2157 if (GET_MODE_SIZE (to_mode) <= GET_MODE_SIZE (from_mode)) in convert_mult_to_widen() 2162 handler = find_widening_optab_handler_and_mode (op, to_mode, in convert_mult_to_widen() 2229 enum machine_mode to_mode, from_mode, actual_mode; in convert_plusminus_to_widen() local 2320 to_mode = TYPE_MODE (type); in convert_plusminus_to_widen() 2340 if (GET_MODE_SIZE (from_mode) >= GET_MODE_SIZE (to_mode)) in convert_plusminus_to_widen() 2381 handler = find_widening_optab_handler_and_mode (this_optab, to_mode, in convert_plusminus_to_widen()
|
H A D | optabs.c | 258 widened_mode (enum machine_mode to_mode, rtx op0, rtx op1) in widened_mode() argument 265 return to_mode; in widened_mode() 271 if (GET_MODE_SIZE (result) > GET_MODE_SIZE (to_mode)) in widened_mode() 272 return to_mode; in widened_mode() 284 find_widening_optab_handler_and_mode (optab op, enum machine_mode to_mode, in find_widening_optab_handler_and_mode() argument 289 for (; (permit_non_widening || from_mode != to_mode) in find_widening_optab_handler_and_mode() 290 && GET_MODE_SIZE (from_mode) <= GET_MODE_SIZE (to_mode) in find_widening_optab_handler_and_mode() 294 enum insn_code handler = widening_optab_handler (op, to_mode, in find_widening_optab_handler_and_mode() 4719 can_extend_p (enum machine_mode to_mode, enum machine_mode from_mode, in can_extend_p() argument 4729 return convert_optab_handler (tab, to_mode, from_mode); in can_extend_p() [all …]
|
H A D | rtl.h | 1697 #define convert_memory_address(to_mode,x) \ argument 1698 convert_memory_address_addr_space ((to_mode), (x), ADDR_SPACE_GENERIC)
|