Home
last modified time | relevance | path

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

12345

/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nds32/
H A Dnds32-cost.c56 int outer_code ATTRIBUTE_UNUSED, in nds32_rtx_costs_speed_prefer()
79 if (outer_code == SET || outer_code == PLUS) in nds32_rtx_costs_speed_prefer()
81 else if (outer_code == AND || outer_code == IOR || outer_code == XOR in nds32_rtx_costs_speed_prefer()
82 || outer_code == MINUS) in nds32_rtx_costs_speed_prefer()
84 else if (outer_code == ASHIFT || outer_code == ASHIFTRT in nds32_rtx_costs_speed_prefer()
85 || outer_code == LSHIFTRT) in nds32_rtx_costs_speed_prefer()
87 else if (GET_RTX_CLASS (outer_code) == RTX_COMPARE in nds32_rtx_costs_speed_prefer()
88 || GET_RTX_CLASS (outer_code) == RTX_COMM_COMPARE) in nds32_rtx_costs_speed_prefer()
251 else if (outer_code == PLUS || outer_code == MINUS) in nds32_rtx_costs_speed_prefer()
270 else if (outer_code == PLUS || outer_code == MINUS in nds32_rtx_costs_speed_prefer()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nds32/
H A Dnds32-cost.cc56 int outer_code ATTRIBUTE_UNUSED, in nds32_rtx_costs_speed_prefer()
79 if (outer_code == SET || outer_code == PLUS) in nds32_rtx_costs_speed_prefer()
81 else if (outer_code == AND || outer_code == IOR || outer_code == XOR in nds32_rtx_costs_speed_prefer()
82 || outer_code == MINUS) in nds32_rtx_costs_speed_prefer()
84 else if (outer_code == ASHIFT || outer_code == ASHIFTRT in nds32_rtx_costs_speed_prefer()
85 || outer_code == LSHIFTRT) in nds32_rtx_costs_speed_prefer()
87 else if (GET_RTX_CLASS (outer_code) == RTX_COMPARE in nds32_rtx_costs_speed_prefer()
88 || GET_RTX_CLASS (outer_code) == RTX_COMM_COMPARE) in nds32_rtx_costs_speed_prefer()
251 else if (outer_code == PLUS || outer_code == MINUS) in nds32_rtx_costs_speed_prefer()
270 else if (outer_code == PLUS || outer_code == MINUS in nds32_rtx_costs_speed_prefer()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Daddresses.h30 enum rtx_code outer_code ATTRIBUTE_UNUSED, in base_reg_class()
34 return MODE_CODE_BASE_REG_CLASS (MACRO_MODE (mode), as, outer_code, in base_reg_class()
58 enum rtx_code outer_code ATTRIBUTE_UNUSED, in ok_for_base_p_1()
63 outer_code, index_code); in ok_for_base_p_1()
82 enum rtx_code outer_code, enum rtx_code index_code) in regno_ok_for_base_p() argument
87 return ok_for_base_p_1 (regno, mode, as, outer_code, index_code); in regno_ok_for_base_p()
H A Drtlanal.c4222 rtx_cost (rtx x, machine_mode mode, enum rtx_code outer_code, in rtx_cost() argument
4296 if (targetm.rtx_costs (x, mode, outer_code, opno, &total, speed)) in rtx_cost()
6158 strip_address_mutations (rtx *loc, enum rtx_code *outer_code) in strip_address_mutations() argument
6182 if (outer_code) in strip_address_mutations()
6183 *outer_code = code; in strip_address_mutations()
6351 enum rtx_code outer_code, enum rtx_code index_code) in baseness() argument
6364 bool base_p = ok_for_base_p_1 (regno, mode, as, outer_code, index_code); in baseness()
6457 addr_space_t as, enum rtx_code outer_code) in decompose_address() argument
6462 info->addr_outer_code = outer_code; in decompose_address()
6464 info->inner = strip_address_mutations (loc, &outer_code); in decompose_address()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Daddresses.h30 enum rtx_code outer_code ATTRIBUTE_UNUSED, in base_reg_class()
34 return MODE_CODE_BASE_REG_CLASS (MACRO_MODE (mode), as, outer_code, in base_reg_class()
58 enum rtx_code outer_code ATTRIBUTE_UNUSED, in ok_for_base_p_1()
63 outer_code, index_code); in ok_for_base_p_1()
82 enum rtx_code outer_code, enum rtx_code index_code) in regno_ok_for_base_p() argument
87 return ok_for_base_p_1 (regno, mode, as, outer_code, index_code); in regno_ok_for_base_p()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rl78/
H A Drl78.h378 #define REGNO_MODE_CODE_OK_FOR_BASE_P(regno, mode, address_space, outer_code, index_code) \ argument
379 rl78_regno_mode_code_ok_for_base_p (regno, mode, address_space, outer_code, index_code)
381 #define MODE_CODE_BASE_REG_CLASS(mode, address_space, outer_code, index_code) \ argument
382 rl78_mode_code_base_reg_class (mode, address_space, outer_code, index_code)
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rl78/
H A Drl78.h378 #define REGNO_MODE_CODE_OK_FOR_BASE_P(regno, mode, address_space, outer_code, index_code) \ argument
379 rl78_regno_mode_code_ok_for_base_p (regno, mode, address_space, outer_code, index_code)
381 #define MODE_CODE_BASE_REG_CLASS(mode, address_space, outer_code, index_code) \ argument
382 rl78_mode_code_base_reg_class (mode, address_space, outer_code, index_code)
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/avr/
H A Davr.h278 #define MODE_CODE_BASE_REG_CLASS(mode, as, outer_code, index_code) \ argument
279 avr_mode_code_base_reg_class (mode, as, outer_code, index_code)
283 #define REGNO_MODE_CODE_OK_FOR_BASE_P(num, mode, as, outer_code, index_code) \ argument
284 avr_regno_mode_code_ok_for_base_p (num, mode, as, outer_code, index_code)
/netbsd-src/external/gpl3/gcc/dist/gcc/config/avr/
H A Davr.h283 #define MODE_CODE_BASE_REG_CLASS(mode, as, outer_code, index_code) \ argument
284 avr_mode_code_base_reg_class (mode, as, outer_code, index_code)
288 #define REGNO_MODE_CODE_OK_FOR_BASE_P(num, mode, as, outer_code, index_code) \ argument
289 avr_regno_mode_code_ok_for_base_p (num, mode, as, outer_code, index_code)
/netbsd-src/external/gpl3/gcc/dist/gcc/config/or1k/
H A Dor1k.cc1592 or1k_rtx_costs (rtx x, machine_mode mode, int outer_code, int /* opno */, in or1k_rtx_costs() argument
1600 else if ((outer_code == PLUS || outer_code == XOR || outer_code == MULT) in or1k_rtx_costs()
1603 else if ((outer_code == AND || outer_code == IOR) in or1k_rtx_costs()
1625 *total = (outer_code == MEM ? 0 : 2); in or1k_rtx_costs()
1631 if (outer_code == LO_SUM || outer_code == HIGH) in or1k_rtx_costs()
1636 *total = COSTS_N_INSNS (1 + (outer_code != MEM)); in or1k_rtx_costs()
1641 if (outer_code == MEM) in or1k_rtx_costs()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/bfin/
H A Dbfin.c2693 enum rtx_code outer_code) in bfin_valid_reg_p() argument
2696 return REGNO_OK_FOR_BASE_STRICT_P (regno, mode, outer_code, SCRATCH); in bfin_valid_reg_p()
2698 return REGNO_OK_FOR_BASE_NONSTRICT_P (regno, mode, outer_code, SCRATCH); in bfin_valid_reg_p()
2808 enum rtx_code outer_code = (enum rtx_code) outer_code_i; in bfin_rtx_costs() local
2815 if (outer_code == SET || outer_code == PLUS) in bfin_rtx_costs()
2817 else if (outer_code == AND) in bfin_rtx_costs()
2819 else if (outer_code == LE || outer_code == LT || outer_code == EQ) in bfin_rtx_costs()
2821 else if (outer_code == LEU || outer_code == LTU) in bfin_rtx_costs()
2823 else if (outer_code == MULT) in bfin_rtx_costs()
2825 else if (outer_code == ASHIFT && (INTVAL (x) == 1 || INTVAL (x) == 2)) in bfin_rtx_costs()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/bfin/
H A Dbfin.cc2694 enum rtx_code outer_code) in bfin_valid_reg_p() argument
2697 return REGNO_OK_FOR_BASE_STRICT_P (regno, mode, outer_code, SCRATCH); in bfin_valid_reg_p()
2699 return REGNO_OK_FOR_BASE_NONSTRICT_P (regno, mode, outer_code, SCRATCH); in bfin_valid_reg_p()
2809 enum rtx_code outer_code = (enum rtx_code) outer_code_i; in bfin_rtx_costs() local
2816 if (outer_code == SET || outer_code == PLUS) in bfin_rtx_costs()
2818 else if (outer_code == AND) in bfin_rtx_costs()
2820 else if (outer_code == LE || outer_code == LT || outer_code == EQ) in bfin_rtx_costs()
2822 else if (outer_code == LEU || outer_code == LTU) in bfin_rtx_costs()
2824 else if (outer_code == MULT) in bfin_rtx_costs()
2826 else if (outer_code == ASHIFT && (INTVAL (x) == 1 || INTVAL (x) == 2)) in bfin_rtx_costs()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/csky/
H A Dcsky.cc6575 ck802_ck801_rtx_costs (rtx x, int code, int outer_code, int *total, in ck802_ck801_rtx_costs() argument
6635 if ((m == 2 || m == 4) && outer_code == PLUS) in ck802_ck801_rtx_costs()
6701 if (outer_code == COMPARE) in ck802_ck801_rtx_costs()
6708 else if (outer_code == AND || outer_code == IOR || outer_code == XOR) in ck802_ck801_rtx_costs()
6715 if (outer_code == AND && (t == 0xff || t == 0xffff)) in ck802_ck801_rtx_costs()
6727 else if (outer_code == PLUS || outer_code == MINUS) in ck802_ck801_rtx_costs()
6741 else if (outer_code == ROTATE || outer_code == ROTATERT in ck802_ck801_rtx_costs()
6742 || outer_code == LSHIFTRT || outer_code == ASHIFTRT in ck802_ck801_rtx_costs()
6743 || outer_code == ASHIFT) in ck802_ck801_rtx_costs()
6753 if (outer_code == SET && t < 256) in ck802_ck801_rtx_costs()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/csky/
H A Dcsky.c6127 ck802_ck801_rtx_costs (rtx x, int code, int outer_code, int *total, in ck802_ck801_rtx_costs() argument
6187 if ((m == 2 || m == 4) && outer_code == PLUS) in ck802_ck801_rtx_costs()
6253 if (outer_code == COMPARE) in ck802_ck801_rtx_costs()
6260 else if (outer_code == AND || outer_code == IOR || outer_code == XOR) in ck802_ck801_rtx_costs()
6267 if (outer_code == AND && (t == 0xff || t == 0xffff)) in ck802_ck801_rtx_costs()
6279 else if (outer_code == PLUS || outer_code == MINUS) in ck802_ck801_rtx_costs()
6293 else if (outer_code == ROTATE || outer_code == ROTATERT in ck802_ck801_rtx_costs()
6294 || outer_code == LSHIFTRT || outer_code == ASHIFTRT in ck802_ck801_rtx_costs()
6295 || outer_code == ASHIFT) in ck802_ck801_rtx_costs()
6305 if (outer_code == SET && t < 256) in ck802_ck801_rtx_costs()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/lm32/
H A Dlm32.c69 static bool lm32_rtx_costs (rtx x, machine_mode mode, int outer_code, int opno,
925 lm32_rtx_costs (rtx x, machine_mode mode, int outer_code, in lm32_rtx_costs() argument
1092 switch (outer_code) in lm32_rtx_costs()
1145 switch (outer_code) in lm32_rtx_costs()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/lm32/
H A Dlm32.cc69 static bool lm32_rtx_costs (rtx x, machine_mode mode, int outer_code, int opno,
925 lm32_rtx_costs (rtx x, machine_mode mode, int outer_code, in lm32_rtx_costs() argument
1092 switch (outer_code) in lm32_rtx_costs()
1145 switch (outer_code) in lm32_rtx_costs()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/vax/
H A Dvax.c839 vax_rtx_costs (rtx x, machine_mode mode, int outer_code, in vax_rtx_costs() argument
860 if (outer_code == AND) in vax_rtx_costs()
866 || (outer_code == COMPARE in vax_rtx_costs()
868 || ((outer_code == PLUS || outer_code == MINUS) in vax_rtx_costs()
888 || (outer_code == PLUS in vax_rtx_costs()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/pru/
H A Dpru.c668 int outer_code, int opno ATTRIBUTE_UNUSED, in pru_rtx_costs() argument
688 else if (outer_code == MEM && ctable_addr_operand (x, VOIDmode)) in pru_rtx_costs()
748 if (op1_mode == VOIDmode && CONST_INT_P (op1) && outer_code == MEM) in pru_rtx_costs()
750 if (outer_code == MEM in pru_rtx_costs()
784 if ((outer_code == EQ || outer_code == NE) in pru_rtx_costs()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/pru/
H A Dpru.cc637 int outer_code, int opno ATTRIBUTE_UNUSED, in pru_rtx_costs() argument
657 else if (outer_code == MEM && ctable_addr_operand (x, VOIDmode)) in pru_rtx_costs()
717 if (op1_mode == VOIDmode && CONST_INT_P (op1) && outer_code == MEM) in pru_rtx_costs()
719 if (outer_code == MEM in pru_rtx_costs()
753 if ((outer_code == EQ || outer_code == NE) in pru_rtx_costs()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/msp430/
H A Dmsp430.cc1205 enum rtx_code outer_code = GET_CODE (outer_rtx); in msp430_costs() local
1210 if (outer_code == TRUNCATE in msp430_costs()
1320 enum rtx_code outer_code = GET_CODE (outer_rtx); in msp430_muldiv_costs() local
1345 if (outer_code != MULT) in msp430_muldiv_costs()
1366 if (outer_code != MULT || !msp430_has_hwmult () in msp430_muldiv_costs()
1369 factor = (outer_code == MULT ? 50 : 70); in msp430_muldiv_costs()
1508 int outer_code ATTRIBUTE_UNUSED, in msp430_rtx_costs()
1535 if (outer_code == MEM) in msp430_rtx_costs()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/c6x/
H A Dc6x.c5993 c6x_rtx_costs (rtx x, machine_mode mode, int outer_code, int opno, int *total, in c6x_rtx_costs() argument
6003 if (outer_code == SET || outer_code == PLUS) in c6x_rtx_costs()
6005 else if (outer_code == AND || outer_code == IOR || outer_code == XOR in c6x_rtx_costs()
6006 || outer_code == MINUS) in c6x_rtx_costs()
6008 else if (GET_RTX_CLASS (outer_code) == RTX_COMPARE in c6x_rtx_costs()
6009 || GET_RTX_CLASS (outer_code) == RTX_COMM_COMPARE) in c6x_rtx_costs()
6011 else if (outer_code == ASHIFT || outer_code == ASHIFTRT in c6x_rtx_costs()
6012 || outer_code == LSHIFTRT) in c6x_rtx_costs()
6171 *total = rtx_cost (XEXP (x, 1), VOIDmode, (enum rtx_code) outer_code, in c6x_rtx_costs()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/c6x/
H A Dc6x.cc5996 c6x_rtx_costs (rtx x, machine_mode mode, int outer_code, int opno, int *total, in c6x_rtx_costs() argument
6006 if (outer_code == SET || outer_code == PLUS) in c6x_rtx_costs()
6008 else if (outer_code == AND || outer_code == IOR || outer_code == XOR in c6x_rtx_costs()
6009 || outer_code == MINUS) in c6x_rtx_costs()
6011 else if (GET_RTX_CLASS (outer_code) == RTX_COMPARE in c6x_rtx_costs()
6012 || GET_RTX_CLASS (outer_code) == RTX_COMM_COMPARE) in c6x_rtx_costs()
6014 else if (outer_code == ASHIFT || outer_code == ASHIFTRT in c6x_rtx_costs()
6015 || outer_code == LSHIFTRT) in c6x_rtx_costs()
6174 *total = rtx_cost (XEXP (x, 1), VOIDmode, (enum rtx_code) outer_code, in c6x_rtx_costs()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/cris/
H A Dcris.cc1874 cris_rtx_costs (rtx x, machine_mode mode, int outer_code, int opno, in cris_rtx_costs() argument
1925 if (outer_code == PLUS && cris_biap_index_p (x, false)) in cris_rtx_costs()
1970 = (rtx_cost (XEXP (x, 0), mode, (enum rtx_code) outer_code, in cris_rtx_costs()
1981 if (outer_code != COMPARE) in cris_rtx_costs()
1985 switch (outer_code) in cris_rtx_costs()
2005 *total = rtx_cost (XEXP (x, 0), VOIDmode, (enum rtx_code) outer_code, in cris_rtx_costs()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/tilegx/
H A Dtilegx.c530 tilegx_rtx_costs (rtx x, machine_mode mode, int outer_code, int opno, in tilegx_rtx_costs() argument
549 else if (outer_code == PLUS && add_operand (x, VOIDmode)) in tilegx_rtx_costs()
590 if (outer_code == ZERO_EXTEND || outer_code == SIGN_EXTEND) in tilegx_rtx_costs()
602 (enum rtx_code) outer_code, opno, speed) in tilegx_rtx_costs()
604 (enum rtx_code) outer_code, opno, speed) in tilegx_rtx_costs()
636 if (outer_code == ZERO_EXTEND || outer_code == SIGN_EXTEND) in tilegx_rtx_costs()
643 if (outer_code == PLUS) in tilegx_rtx_costs()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/tilegx/
H A Dtilegx.cc531 tilegx_rtx_costs (rtx x, machine_mode mode, int outer_code, int opno, in tilegx_rtx_costs() argument
550 else if (outer_code == PLUS && add_operand (x, VOIDmode)) in tilegx_rtx_costs()
591 if (outer_code == ZERO_EXTEND || outer_code == SIGN_EXTEND) in tilegx_rtx_costs()
603 (enum rtx_code) outer_code, opno, speed) in tilegx_rtx_costs()
605 (enum rtx_code) outer_code, opno, speed) in tilegx_rtx_costs()
637 if (outer_code == ZERO_EXTEND || outer_code == SIGN_EXTEND) in tilegx_rtx_costs()
644 if (outer_code == PLUS) in tilegx_rtx_costs()

12345