Home
last modified time | relevance | path

Searched refs:outer_code (Results 1 – 25 of 52) sorted by relevance

123

/openbsd-src/gnu/gcc/gcc/
H A Daddresses.h27 enum rtx_code outer_code ATTRIBUTE_UNUSED, in base_reg_class()
31 return MODE_CODE_BASE_REG_CLASS (mode, outer_code, index_code); in base_reg_class()
52 enum rtx_code outer_code ATTRIBUTE_UNUSED, in ok_for_base_p_1()
56 return REGNO_MODE_CODE_OK_FOR_BASE_P (regno, mode, outer_code, index_code); in ok_for_base_p_1()
75 enum rtx_code outer_code, enum rtx_code index_code) in regno_ok_for_base_p() argument
80 return ok_for_base_p_1 (regno, mode, outer_code, index_code); in regno_ok_for_base_p()
H A Dtarget.h554 bool (* rtx_costs) (rtx x, int code, int outer_code, int *total);
H A Dtarghooks.c475 hook_bool_rtx_commutative_p (rtx x, int outer_code ATTRIBUTE_UNUSED) in hook_bool_rtx_commutative_p()
H A Dregclass.c878 enum rtx_code outer_code, enum rtx_code index_code) in ok_for_base_p_nonstrict() argument
884 return ok_for_base_p_1 (regno, mode, outer_code, index_code); in ok_for_base_p_nonstrict()
1942 enum rtx_code outer_code, enum rtx_code index_code, in record_address_regs() argument
1951 class = base_reg_class (mode, outer_code, index_code); in record_address_regs()
/openbsd-src/gnu/gcc/gcc/config/vax/
H A Dvax.c538 vax_rtx_costs (rtx x, int code, int outer_code, int *total) in vax_rtx_costs() argument
554 if (outer_code == AND) in vax_rtx_costs()
560 || (outer_code == COMPARE in vax_rtx_costs()
562 || ((outer_code == PLUS || outer_code == MINUS) in vax_rtx_costs()
582 || (outer_code == PLUS in vax_rtx_costs()
/openbsd-src/gnu/gcc/gcc/config/bfin/
H A Dbfin.c2275 enum rtx_code outer_code) in bfin_valid_reg_p() argument
2278 return REGNO_OK_FOR_BASE_STRICT_P (regno, mode, outer_code, SCRATCH); in bfin_valid_reg_p()
2280 return REGNO_OK_FOR_BASE_NONSTRICT_P (regno, mode, outer_code, SCRATCH); in bfin_valid_reg_p()
2319 bfin_rtx_costs (rtx x, int code, int outer_code, int *total) in bfin_rtx_costs() argument
2326 if (outer_code == SET || outer_code == PLUS) in bfin_rtx_costs()
2328 else if (outer_code == AND) in bfin_rtx_costs()
2330 else if (outer_code == LE || outer_code == LT || outer_code == EQ) in bfin_rtx_costs()
2332 else if (outer_code == LEU || outer_code == LTU) in bfin_rtx_costs()
2334 else if (outer_code == MULT) in bfin_rtx_costs()
2336 else if (outer_code == ASHIFT && (INTVAL (x) == 1 || INTVAL (x) == 2)) in bfin_rtx_costs()
[all …]
/openbsd-src/gnu/gcc/gcc/config/score/
H A Dscore.c938 score_rtx_costs (rtx x, enum rtx_code code, enum rtx_code outer_code, in score_rtx_costs() argument
946 if (outer_code == SET) in score_rtx_costs()
954 else if (outer_code == PLUS || outer_code == MINUS) in score_rtx_costs()
964 else if (outer_code == AND || outer_code == IOR) in score_rtx_costs()
/openbsd-src/gnu/gcc/gcc/config/rs6000/
H A Drs6000.c18693 rs6000_rtx_costs (rtx x, int code, int outer_code, int *total) in rs6000_rtx_costs() argument
18701 if (((outer_code == SET in rs6000_rtx_costs()
18702 || outer_code == PLUS in rs6000_rtx_costs()
18703 || outer_code == MINUS) in rs6000_rtx_costs()
18706 || (outer_code == AND in rs6000_rtx_costs()
18714 || ((outer_code == IOR || outer_code == XOR) in rs6000_rtx_costs()
18719 || outer_code == ASHIFT in rs6000_rtx_costs()
18720 || outer_code == ASHIFTRT in rs6000_rtx_costs()
18721 || outer_code == LSHIFTRT in rs6000_rtx_costs()
18722 || outer_code == ROTATE in rs6000_rtx_costs()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/config/avr/
H A Davr.h1559 #define DEFAULT_RTX_COSTS(x, code, outer_code) \ argument
1561 int cst = default_rtx_costs (x, code, outer_code); \
H A Davr-protos.h118 RTX_CODE outer_code));
H A Davr.c4980 default_rtx_costs (X, code, outer_code) in default_rtx_costs() argument
4983 enum rtx_code outer_code;
4993 if (outer_code != SET)
5004 if (outer_code == SET)
5010 if (outer_code == SET)
5017 if (outer_code == SET)
/openbsd-src/gnu/usr.bin/gcc/gcc/config/sparc/
H A Dsparc.c8344 sparc_rtx_costs (x, code, outer_code) in sparc_rtx_costs() argument
8346 enum rtx_code code, outer_code;
8576 if (outer_code == ZERO_EXTEND)
8582 if (outer_code == ZERO_EXTEND)
8586 || outer_code == SIGN_EXTEND)
8600 || outer_code == ZERO_EXTEND
8601 || outer_code == SIGN_EXTEND)
8607 if (outer_code == ZERO_EXTEND
8608 || outer_code == SIGN_EXTEND)
8614 if (outer_code == ZERO_EXTEND
[all …]
/openbsd-src/gnu/gcc/gcc/config/mips/
H A Dmips.c2483 mips_rtx_costs (rtx x, int code, int outer_code, int *total) in mips_rtx_costs() argument
2495 if ((outer_code) == ASHIFT || (outer_code) == ASHIFTRT in mips_rtx_costs()
2496 || (outer_code) == LSHIFTRT) in mips_rtx_costs()
2506 if ((outer_code) == XOR in mips_rtx_costs()
2516 if (((outer_code) == LT || (outer_code) == LE in mips_rtx_costs()
2517 || (outer_code) == GE || (outer_code) == GT in mips_rtx_costs()
2518 || (outer_code) == LTU || (outer_code) == LEU in mips_rtx_costs()
2519 || (outer_code) == GEU || (outer_code) == GTU) in mips_rtx_costs()
2527 if (((outer_code) == EQ || (outer_code) == NE) in mips_rtx_costs()
2541 if (outer_code == SET in mips_rtx_costs()
/openbsd-src/gnu/gcc/gcc/config/sh/
H A Dsh.c2088 sh_rtx_costs (rtx x, int code, int outer_code, int *total) in sh_rtx_costs() argument
2097 else if (outer_code == AND && and_operand ((x), DImode)) in sh_rtx_costs()
2099 else if ((outer_code == IOR || outer_code == XOR in sh_rtx_costs()
2100 || outer_code == PLUS) in sh_rtx_costs()
2104 *total = COSTS_N_INSNS (outer_code != SET); in sh_rtx_costs()
2106 *total = COSTS_N_INSNS ((outer_code != SET) + 1); in sh_rtx_costs()
2108 *total = COSTS_N_INSNS ((outer_code != SET) + 2); in sh_rtx_costs()
2110 *total = COSTS_N_INSNS ((outer_code != SET) + 3); in sh_rtx_costs()
2115 else if ((outer_code == AND || outer_code == IOR || outer_code == XOR) in sh_rtx_costs()
2143 *total = outer_code != SET; in sh_rtx_costs()
[all …]
/openbsd-src/gnu/gcc/gcc/config/arm/
H A Darm.c4636 arm_size_rtx_costs (rtx x, int code, int outer_code, int *total) in arm_size_rtx_costs() argument
4643 *total = thumb_rtx_costs (x, code, outer_code); in arm_size_rtx_costs()
4821 *total = COSTS_N_INSNS (outer_code == SET ? 1 : 0); in arm_size_rtx_costs()
4823 *total = COSTS_N_INSNS (outer_code == AND ? 0 : 1); in arm_size_rtx_costs()
4826 if (outer_code == COMPARE || outer_code == PLUS in arm_size_rtx_costs()
4827 || outer_code == MINUS) in arm_size_rtx_costs()
4858 arm_slowmul_rtx_costs (rtx x, int code, int outer_code, int *total) in arm_slowmul_rtx_costs() argument
4864 *total = thumb_rtx_costs (x, code, outer_code); in arm_slowmul_rtx_costs()
4903 *total = arm_rtx_costs_1 (x, code, outer_code); in arm_slowmul_rtx_costs()
4912 arm_fastmul_rtx_costs (rtx x, int code, int outer_code, int *total) in arm_fastmul_rtx_costs() argument
[all …]
/openbsd-src/gnu/gcc/gcc/config/c4x/
H A Dc4x.c4526 c4x_rtx_costs (rtx x, int code, int outer_code, int *total) in c4x_rtx_costs() argument
4542 && outer_code == AND in c4x_rtx_costs()
4546 && (outer_code == ASHIFTRT || outer_code == LSHIFTRT) in c4x_rtx_costs()
4549 else if (TARGET_C3X && SHIFT_CODE_P (outer_code)) in c4x_rtx_costs()
4551 else if (LOGICAL_CODE_P (outer_code) in c4x_rtx_costs()
/openbsd-src/gnu/usr.bin/gcc/gcc/config/h8300/
H A Dh8300.c1146 const_costs (r, c, outer_code) in const_costs() argument
1149 enum rtx_code outer_code;
1162 return 0 + (outer_code == SET);
1166 return 0 + (outer_code == SET);
/openbsd-src/gnu/gcc/gcc/config/mn10300/
H A Dmn10300.c2020 mn10300_rtx_costs (rtx x, int code, int outer_code, int *total) in mn10300_rtx_costs() argument
2026 if (INTVAL (x) == 0 && outer_code == SET) in mn10300_rtx_costs()
/openbsd-src/gnu/gcc/gcc/config/cris/
H A Dcris.c1624 cris_rtx_costs (rtx x, int code, int outer_code, int *total) in cris_rtx_costs() argument
1701 *total = (rtx_cost (XEXP (x, 0), outer_code) + 2 in cris_rtx_costs()
1708 *total = rtx_cost (XEXP (x, 0), outer_code); in cris_rtx_costs()
/openbsd-src/gnu/gcc/gcc/config/h8300/
H A Dh8300.c1155 h8300_rtx_costs (rtx x, int code, int outer_code, int *total) in h8300_rtx_costs() argument
1157 if (TARGET_H8300SX && outer_code == MEM) in h8300_rtx_costs()
1197 *total = 0 + (outer_code == SET); in h8300_rtx_costs()
1202 *total = 0 + (outer_code == SET); in h8300_rtx_costs()
/openbsd-src/gnu/usr.bin/gcc/gcc/config/mmix/
H A Dmmix.c1193 mmix_rtx_cost_recalculated (x, code, outer_code, costp) in mmix_rtx_cost_recalculated() argument
1196 RTX_CODE outer_code ATTRIBUTE_UNUSED;
/openbsd-src/gnu/gcc/gcc/config/m68hc11/
H A Dm68hc11.c5285 enum rtx_code outer_code ATTRIBUTE_UNUSED) in m68hc11_rtx_costs_1()
5418 m68hc11_rtx_costs (rtx x, int code, int outer_code, int *total) in m68hc11_rtx_costs() argument
5432 if (outer_code == SET && x == const0_rtx) in m68hc11_rtx_costs()
5460 *total = m68hc11_rtx_costs_1 (x, code, outer_code); in m68hc11_rtx_costs()
/openbsd-src/gnu/gcc/gcc/config/pa/
H A Dpa.c128 static bool pa_commutative_p (rtx x, int outer_code);
1215 hppa_rtx_costs (rtx x, int code, int outer_code, int *total) in hppa_rtx_costs() argument
1240 && outer_code != SET) in hppa_rtx_costs()
8090 pa_commutative_p (rtx x, int outer_code) in pa_commutative_p() argument
8094 || (outer_code != UNKNOWN && outer_code != MEM) in pa_commutative_p()
/openbsd-src/gnu/gcc/gcc/config/i386/
H A Di386.c17231 ix86_rtx_costs (rtx x, int code, int outer_code, int *total) in ix86_rtx_costs() argument
17389 + rtx_cost (op0, outer_code) + rtx_cost (op1, outer_code)); in ix86_rtx_costs()
17419 *total += rtx_cost (XEXP (XEXP (x, 0), 1), outer_code); in ix86_rtx_costs()
17421 outer_code); in ix86_rtx_costs()
17422 *total += rtx_cost (XEXP (x, 1), outer_code); in ix86_rtx_costs()
17433 *total += rtx_cost (XEXP (XEXP (x, 0), 0), outer_code); in ix86_rtx_costs()
17434 *total += rtx_cost (XEXP (x, 1), outer_code); in ix86_rtx_costs()
17441 *total += rtx_cost (XEXP (XEXP (x, 0), 0), outer_code); in ix86_rtx_costs()
17442 *total += rtx_cost (XEXP (XEXP (x, 0), 1), outer_code); in ix86_rtx_costs()
17443 *total += rtx_cost (XEXP (x, 1), outer_code); in ix86_rtx_costs()
[all …]
/openbsd-src/gnu/gcc/gcc/config/s390/
H A Ds390.c2111 s390_rtx_costs (rtx x, int code, int outer_code, int *total) in s390_rtx_costs() argument
2281 if (outer_code == MULT || outer_code == DIV || outer_code == MOD in s390_rtx_costs()
2282 || outer_code == PLUS || outer_code == MINUS in s390_rtx_costs()
2283 || outer_code == COMPARE) in s390_rtx_costs()

123