Lines Matching defs:memmode
100 machine_mode memmode;
128 machine_mode memmode = x_arg->memmode;
139 if (autoinc_split (x, &xoff, memmode) == v->val_rtx && xoff == NULL_RTX)
146 if (rtx_equal_for_cselib_1 (l->loc, x, memmode, 0))
605 MEMMODE should specify the mode of the MEM. */
609 enum insert_option insert, machine_mode memmode)
612 cselib_hasher::key lookup = { mode, x, memmode };
840 autoinc_split (rtx x, rtx *off, machine_mode memmode)
850 if (memmode == VOIDmode)
853 *off = gen_int_mode (-GET_MODE_SIZE (memmode), GET_MODE (x));
858 if (memmode == VOIDmode)
861 *off = gen_int_mode (GET_MODE_SIZE (memmode), GET_MODE (x));
887 e = cselib_lookup (x, GET_MODE (x), 0, memmode);
917 taking our gathered information into account. MEMMODE holds the
920 addresses, MEMMODE should be VOIDmode. */
923 rtx_equal_for_cselib_1 (rtx x, rtx y, machine_mode memmode, int depth)
931 cselib_val *e = cselib_lookup (x, GET_MODE (x), 0, memmode);
939 cselib_val *e = cselib_lookup (y, GET_MODE (y), 0, memmode);
961 rtx yr = autoinc_split (y, &yoff, memmode);
978 else if (rtx_equal_for_cselib_1 (t, y, memmode, depth + 1))
994 rtx xr = autoinc_split (x, &xoff, memmode);
1008 else if (rtx_equal_for_cselib_1 (x, t, memmode, depth + 1))
1027 x = autoinc_split (x, &xoff, memmode);
1028 y = autoinc_split (y, &yoff, memmode);
1036 if (xoff && !rtx_equal_for_cselib_1 (xoff, yoff, memmode, depth))
1039 return rtx_equal_for_cselib_1 (x, y, memmode, depth);
1121 XVECEXP (y, i, j), memmode, depth))
1128 && rtx_equal_for_cselib_1 (XEXP (x, 1), XEXP (y, 0), memmode,
1130 && rtx_equal_for_cselib_1 (XEXP (x, 0), XEXP (y, 1), memmode,
1133 if (! rtx_equal_for_cselib_1 (XEXP (x, i), XEXP (y, i), memmode,
1236 machine_mode memmode)
1238 cselib_val *e = cselib_lookup (x, GET_MODE (x), create, memmode);
1277 MEMMODE indicates the mode of an enclosing MEM, and it's only
1289 cselib_hash_rtx (rtx x, int create, machine_mode memmode)
1309 e = cselib_lookup (x, GET_MODE (x), create, memmode);
1346 hash += cselib_hash_rtx (ENTRY_VALUE_EXP (x), create, memmode);
1393 hash += cselib_hash_rtx (elt, 0, memmode);
1427 gcc_assert (memmode != VOIDmode);
1428 offset = GET_MODE_SIZE (memmode);
1431 /* Adjust the hash so that (mem:MEMMODE (pre_* (reg))) hashes
1432 like (mem:MEMMODE (plus (reg) (const_int I))). */
1442 create, memmode);
1445 + cselib_hash_rtx (XEXP (x, 0), create, memmode)
1447 create, memmode));
1451 gcc_assert (memmode != VOIDmode);
1452 return cselib_hash_rtx (XEXP (x, 1), create, memmode);
1457 gcc_assert (memmode != VOIDmode);
1458 return cselib_hash_rtx (XEXP (x, 0), create, memmode);
1478 create, memmode);
1494 unsigned int tem_hash = cselib_hash_rtx (tem, create, memmode);
1506 = cselib_hash_rtx (XVECEXP (x, i, j), create, memmode);
2105 If X is within a MEM, MEMMODE must be the mode of the MEM. */
2108 cselib_subst_to_values (rtx x, machine_mode memmode)
2142 e = cselib_lookup (x, GET_MODE (x), 0, memmode);
2152 gcc_assert (memmode != VOIDmode);
2153 offset = GET_MODE_SIZE (memmode);
2158 memmode);
2161 gcc_assert (memmode != VOIDmode);
2162 return cselib_subst_to_values (XEXP (x, 1), memmode);
2167 gcc_assert (memmode != VOIDmode);
2168 return cselib_subst_to_values (XEXP (x, 0), memmode);
2173 rtx t = cselib_subst_to_values (XEXP (x, 0), memmode);
2202 rtx t = cselib_subst_to_values (XEXP (x, i), memmode);
2217 rtx t = cselib_subst_to_values (XVECEXP (x, i, j), memmode);
2239 cselib_subst_to_values_from_insn (rtx x, machine_mode memmode, rtx_insn *insn)
2244 ret = cselib_subst_to_values (x, memmode);
2253 of an address, MEMMODE should be the mode of the enclosing MEM if
2258 int create, machine_mode memmode)
2348 slot = cselib_find_slot (mode, x, e->hash, INSERT, memmode);
2356 hashval = cselib_hash_rtx (x, create, memmode);
2362 create ? INSERT : NO_INSERT, memmode);
2376 memmode);
2391 int create, machine_mode memmode, rtx_insn *insn)
2398 ret = cselib_lookup (x, mode, create, memmode);
2410 int create, machine_mode memmode)
2412 cselib_val *ret = cselib_lookup_1 (x, mode, create, memmode);