Home
last modified time | relevance | path

Searched refs:cmp_code (Results 1 – 25 of 37) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dccmp.cc299 rtx_code cmp_code = GET_CODE (tmp); in expand_ccmp_expr() local
302 cc_mode = SELECT_CC_MODE (cmp_code, XEXP (tmp, 0), const0_rtx); in expand_ccmp_expr()
312 tmp = emit_cstore (target, icode, cmp_code, cc_mode, cc_mode, in expand_ccmp_expr()
H A Dgimple-predicate-analysis.cc481 tree boundary_cst, tree_code cmp_code, in prune_phi_opnds() argument
530 boundary_cst, cmp_code, eval, visited_phis, in prune_phi_opnds()
539 if (is_value_included_in (flag_arg, boundary_cst, cmp_code)) in prune_phi_opnds()
777 tree_code cmp_code = find_var_cmp_const (m_preds, phi, &flag_def, in overlap() local
779 if (cmp_code == ERROR_MARK) in overlap()
786 cmp_code, m_eval, visited, in overlap()
H A Doptabs.cc590 enum rtx_code cmp_code, rtx cmp1, rtx cmp2, in expand_doubleword_shift_condmove() argument
629 if (!emit_conditional_move (into_target, { cmp_code, cmp1, cmp2, op1_mode }, in expand_doubleword_shift_condmove()
635 { cmp_code, cmp1, cmp2, op1_mode }, in expand_doubleword_shift_condmove()
680 enum rtx_code cmp_code; in expand_doubleword_shift() local
717 cmp_code = EQ; in expand_doubleword_shift()
726 cmp_code = LT; in expand_doubleword_shift()
734 tmp = simplify_relational_operation (cmp_code, SImode, op1_mode, cmp1, cmp2); in expand_doubleword_shift()
753 cmp_code, cmp1, cmp2, in expand_doubleword_shift()
767 do_compare_rtx_and_jump (cmp1, cmp2, cmp_code, false, op1_mode, in expand_doubleword_shift()
4422 enum insn_code cmp_code; in prepare_cmp_insn() local
[all …]
H A Dtree-data-ref.cc2600 tree_code cmp_code; in create_intersect_range_checks() local
2615 cmp_code = LE_EXPR; in create_intersect_range_checks()
2634 cmp_code = LT_EXPR; in create_intersect_range_checks()
2643 fold_build2 (cmp_code, boolean_type_node, seg_a_max, seg_b_min), in create_intersect_range_checks()
2644 fold_build2 (cmp_code, boolean_type_node, seg_b_max, seg_a_min)); in create_intersect_range_checks()
H A Dmatch.pd4416 enum tree_code code, cmp_code = cmp;
4428 if (cmp_code == LT_EXPR)
4429 cmp_code = GT_EXPR;
4430 if (cmp_code == GE_EXPR)
4431 cmp_code = LE_EXPR;
4443 code = cmp_code;
4452 if (cmp_code == LE_EXPR)
4455 if (cmp_code == GT_EXPR)
4462 if (cmp_code == LT_EXPR)
4465 if (cmp_code == GE_EXPR)
[all …]
H A Dsimplify-rtx.cc6352 simplify_context::simplify_cond_clz_ctz (rtx x, rtx_code cmp_code, in simplify_cond_clz_ctz() argument
6355 if (cmp_code != EQ && cmp_code != NE) in simplify_cond_clz_ctz()
6360 if (cmp_code == EQ) in simplify_cond_clz_ctz()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dccmp.c301 rtx_code cmp_code = GET_CODE (tmp); in expand_ccmp_expr() local
304 cc_mode = SELECT_CC_MODE (cmp_code, XEXP (tmp, 0), const0_rtx); in expand_ccmp_expr()
314 tmp = emit_cstore (target, icode, cmp_code, cc_mode, cc_mode, in expand_ccmp_expr()
H A Dtree-ssa-uninit.c1153 tree boundary_cst, enum tree_code cmp_code, in prune_uninit_phi_opnds() argument
1204 cmp_code, visited_phis, visited_flag_phis)) in prune_uninit_phi_opnds()
1213 if (is_value_included_in (flag_arg, boundary_cst, cmp_code)) in prune_uninit_phi_opnds()
1333 enum tree_code cmp_code; in use_pred_not_overlap_with_undef_path_pred() local
1356 cmp_code = the_pred.cond_code; in use_pred_not_overlap_with_undef_path_pred()
1394 cmp_code = get_cmp_code (cmp_code, swap_cond, invert); in use_pred_not_overlap_with_undef_path_pred()
1396 if (cmp_code == ERROR_MARK) in use_pred_not_overlap_with_undef_path_pred()
1400 (phi, uninit_opnds, as_a<gphi *> (flag_def), boundary_cst, cmp_code, in use_pred_not_overlap_with_undef_path_pred()
H A Doptabs.c564 enum rtx_code cmp_code, rtx cmp1, rtx cmp2, in expand_doubleword_shift_condmove() argument
603 if (!emit_conditional_move (into_target, cmp_code, cmp1, cmp2, op1_mode, in expand_doubleword_shift_condmove()
608 if (!emit_conditional_move (outof_target, cmp_code, cmp1, cmp2, op1_mode, in expand_doubleword_shift_condmove()
653 enum rtx_code cmp_code; in expand_doubleword_shift() local
690 cmp_code = EQ; in expand_doubleword_shift()
699 cmp_code = LT; in expand_doubleword_shift()
707 tmp = simplify_relational_operation (cmp_code, SImode, op1_mode, cmp1, cmp2); in expand_doubleword_shift()
726 cmp_code, cmp1, cmp2, in expand_doubleword_shift()
740 do_compare_rtx_and_jump (cmp1, cmp2, cmp_code, false, op1_mode, in expand_doubleword_shift()
3922 enum insn_code cmp_code; in prepare_cmp_insn() local
[all …]
H A Dmatch.pd3455 enum tree_code code, cmp_code = cmp;
3467 if (cmp_code == LT_EXPR)
3468 cmp_code = GT_EXPR;
3469 if (cmp_code == GE_EXPR)
3470 cmp_code = LE_EXPR;
3482 code = cmp_code;
3491 if (cmp_code == LE_EXPR)
3494 if (cmp_code == GT_EXPR)
3501 if (cmp_code == LT_EXPR)
3504 if (cmp_code == GE_EXPR)
[all …]
H A Dtree-data-ref.c2345 tree_code cmp_code; in create_intersect_range_checks() local
2360 cmp_code = LE_EXPR; in create_intersect_range_checks()
2377 cmp_code = LT_EXPR; in create_intersect_range_checks()
2386 fold_build2 (cmp_code, boolean_type_node, seg_a_max, seg_b_min), in create_intersect_range_checks()
2387 fold_build2 (cmp_code, boolean_type_node, seg_b_max, seg_a_min)); in create_intersect_range_checks()
H A Dsimplify-rtx.c5823 simplify_cond_clz_ctz (rtx x, rtx_code cmp_code, rtx true_val, rtx false_val) in simplify_cond_clz_ctz() argument
5825 if (cmp_code != EQ && cmp_code != NE) in simplify_cond_clz_ctz()
5830 if (cmp_code == EQ) in simplify_cond_clz_ctz()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/alpha/
H A Dalpha.cc2509 enum rtx_code cmp_code, branch_code; in alpha_emit_conditional_branch() local
2529 cmp_code = code, branch_code = NE; in alpha_emit_conditional_branch()
2535 cmp_code = reverse_condition (code), branch_code = EQ; in alpha_emit_conditional_branch()
2542 cmp_code = swap_condition (code); in alpha_emit_conditional_branch()
2548 cmp_code = reverse_condition (code); in alpha_emit_conditional_branch()
2559 if (flag_unsafe_math_optimizations && cmp_code != UNORDERED) in alpha_emit_conditional_branch()
2564 cmp_code = UNKNOWN, branch_code = code; in alpha_emit_conditional_branch()
2569 branch_code = swap_condition (cmp_code); in alpha_emit_conditional_branch()
2570 cmp_code = UNKNOWN; in alpha_emit_conditional_branch()
2588 cmp_code = UNKNOWN, branch_code = code; in alpha_emit_conditional_branch()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/alpha/
H A Dalpha.c2504 enum rtx_code cmp_code, branch_code; in alpha_emit_conditional_branch() local
2524 cmp_code = code, branch_code = NE; in alpha_emit_conditional_branch()
2530 cmp_code = reverse_condition (code), branch_code = EQ; in alpha_emit_conditional_branch()
2537 cmp_code = swap_condition (code); in alpha_emit_conditional_branch()
2543 cmp_code = reverse_condition (code); in alpha_emit_conditional_branch()
2554 if (flag_unsafe_math_optimizations && cmp_code != UNORDERED) in alpha_emit_conditional_branch()
2559 cmp_code = UNKNOWN, branch_code = code; in alpha_emit_conditional_branch()
2564 branch_code = swap_condition (cmp_code); in alpha_emit_conditional_branch()
2565 cmp_code = UNKNOWN; in alpha_emit_conditional_branch()
2583 cmp_code = UNKNOWN, branch_code = code; in alpha_emit_conditional_branch()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nds32/
H A Dnds32-md-auxiliary.cc432 enum rtx_code cmp_code; in nds32_expand_cbranch() local
438 cmp_code = EQ; in nds32_expand_cbranch()
454 cmp_code = NE; in nds32_expand_cbranch()
469 PUT_CODE (operands[0], cmp_code); in nds32_expand_cbranch()
571 enum rtx_code cmp_code; in nds32_expand_cbranch() local
579 cmp_code = NE; in nds32_expand_cbranch()
595 cmp_code = EQ; in nds32_expand_cbranch()
610 PUT_CODE (operands[0], cmp_code); in nds32_expand_cbranch()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nds32/
H A Dnds32-md-auxiliary.c432 enum rtx_code cmp_code; in nds32_expand_cbranch() local
438 cmp_code = EQ; in nds32_expand_cbranch()
454 cmp_code = NE; in nds32_expand_cbranch()
469 PUT_CODE (operands[0], cmp_code); in nds32_expand_cbranch()
571 enum rtx_code cmp_code; in nds32_expand_cbranch() local
579 cmp_code = NE; in nds32_expand_cbranch()
595 cmp_code = EQ; in nds32_expand_cbranch()
610 PUT_CODE (operands[0], cmp_code); in nds32_expand_cbranch()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/or1k/
H A Dor1k.cc1482 rtx_code cmp_code = GET_CODE (operands[0]); in or1k_expand_compare() local
1492 switch (cmp_code) in or1k_expand_compare()
1495 cmp_code = UNEQ; in or1k_expand_compare()
1500 cmp_code = UNORDERED; in or1k_expand_compare()
1510 PUT_CODE (operands[0], cmp_code); in or1k_expand_compare()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/s390/
H A Ds390.c6162 s390_expand_addcc (enum rtx_code cmp_code, rtx cmp_op0, rtx cmp_op1, in s390_expand_addcc() argument
6185 if (cmp_code == EQ || cmp_code == NE) in s390_expand_addcc()
6194 cmp_code = cmp_code == EQ ? LEU : GTU; in s390_expand_addcc()
6197 if (cmp_code == LTU || cmp_code == LEU) in s390_expand_addcc()
6202 cmp_code = swap_condition (cmp_code); in s390_expand_addcc()
6205 switch (cmp_code) in s390_expand_addcc()
6230 op_res = gen_rtx_fmt_ee (cmp_code, GET_MODE (dst), in s390_expand_addcc()
6257 if (cmp_code == EQ || cmp_code == NE) in s390_expand_addcc()
6266 cmp_code = cmp_code == EQ ? LEU : GTU; in s390_expand_addcc()
6269 if (cmp_code == GTU || cmp_code == GEU) in s390_expand_addcc()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/s390/
H A Ds390.cc6260 s390_expand_addcc (enum rtx_code cmp_code, rtx cmp_op0, rtx cmp_op1, in s390_expand_addcc() argument
6283 if (cmp_code == EQ || cmp_code == NE) in s390_expand_addcc()
6292 cmp_code = cmp_code == EQ ? LEU : GTU; in s390_expand_addcc()
6295 if (cmp_code == LTU || cmp_code == LEU) in s390_expand_addcc()
6300 cmp_code = swap_condition (cmp_code); in s390_expand_addcc()
6303 switch (cmp_code) in s390_expand_addcc()
6328 op_res = gen_rtx_fmt_ee (cmp_code, GET_MODE (dst), in s390_expand_addcc()
6355 if (cmp_code == EQ || cmp_code == NE) in s390_expand_addcc()
6364 cmp_code = cmp_code == EQ ? LEU : GTU; in s390_expand_addcc()
6367 if (cmp_code == GTU || cmp_code == GEU) in s390_expand_addcc()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rx/
H A Drx.md769 enum rtx_code cmp_code;
775 cmp_code = GET_CODE (operands[5]);
787 cmp_code = reverse_condition (cmp_code);
796 x = gen_rtx_fmt_ee (cmp_code, VOIDmode, flags, const0_rtx);
H A Drx.c3252 rx_select_cc_mode (enum rtx_code cmp_code, rtx x, rtx y) in rx_select_cc_mode() argument
3260 return mode_from_flags (flags_from_code (cmp_code)); in rx_select_cc_mode()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rx/
H A Drx.md770 enum rtx_code cmp_code;
776 cmp_code = GET_CODE (operands[5]);
788 cmp_code = reverse_condition (cmp_code);
797 x = gen_rtx_fmt_ee (cmp_code, VOIDmode, flags, const0_rtx);
H A Drx.cc3260 rx_select_cc_mode (enum rtx_code cmp_code, rtx x, rtx y) in rx_select_cc_mode() argument
3268 return mode_from_flags (flags_from_code (cmp_code)); in rx_select_cc_mode()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/epiphany/
H A Depiphany.md1852 enum rtx_code cmp_code = GET_CODE (operands[1]);
1864 if (cmp_code != NE)
1876 operands[4] = gen_rtx_fmt_ee (cmp_code, SImode,
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/epiphany/
H A Depiphany.md1852 enum rtx_code cmp_code = GET_CODE (operands[1]);
1864 if (cmp_code != NE)
1876 operands[4] = gen_rtx_fmt_ee (cmp_code, SImode,

12