/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nds32/ |
H A D | nds32-cost.c | 56 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 D | nds32-cost.cc | 56 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 D | addresses.h | 30 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 D | rtlanal.c | 4222 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 D | addresses.h | 30 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 D | rl78.h | 378 #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 D | rl78.h | 378 #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 D | avr.h | 278 #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 D | avr.h | 283 #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 D | or1k.cc | 1592 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 D | bfin.c | 2693 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 D | bfin.cc | 2694 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 D | csky.cc | 6575 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 D | csky.c | 6127 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 D | lm32.c | 69 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 D | lm32.cc | 69 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 D | vax.c | 839 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 D | pru.c | 668 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 D | pru.cc | 637 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 D | msp430.cc | 1205 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 D | c6x.c | 5993 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 D | c6x.cc | 5996 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 D | cris.cc | 1874 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 D | tilegx.c | 530 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 D | tilegx.cc | 531 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()
|