Searched refs:from_mode (Results 1 - 25 of 26) sorted by relevance

12

/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Doptabs-query.c45 machine_mode from_mode, optimization_type opt_type)
47 insn_code icode = convert_optab_handler (optab, to_mode, from_mode);
49 || !targetm.optab_supported_p (optab, to_mode, from_mode, opt_type))
276 can_extend_p (machine_mode to_mode, machine_mode from_mode, argument
283 return convert_optab_handler (tab, to_mode, from_mode);
466 E.g. if from_mode is HImode, and to_mode is DImode, and there is no
471 machine_mode from_mode,
475 if (is_a <scalar_int_mode> (from_mode))
478 && known_lt (GET_MODE_PRECISION (from_mode),
488 gcc_checking_assert (GET_MODE_CLASS (from_mode)
44 convert_optab_handler(convert_optab optab, machine_mode to_mode, machine_mode from_mode, optimization_type opt_type) argument
470 find_widening_optab_handler_and_mode(optab op, machine_mode to_mode, machine_mode from_mode, machine_mode *found_mode) argument
[all...]
H A Doptabs-query.h51 machine_mode from_mode)
53 unsigned scode = (op << 16) | (from_mode << 8) | to_mode;
204 const T &from_mode, T *found_mode)
208 (op, machine_mode (to_mode), machine_mode (from_mode), &tmp);
50 convert_optab_handler(convert_optab op, machine_mode to_mode, machine_mode from_mode) argument
203 find_widening_optab_handler_and_mode(optab op, const T &to_mode, const T &from_mode, T *found_mode) argument
H A Dexpmed.h648 convert_cost_ptr (machine_mode to_mode, machine_mode from_mode,
652 int from_idx = expmed_mode_index (from_mode);
664 set_convert_cost (machine_mode to_mode, machine_mode from_mode,
667 *convert_cost_ptr (to_mode, from_mode, speed) = cost;
674 convert_cost (machine_mode to_mode, machine_mode from_mode,
677 return *convert_cost_ptr (to_mode, from_mode, speed);
H A Dtree-ssa-math-opts.c2532 scalar_int_mode to_mode, from_mode, actual_mode; local
2547 from_mode = SCALAR_INT_TYPE_MODE (type1);
2548 if (to_mode == from_mode)
2561 handler = find_widening_optab_handler_and_mode (op, to_mode, from_mode,
2572 && TYPE_PRECISION (type1) == GET_MODE_PRECISION (from_mode))
2574 && TYPE_PRECISION (type2) == GET_MODE_PRECISION (from_mode)))
2576 if (!GET_MODE_WIDER_MODE (from_mode).exists (&from_mode)
2577 || GET_MODE_SIZE (to_mode) <= GET_MODE_SIZE (from_mode))
2583 from_mode,
2643 scalar_mode to_mode, from_mode, actual_mode; local
[all...]
H A Dexpr.c218 machine_mode from_mode = GET_MODE (from);
221 gcc_assert (from_mode != BLKmode);
241 from_mode = to_int_mode;
246 if (to_mode == from_mode
247 || (from_mode == VOIDmode && CONSTANT_P (from)))
253 if (VECTOR_MODE_P (to_mode) || VECTOR_MODE_P (from_mode))
256 > GET_MODE_UNIT_PRECISION (from_mode))
259 insn_code icode = convert_optab_handler (op, to_mode, from_mode);
269 < GET_MODE_UNIT_PRECISION (from_mode))
272 to_mode, from_mode);
216 machine_mode from_mode = GET_MODE (from); local
306 scalar_mode from_mode = as_a <scalar_mode> (GET_MODE (from)); local
5282 machine_mode from_mode = GET_MODE_INNER (GET_MODE (result)); local
5296 machine_mode from_mode local
[all...]
H A Dexplow.c308 scalar_int_mode pointer_mode, address_mode, from_mode;
318 from_mode = to_mode == pointer_mode ? address_mode : pointer_mode;
325 if (GET_MODE_SIZE (to_mode) < GET_MODE_SIZE (from_mode))
333 temp = simplify_unary_operation (code, to_mode, x, from_mode);
368 if (GET_MODE_SIZE (to_mode) < GET_MODE_SIZE (from_mode)
392 return convert_modes (to_mode, from_mode,
H A Doptabs.c167 /* Given two input operands, OP0 and OP1, determine what the correct from_mode
1208 machine_mode from_mode = widened_mode (mode, op0, op1);
1209 icode = find_widening_optab_handler (binoptab, mode, from_mode);
4800 scalar_mode from_mode, to_mode;
4854 && is_a <scalar_mode> (GET_MODE (from), &from_mode))
4868 if (GET_MODE_PRECISION (from_mode) < GET_MODE_BITSIZE (fmode)
4869 && can_float_p (fmode, from_mode, 0) != CODE_FOR_nothing)
4880 < GET_MODE_PRECISION (from_mode))
4892 imode = from_mode;
4943 emit_cmp_and_jump_insns (from, const0_rtx, GE, NULL_RTX, from_mode,
1202 machine_mode from_mode = widened_mode (mode, op0, op1); local
4779 scalar_mode from_mode, to_mode; local
5199 machine_mode from_mode = GET_MODE (from); local
[all...]
H A Demit-rtl.c1590 scalar_int_mode int_mode, int_innermode, from_mode;
1594 && is_a <scalar_int_mode> (GET_MODE (XEXP (x, 0)), &from_mode))
1604 if (from_mode == int_mode)
1606 else if (GET_MODE_SIZE (int_mode) < GET_MODE_SIZE (from_mode))
1585 scalar_int_mode int_mode, int_innermode, from_mode; local
H A Dexpmed.c133 scalar_int_mode from_mode, bool speed)
139 from_size = GET_MODE_PRECISION (from_mode);
148 if (GET_MODE_CLASS (from_mode) == MODE_PARTIAL_INT
155 PUT_MODE (all->reg, from_mode);
156 set_convert_cost (to_mode, from_mode, speed,
132 init_expmed_one_conv(struct init_expmed_rtl *all, scalar_int_mode to_mode, scalar_int_mode from_mode, bool speed) argument
H A Dcombine.c6566 scalar_int_mode from_mode;
6567 if (is_a <scalar_int_mode> (GET_MODE (from), &from_mode))
6575 && pow2p_hwi (nzb = nonzero_bits (from, from_mode)))
6578 false_val = gen_int_mode (nzb, from_mode);
6582 && (num_sign_bit_copies (from, from_mode)
6583 == GET_MODE_PRECISION (from_mode)))
6547 scalar_int_mode from_mode; local
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Doptabs-query.h51 machine_mode from_mode)
53 unsigned scode = (op << 16) | (from_mode << 8) | to_mode;
206 const T &from_mode, T *found_mode)
210 (op, machine_mode (to_mode), machine_mode (from_mode), &tmp);
50 convert_optab_handler(convert_optab op, machine_mode to_mode, machine_mode from_mode) argument
205 find_widening_optab_handler_and_mode(optab op, const T &to_mode, const T &from_mode, T *found_mode) argument
H A Doptabs-query.cc45 machine_mode from_mode, optimization_type opt_type)
47 insn_code icode = convert_optab_handler (optab, to_mode, from_mode);
49 || !targetm.optab_supported_p (optab, to_mode, from_mode, opt_type))
276 can_extend_p (machine_mode to_mode, machine_mode from_mode, argument
283 return convert_optab_handler (tab, to_mode, from_mode);
466 E.g. if from_mode is HImode, and to_mode is DImode, and there is no
471 machine_mode from_mode,
475 if (is_a <scalar_int_mode> (from_mode))
478 && known_lt (GET_MODE_PRECISION (from_mode),
488 gcc_checking_assert (GET_MODE_CLASS (from_mode)
44 convert_optab_handler(convert_optab optab, machine_mode to_mode, machine_mode from_mode, optimization_type opt_type) argument
470 find_widening_optab_handler_and_mode(optab op, machine_mode to_mode, machine_mode from_mode, machine_mode *found_mode) argument
[all...]
H A Dexpmed.h639 convert_cost_ptr (machine_mode to_mode, machine_mode from_mode,
643 int from_idx = expmed_mode_index (from_mode);
655 set_convert_cost (machine_mode to_mode, machine_mode from_mode,
658 *convert_cost_ptr (to_mode, from_mode, speed) = cost;
665 convert_cost (machine_mode to_mode, machine_mode from_mode,
668 return *convert_cost_ptr (to_mode, from_mode, speed);
H A Dexpr.cc219 machine_mode from_mode = GET_MODE (from);
222 gcc_assert (from_mode != BLKmode);
246 from_mode = to_int_mode;
266 if (to_mode == from_mode
267 || (from_mode == VOIDmode && CONSTANT_P (from)))
273 if (VECTOR_MODE_P (to_mode) || VECTOR_MODE_P (from_mode))
276 > GET_MODE_UNIT_PRECISION (from_mode))
279 insn_code icode = convert_optab_handler (op, to_mode, from_mode);
289 < GET_MODE_UNIT_PRECISION (from_mode))
292 to_mode, from_mode);
217 machine_mode from_mode = GET_MODE (from); local
326 scalar_mode from_mode = as_a <scalar_mode> (GET_MODE (from)); local
5560 machine_mode from_mode = GET_MODE_INNER (GET_MODE (result)); local
5574 machine_mode from_mode local
[all...]
H A Dtree-ssa-math-opts.cc2670 scalar_int_mode to_mode, from_mode, actual_mode; local
2685 from_mode = SCALAR_INT_TYPE_MODE (type1);
2686 if (to_mode == from_mode)
2699 handler = find_widening_optab_handler_and_mode (op, to_mode, from_mode,
2710 && TYPE_PRECISION (type1) == GET_MODE_PRECISION (from_mode))
2712 && TYPE_PRECISION (type2) == GET_MODE_PRECISION (from_mode)))
2714 if (!GET_MODE_WIDER_MODE (from_mode).exists (&from_mode)
2715 || GET_MODE_SIZE (to_mode) <= GET_MODE_SIZE (from_mode))
2721 from_mode,
2790 scalar_mode to_mode, from_mode, actual_mode; local
[all...]
H A Dexplow.cc307 scalar_int_mode pointer_mode, address_mode, from_mode;
317 from_mode = to_mode == pointer_mode ? address_mode : pointer_mode;
324 if (GET_MODE_SIZE (to_mode) < GET_MODE_SIZE (from_mode))
332 temp = simplify_unary_operation (code, to_mode, x, from_mode);
372 if (GET_MODE_SIZE (to_mode) < GET_MODE_SIZE (from_mode)
393 if (in_const && GET_MODE (x) == from_mode)
400 if (GET_MODE (op) == from_mode)
416 return convert_modes (to_mode, from_mode,
H A Doptabs.cc171 /* Given two input operands, OP0 and OP1, determine what the correct from_mode
1528 machine_mode from_mode = widened_mode (mode, op0, op1);
1529 icode = find_widening_optab_handler (binoptab, mode, from_mode);
5367 scalar_mode from_mode, to_mode;
5421 && is_a <scalar_mode> (GET_MODE (from), &from_mode))
5435 if (GET_MODE_PRECISION (from_mode) < GET_MODE_BITSIZE (fmode)
5436 && can_float_p (fmode, from_mode, 0) != CODE_FOR_nothing)
5447 < GET_MODE_PRECISION (from_mode))
5459 imode = from_mode;
5510 emit_cmp_and_jump_insns (from, const0_rtx, GE, NULL_RTX, from_mode,
1522 machine_mode from_mode = widened_mode (mode, op0, op1); local
5346 scalar_mode from_mode, to_mode; local
5767 machine_mode from_mode = GET_MODE (from); local
[all...]
H A Demit-rtl.cc1597 scalar_int_mode int_mode, int_innermode, from_mode;
1601 && is_a <scalar_int_mode> (GET_MODE (XEXP (x, 0)), &from_mode))
1611 if (from_mode == int_mode)
1613 else if (GET_MODE_SIZE (int_mode) < GET_MODE_SIZE (from_mode))
1592 scalar_int_mode int_mode, int_innermode, from_mode; local
H A Dexpmed.cc133 scalar_int_mode from_mode, bool speed)
139 from_size = GET_MODE_PRECISION (from_mode);
148 if (GET_MODE_CLASS (from_mode) == MODE_PARTIAL_INT
155 PUT_MODE (all->reg, from_mode);
156 set_convert_cost (to_mode, from_mode, speed,
132 init_expmed_one_conv(struct init_expmed_rtl *all, scalar_int_mode to_mode, scalar_int_mode from_mode, bool speed) argument
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/sh/
H A Dsh-protos.h189 machine_mode from_mode; member in struct:sh_extending_set_of_reg
199 from_mode = VOIDmode;
206 from_mode = VOIDmode;
/netbsd-current/external/gpl3/gcc/dist/gcc/config/sh/
H A Dsh-protos.h189 machine_mode from_mode; member in struct:sh_extending_set_of_reg
199 from_mode = VOIDmode;
206 from_mode = VOIDmode;
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/aarch64/
H A Daarch64-sve-builtins-base.cc963 CONSTEXPR svext_bhw_impl (scalar_int_mode from_mode) argument
964 : m_from_mode (from_mode) {}
/netbsd-current/external/gpl3/gcc/dist/gcc/config/aarch64/
H A Daarch64-sve-builtins-base.cc963 CONSTEXPR svext_bhw_impl (scalar_int_mode from_mode) argument
964 : m_from_mode (from_mode) {}
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/s390/
H A Ds390.c10382 s390_can_change_mode_class (machine_mode from_mode,
10392 && ((from_mode == V1TFmode && to_mode == TFmode)
10393 || (from_mode == TFmode && to_mode == V1TFmode)))
10396 if (GET_MODE_SIZE (from_mode) == GET_MODE_SIZE (to_mode))
10399 if (GET_MODE_SIZE (from_mode) < GET_MODE_SIZE (to_mode))
10401 small_mode = from_mode;
10407 big_mode = from_mode;
10381 s390_can_change_mode_class(machine_mode from_mode, machine_mode to_mode, reg_class_t rclass) argument
/netbsd-current/external/gpl3/gcc/dist/gcc/config/s390/
H A Ds390.cc10656 s390_can_change_mode_class (machine_mode from_mode,
10666 && ((s390_is_fpr128 (from_mode) && s390_is_vr128 (to_mode))
10667 || (s390_is_vr128 (from_mode) && s390_is_fpr128 (to_mode))))
10670 if (GET_MODE_SIZE (from_mode) == GET_MODE_SIZE (to_mode))
10673 if (GET_MODE_SIZE (from_mode) < GET_MODE_SIZE (to_mode))
10675 small_mode = from_mode;
10681 big_mode = from_mode;
10655 s390_can_change_mode_class(machine_mode from_mode, machine_mode to_mode, reg_class_t rclass) argument

Completed in 510 milliseconds

12