Home
last modified time | relevance | path

Searched refs:optab (Results 1 – 25 of 49) sorted by relevance

12

/dragonfly/contrib/gcc-8.0/gcc/
HDoptabs-libfuncs.h26 rtx optab_libfunc (optab, machine_mode);
28 void gen_int_libfunc (optab, const char *, char, machine_mode);
29 void gen_fp_libfunc (optab, const char *, char, machine_mode);
30 void gen_fixed_libfunc (optab, const char *, char, machine_mode);
31 void gen_signed_fixed_libfunc (optab, const char *, char, machine_mode);
32 void gen_unsigned_fixed_libfunc (optab, const char *, char, machine_mode);
33 void gen_int_fp_libfunc (optab, const char *, char, machine_mode);
34 void gen_intv_fp_libfunc (optab, const char *, char, machine_mode);
35 void gen_int_fp_fixed_libfunc (optab, const char *, char, machine_mode);
36 void gen_int_fp_signed_fixed_libfunc (optab, const char *, char, machine_mode);
[all …]
HDoptabs-libfuncs.c70 convert_optab_libfunc (convert_optab optab, machine_mode mode1, in convert_optab_libfunc() argument
79 if (!(optab >= FIRST_CONV_OPTAB && optab <= LAST_CONVLIB_OPTAB)) in convert_optab_libfunc()
82 e.op = optab; in convert_optab_libfunc()
89 = &convlib_def[optab - FIRST_CONV_OPTAB]; in convert_optab_libfunc()
94 d->libcall_gen (optab, d->libcall_basename, mode1, mode2); in convert_optab_libfunc()
106 optab_libfunc (optab optab, machine_mode mode) in optab_libfunc() argument
114 if (!(optab >= FIRST_NORM_OPTAB && optab <= LAST_NORMLIB_OPTAB)) in optab_libfunc()
117 e.op = optab; in optab_libfunc()
124 = &normlib_def[optab - FIRST_NORM_OPTAB]; in optab_libfunc()
129 d->libcall_gen (optab, d->libcall_basename, d->libcall_suffix, mode); in optab_libfunc()
[all …]
HDoptabs.h28 extern rtx expand_widening_mult (machine_mode, rtx, rtx, rtx, int, optab);
170 extern rtx expand_ternary_op (machine_mode mode, optab ternary_optab,
173 extern rtx simplify_expand_binop (machine_mode mode, optab binoptab,
176 extern bool force_expand_binop (machine_mode, optab, rtx, rtx, rtx, int,
187 extern rtx expand_binop (machine_mode, optab, rtx, rtx, rtx, int,
191 extern rtx sign_expand_binop (machine_mode, optab, optab, rtx, rtx,
195 extern int expand_twoval_unop (optab, rtx, rtx, rtx, int);
198 extern int expand_twoval_binop (optab, rtx, rtx, rtx, rtx, int);
202 extern bool expand_twoval_binop_libfunc (optab, rtx, rtx, rtx, rtx,
208 extern rtx expand_unop (machine_mode, optab, rtx, rtx, int);
HDoptabs-query.h29 convert_optab_p (optab op) in convert_optab_p()
38 optab_handler (optab op, machine_mode mode) in optab_handler()
76 trapv_unoptab_p (optab unoptab) in trapv_unoptab_p()
85 trapv_binoptab_p (optab binoptab) in trapv_binoptab_p()
98 optab tab = uns ? vec_cmpu_optab : vec_cmp_optab; in get_vec_cmp_icode()
185 enum insn_code find_widening_optab_handler_and_mode (optab, machine_mode,
202 find_widening_optab_handler_and_mode (optab op, const T &to_mode, in find_widening_optab_handler_and_mode()
HDoptabs-query.c44 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()
59 direct_optab_handler (convert_optab optab, machine_mode mode, in direct_optab_handler() argument
62 insn_code icode = direct_optab_handler (optab, mode); in direct_optab_handler()
64 || !targetm.optab_supported_p (optab, mode, mode, opt_type)) in direct_optab_handler()
128 direct_optab optab = (type == ET_unaligned_mem ? misalign_optab : reg_optab); in get_optab_extraction_insn() local
129 enum insn_code icode = direct_optab_handler (optab, mode); in get_optab_extraction_insn()
472 find_widening_optab_handler_and_mode (optab op, machine_mode to_mode, in find_widening_optab_handler_and_mode()
514 optab op; in can_mult_highpart_p()
[all …]
HDinternal-fn.c112 get_multi_vector_move (tree array_type, convert_optab optab) in get_multi_vector_move() argument
121 return convert_optab_handler (optab, imode, vmode); in get_multi_vector_move()
127 expand_load_lanes_optab_fn (internal_fn, gcall *stmt, convert_optab optab) in expand_load_lanes_optab_fn() argument
145 expand_insn (get_multi_vector_move (type, optab), 2, ops); in expand_load_lanes_optab_fn()
151 expand_store_lanes_optab_fn (internal_fn, gcall *stmt, convert_optab optab) in expand_store_lanes_optab_fn() argument
169 expand_insn (get_multi_vector_move (type, optab), 2, ops); in expand_store_lanes_optab_fn()
2030 optab op; in expand_vector_ubsan_overflow()
2466 expand_mask_load_optab_fn (internal_fn, gcall *stmt, convert_optab optab) in expand_mask_load_optab_fn() argument
2480 if (optab == vec_mask_load_lanes_optab) in expand_mask_load_optab_fn()
2481 icode = get_multi_vector_move (type, optab); in expand_mask_load_optab_fn()
[all …]
HDoptabs.c50 static rtx expand_unop_direct (machine_mode, optab, rtx, rtx, int);
256 optab widen_pattern_optab; in expand_widen_pattern_expr()
314 expand_ternary_op (machine_mode mode, optab ternary_optab, rtx op0, in expand_ternary_op()
336 simplify_expand_binop (machine_mode mode, optab binoptab, in simplify_expand_binop()
355 force_expand_binop (machine_mode mode, optab binoptab, in force_expand_binop()
420 expand_superword_shift (optab binoptab, rtx outof_input, rtx superword_op1, in expand_superword_shift()
450 expand_subword_shift (scalar_int_mode op1_mode, optab binoptab, in expand_subword_shift()
456 optab reverse_unsigned_shift, unsigned_shift; in expand_subword_shift()
533 expand_doubleword_shift_condmove (scalar_int_mode op1_mode, optab binoptab, in expand_doubleword_shift_condmove()
616 expand_doubleword_shift (scalar_int_mode op1_mode, optab binoptab, in expand_doubleword_shift()
[all …]
HDinternal-fn.def42 direct optab. The function should only be called with a given
43 set of types if the associated optab is available for the modes
44 of those types. OPTAB says what optab to use (without the trailing
45 "_optab") and TYPE categorizes the optab based on its inputs and
46 outputs. The possible types of optab are:
58 - unary: a normal unary optab, such as vec_reverse_<mode>
59 - binary: a normal binary optab, such as vec_interleave_lo_<mode>
61 - cond_binary: a conditional binary optab, such as add<mode>cc
85 automatically for optab functions and call out to a function or macro
HDoptabs-tree.h38 optab optab_for_tree_code (enum tree_code, const_tree, enum optab_subtype);
HDtree-vect-stmts.c5215 optab optab; in vect_supportable_shift() local
5223 optab = optab_for_tree_code (code, vectype, optab_scalar); in vect_supportable_shift()
5224 if (!optab in vect_supportable_shift()
5225 || optab_handler (optab, TYPE_MODE (vectype)) == CODE_FOR_nothing) in vect_supportable_shift()
5227 optab = optab_for_tree_code (code, vectype, optab_vector); in vect_supportable_shift()
5228 if (!optab in vect_supportable_shift()
5229 || (optab_handler (optab, TYPE_MODE (vectype)) in vect_supportable_shift()
5235 icode = (int) optab_handler (optab, vec_mode); in vect_supportable_shift()
5264 optab optab; in vectorizable_shift() local
5416 optab = optab_for_tree_code (code, vectype, optab_vector); in vectorizable_shift()
[all …]
HDoptabs-tree.c34 optab
385 optab ot = optab_for_tree_code (code, type, ot_subtype); in target_supports_op_p()
HDoptabs.def21 C: A "conversion" optab, which uses two modes; has libcall data.
22 N: A "normal" optab, which uses one mode; has libcall data.
23 D: A "direct" optab, which uses one mode; does not have libcall data.
24 V: An "oVerflow" optab. Like N, but does not record its code in
27 CX, NX, VX: An extra pattern entry for a conversion or normal optab.
40 The pattern may be NULL if the optab exists only for the libcalls
HDtree-vect-generic.c393 optab op; in add_rshift()
450 optab op; in expand_vector_divmod()
1084 optab op; in optimize_vector_constructor()
1153 type_for_widest_vector_mode (tree type, optab op) in type_for_widest_vector_mode()
1463 get_compute_type (enum tree_code code, optab op, tree type) in get_compute_type()
1557 optab op = unknown_optab; in expand_vector_operations_1()
1687 optab opv; in expand_vector_operations_1()
1738 optab oplv = vashl_optab, opl = ashl_optab; in expand_vector_operations_1()
1739 optab oprv = vlshr_optab, opr = lshr_optab, opo = ior_optab; in expand_vector_operations_1()
HDgensupport.h59 } optab; typedef
HDtree-vect-patterns.c1870 optab optab1, optab2; in vect_recog_rotate_pattern()
2221 optab voptab = optab_for_tree_code (code, vectype, optab_vector); in target_has_vecop_for_code()
2563 optab mul_optab = optab_for_tree_code (MULT_EXPR, vectype, optab_default); in vect_recog_mult_pattern()
2642 optab optab; in vect_recog_divmod_pattern() local
2679 optab = optab_for_tree_code (rhs_code, vectype, optab_default); in vect_recog_divmod_pattern()
2680 if (optab != unknown_optab) in vect_recog_divmod_pattern()
2683 int icode = (int) optab_handler (optab, vec_mode); in vect_recog_divmod_pattern()
4523 optab optab = optab_for_tree_code (code, type_in, optab_default); in vect_pattern_recog_1() local
4525 if (!optab in vect_pattern_recog_1()
4526 || (icode = optab_handler (optab, vec_mode)) == CODE_FOR_nothing in vect_pattern_recog_1()
/dragonfly/contrib/gcc-4.7/gcc/
HDoptabs.h60 typedef struct optab_d * optab; typedef
663 extern optab code_to_optab[NUM_RTX_CODE + 1];
854 extern rtx expand_ternary_op (enum machine_mode mode, optab ternary_optab,
859 extern rtx expand_binop (enum machine_mode, optab, rtx, rtx, rtx, int,
862 extern rtx simplify_expand_binop (enum machine_mode mode, optab binoptab,
866 extern bool force_expand_binop (enum machine_mode, optab, rtx, rtx, rtx, int,
870 extern rtx sign_expand_binop (enum machine_mode, optab, optab, rtx, rtx,
874 extern int expand_twoval_unop (optab, rtx, rtx, rtx, int);
877 extern int expand_twoval_binop (optab, rtx, rtx, rtx, rtx, int);
881 extern bool expand_twoval_binop_libfunc (optab, rtx, rtx, rtx, rtx,
[all …]
HDoptabs.c58 optab code_to_optab[NUM_RTX_CODE + 1];
62 static rtx expand_unop_direct (enum machine_mode, optab, rtx, rtx, int);
82 ^ e->optab); in hash_libfunc()
93 return (e1->optab == e2->optab in eq_libfunc()
102 convert_optab_libfunc (convert_optab optab, enum machine_mode mode1, in convert_optab_libfunc() argument
108 e.optab = (size_t) (optab - &convert_optab_table[0]); in convert_optab_libfunc()
114 if (optab->libcall_gen) in convert_optab_libfunc()
116 optab->libcall_gen (optab, optab->libcall_basename, mode1, mode2); in convert_optab_libfunc()
132 optab_libfunc (optab optab, enum machine_mode mode) in optab_libfunc() argument
137 e.optab = (size_t) (optab - &optab_table[0]); in optab_libfunc()
[all …]
HDinternal-fn.c49 get_multi_vector_move (tree array_type, convert_optab optab) in get_multi_vector_move() argument
59 icode = convert_optab_handler (optab, imode, vmode); in get_multi_vector_move()
HDtree-vect-stmts.c2910 optab optab; in vect_supportable_shift() local
2918 optab = optab_for_tree_code (code, vectype, optab_scalar); in vect_supportable_shift()
2919 if (!optab in vect_supportable_shift()
2920 || optab_handler (optab, TYPE_MODE (vectype)) == CODE_FOR_nothing) in vect_supportable_shift()
2922 optab = optab_for_tree_code (code, vectype, optab_vector); in vect_supportable_shift()
2923 if (!optab in vect_supportable_shift()
2924 || (optab_handler (optab, TYPE_MODE (vectype)) in vect_supportable_shift()
2930 icode = (int) optab_handler (optab, vec_mode); in vect_supportable_shift()
2959 optab optab; in vectorizable_shift() local
3095 optab = optab_for_tree_code (code, vectype, optab_vector); in vectorizable_shift()
[all …]
HDtree-vect-patterns.c1584 optab optab; in vect_recog_sdivmod_pow2_pattern() local
1620 optab = optab_for_tree_code (rhs_code, vectype, optab_default); in vect_recog_sdivmod_pow2_pattern()
1621 if (optab != NULL) in vect_recog_sdivmod_pow2_pattern()
1624 int icode = (int) optab_handler (optab, vec_mode); in vect_recog_sdivmod_pow2_pattern()
2392 optab optab; in vect_pattern_recog_1() local
2414 optab = optab_for_tree_code (code, type_in, optab_default); in vect_pattern_recog_1()
2416 if (!optab in vect_pattern_recog_1()
2417 || (icode = optab_handler (optab, vec_mode)) == CODE_FOR_nothing in vect_pattern_recog_1()
HDlibfuncs.h54 size_t optab; member
HDtree-vect-slp.c465 optab optab; in vect_build_slp_tree() local
606 optab = optab_for_tree_code (rhs_code, vectype, in vect_build_slp_tree()
609 if (!optab in vect_build_slp_tree()
610 || optab_handler (optab, vec_mode) == CODE_FOR_nothing) in vect_build_slp_tree()
613 optab = optab_for_tree_code (rhs_code, vectype, in vect_build_slp_tree()
616 if (!optab) in vect_build_slp_tree()
623 icode = (int) optab_handler (optab, vec_mode); in vect_build_slp_tree()
HDtree-vect-loop.c2841 optab optab; in vect_model_reduction_cost() local
2915 optab = optab_for_tree_code (code, vectype, optab_default); in vect_model_reduction_cost()
2919 && optab_handler (optab, mode) != CODE_FOR_nothing in vect_model_reduction_cost()
3875 optab optab = optab_for_tree_code (code, vectype, optab_default); in vect_create_epilog_for_reduction() local
3876 if (optab_handler (optab, mode) == CODE_FOR_nothing) in vect_create_epilog_for_reduction()
4391 optab optab, reduc_optab; in vectorizable_reduction() local
4627 optab = optab_for_tree_code (code, vectype_in, optab_default); in vectorizable_reduction()
4628 if (!optab) in vectorizable_reduction()
4636 if (optab_handler (optab, vec_mode) == CODE_FOR_nothing) in vectorizable_reduction()
/dragonfly/contrib/gcc-4.7/libcpp/
HDexpr.c1036 } optab[] = variable
1146 if (optab[op.op].flags & NO_L_OPERAND) in _cpp_parse_expr()
1251 prio = optab[op].prio - ((optab[op].flags & LEFT_ASSOC) != 0); in reduce()
1252 while (prio < optab[top->op].prio) in reduce()
1255 && optab[top->op].flags & CHECK_PROMOTION) in reduce()
/dragonfly/contrib/gcc-8.0/libcpp/
HDexpr.c1254 } optab[] = variable
1368 if (optab[op.op].flags & NO_L_OPERAND) in _cpp_parse_expr()
1480 prio = optab[op].prio - ((optab[op].flags & LEFT_ASSOC) != 0); in reduce()
1481 while (prio < optab[top->op].prio) in reduce()
1484 && optab[top->op].flags & CHECK_PROMOTION) in reduce()

12