Home
last modified time | relevance | path

Searched refs:INTVAL (Results 1 – 25 of 126) sorted by relevance

123456

/dragonfly/contrib/gcc-4.7/gcc/
HDsimplify-rtx.c70 return gen_int_mode (- INTVAL (i), mode); in neg_const_int()
91 val = INTVAL (x); in mode_signbit_p()
229 offset = INTVAL (XEXP (XEXP (addr, 0), 1)); in avoid_constant_pool_reference()
342 && (offset == INTVAL (XEXP (o, 1)) in delegitimize_mem_from_attrs()
345 && (INTVAL (XEXP (n, 1)) + offset in delegitimize_mem_from_attrs()
346 == INTVAL (XEXP (o, 1))) in delegitimize_mem_from_attrs()
653 && INTVAL (XEXP (op, 1)) == GET_MODE_PRECISION (mode) - 1) in simplify_unary_operation_1()
769 && INTVAL (XEXP (op, 1)) == GET_MODE_PRECISION (mode) - 1) in simplify_unary_operation_1()
777 && INTVAL (XEXP (op, 1)) == GET_MODE_PRECISION (mode) - 1) in simplify_unary_operation_1()
1077 bits = GET_MODE_PRECISION (lmode) - INTVAL (XEXP (lhs, 1)); in simplify_unary_operation_1()
[all …]
HDcombine.c706 gcc_assert (INTVAL (newval) in do_SUBST()
707 == trunc_int_for_mode (INTVAL (newval), GET_MODE (oldval))); in do_SUBST()
1658 && INTVAL (src) > 0 in set_nonzero_bits_and_sign_copies()
1659 && val_signbit_known_set_p (GET_MODE (x), INTVAL (src))) in set_nonzero_bits_and_sign_copies()
1660 src = GEN_INT (INTVAL (src) | ~GET_MODE_MASK (GET_MODE (x))); in set_nonzero_bits_and_sign_copies()
2796 width = INTVAL (XEXP (dest, 1)); in try_combine()
2797 offset = INTVAL (XEXP (dest, 2)); in try_combine()
3649 && INTVAL (XEXP (*split, 1)) > 0 in try_combine()
4738 && ((INTVAL (XEXP (SET_DEST (x), 1)) in find_split_point()
4739 + INTVAL (XEXP (SET_DEST (x), 2))) in find_split_point()
[all …]
HDexplow.c100 return GEN_INT (INTVAL (x) + c); in plus_constant()
159 c += INTVAL (XEXP (x, 1)); in plus_constant()
569 offset += INTVAL (XEXP (XEXP (base, 0), 1)); in use_anchored_address()
715 if (INTVAL (c) == 0) in force_reg()
719 ca = ctz_hwi (INTVAL (c)) * BITS_PER_UNIT; in force_reg()
926 stack_pointer_delta -= INTVAL (adjust); in adjust_stack()
943 stack_pointer_delta += INTVAL (adjust); in anti_adjust_stack()
966 HOST_WIDE_INT new_size = (INTVAL (size) + align - 1) / align * align; in round_push()
968 if (INTVAL (size) != new_size) in round_push()
1187 stack_usage_size = INTVAL (size); in allocate_dynamic_stack_space()
[all …]
HDloop-iv.c1577 && ((unsigned HOST_WIDE_INT) INTVAL (XEXP (opb0, 1)) in implies_p()
1580 && INTVAL (XEXP (opb0, 1)) + 1 == -INTVAL (op1)) in implies_p()
1592 && ((unsigned HOST_WIDE_INT) INTVAL (XEXP (opb0, 1)) in implies_p()
1595 return INTVAL (op1) == -INTVAL (XEXP (opb0, 1)); in implies_p()
1601 && ((unsigned HOST_WIDE_INT) INTVAL (XEXP (opb0, 1)) in implies_p()
1604 return INTVAL (op1) == -INTVAL (XEXP (opb0, 1)); in implies_p()
1611 || INTVAL (op1) >= 0) in implies_p()
1615 return INTVAL (opb1) < 0; in implies_p()
1656 HOST_WIDE_INT const_val = INTVAL (op1); in canon_condition()
2208 nmax = INTVAL (XEXP (niter, 0)); in determine_max_iter()
[all …]
HDalias.c1126 if (CONST_INT_P (XEXP (src, 1)) && INTVAL (XEXP (src, 1)) != 0) in find_base_value()
1381 return plus_constant (x1, INTVAL (x0)); in canon_rtx()
1383 return plus_constant (x0, INTVAL (x1)); in canon_rtx()
1690 if (CONST_INT_P (XEXP (x, 1)) && INTVAL (XEXP (x, 1)) != 0) in find_base_term()
1754 || (int) GET_MODE_UNIT_SIZE (y_mode) < -INTVAL (XEXP (x, 1)))) in base_alias_check()
1758 || (int) GET_MODE_UNIT_SIZE (x_mode) < -INTVAL (XEXP (y, 1)))) in base_alias_check()
2000 c - INTVAL (x1) + INTVAL (y1)); in memrefs_conflict_p()
2003 c - INTVAL (x1)); in memrefs_conflict_p()
2006 return memrefs_conflict_p (xsize, x, ysize, y0, c + INTVAL (y1)); in memrefs_conflict_p()
2011 return memrefs_conflict_p (xsize, x0, ysize, y, c - INTVAL (x1)); in memrefs_conflict_p()
[all …]
HDgenemit.c189 if (INTVAL (x) == 0) in gen_exp()
191 else if (INTVAL (x) == 1) in gen_exp()
193 else if (INTVAL (x) == -1) in gen_exp()
195 else if (-MAX_SAVED_CONST_INT <= INTVAL (x) in gen_exp()
196 && INTVAL (x) <= MAX_SAVED_CONST_INT) in gen_exp()
198 (int) INTVAL (x)); in gen_exp()
199 else if (INTVAL (x) == STORE_FLAG_VALUE) in gen_exp()
204 printf (HOST_WIDE_INT_PRINT_DEC_C, INTVAL (x)); in gen_exp()
HDrecog.c632 int pos = INTVAL (XEXP (x, 2)); in simplify_while_replacing()
947 && trunc_int_for_mode (INTVAL (op), mode) != INTVAL (op)) in general_operand()
1116 && trunc_int_for_mode (INTVAL (op), mode) != INTVAL (op)) in immediate_operand()
1137 && trunc_int_for_mode (INTVAL (op), mode) != INTVAL (op)) in const_int_operand()
1234 || INTVAL (XEXP (XEXP (op, 1), 1)) != - (int) rounded_size in push_operand()
1236 || INTVAL (XEXP (XEXP (op, 1), 1)) != (int) rounded_size in push_operand()
1337 && INTVAL (XEXP (XEXP (inner, 0), 1)) == -offset in indirect_operand()
1743 && CONST_OK_FOR_CONSTRAINT_P (INTVAL (op), 'I', constraint)) in asm_operand_ok()
1748 && CONST_OK_FOR_CONSTRAINT_P (INTVAL (op), 'J', constraint)) in asm_operand_ok()
1753 && CONST_OK_FOR_CONSTRAINT_P (INTVAL (op), 'K', constraint)) in asm_operand_ok()
[all …]
HDpostreload.c297 this_val = INTVAL (this_rtx); in reload_cse_simplify_set()
1186 GEN_INT (INTVAL (SET_SRC (prev_set)) in reload_combine_recognize_pattern()
1187 + INTVAL (reg_state[regno].offset)), in reload_combine_recognize_pattern()
1674 rtx new_src = gen_int_mode (INTVAL (off) - reg_offset[regno], in move2add_use_add2_insn()
1691 if (INTVAL (off) == reg_offset [regno]) in move2add_use_add2_insn()
1717 == (INTVAL (off) & ~GET_MODE_MASK (narrow_mode)))) in move2add_use_add2_insn()
1721 rtx narrow_src = gen_int_mode (INTVAL (off), in move2add_use_add2_insn()
1740 reg_offset[regno] = INTVAL (off); in move2add_use_add2_insn()
1780 rtx new_src = gen_int_mode (INTVAL (off) - reg_offset[i], in move2add_use_add3_insn()
1815 rtx new_src = gen_int_mode (INTVAL (off) - reg_offset[min_regno], in move2add_use_add3_insn()
[all …]
HDexpmed.c728 value1 = gen_int_mode (INTVAL (value), op_mode); in store_bit_field_1()
991 HOST_WIDE_INT v = INTVAL (value); in store_fixed_bit_field()
1135 part = GEN_INT (((unsigned HOST_WIDE_INT) (INTVAL (value)) in store_split_bit_field()
1150 part = GEN_INT (((unsigned HOST_WIDE_INT) (INTVAL (value)) in store_split_bit_field()
1944 val = double_int_zext (uhwi_to_double_int (INTVAL (value)), bitsize); in lshift_value()
2196 && ((unsigned HOST_WIDE_INT) INTVAL (op1) >= in expand_shift_1()
2198 op1 = GEN_INT ((unsigned HOST_WIDE_INT) INTVAL (op1) in expand_shift_1()
2214 && INTVAL (op1) > 0 in expand_shift_1()
2215 && INTVAL (op1) < GET_MODE_PRECISION (mode) in expand_shift_1()
2216 && INTVAL (op1) < MAX_BITS_PER_WORD in expand_shift_1()
[all …]
HDdce.c288 off = INTVAL (XEXP (addr, 1)); in find_call_stack_args()
326 off += INTVAL (XEXP (SET_SRC (set), 1)); in find_call_stack_args()
353 off = INTVAL (XEXP (addr, 1)); in find_call_stack_args()
371 off += INTVAL (XEXP (SET_SRC (set), 1)); in find_call_stack_args()
414 off = INTVAL (XEXP (addr, 1)); in find_call_stack_args()
450 off += INTVAL (XEXP (SET_SRC (set), 1)); in find_call_stack_args()
HDcse.c1230 HOST_WIDE_INT n = INTVAL (cst); in compute_const_anchors()
1338 && IN_RANGE (INTVAL (XEXP (x, 1)), in find_reg_offset_for_const()
2341 + (unsigned int) INTVAL (x)); in hash_rtx_cb()
3468 && INTVAL (inner_const) != 0) in fold_rtx()
3538 && INTVAL (const_arg1) < 0 in fold_rtx()
3546 && INTVAL (const_arg1) != in fold_rtx()
3550 rtx new_const = GEN_INT (-INTVAL (const_arg1)); in fold_rtx()
3570 -INTVAL (const_arg1)), in fold_rtx()
3598 && (INTVAL (const_arg1) >= GET_MODE_PRECISION (mode) in fold_rtx()
3599 || INTVAL (const_arg1) < 0)) in fold_rtx()
[all …]
HDrtlanal.c334 && !rtx_addr_can_trap_p_1 (XEXP (x, 0), offset + INTVAL (XEXP (x, 1)), in rtx_addr_can_trap_p_1()
413 && INTVAL (XEXP (x, 1)) > 0) in nonzero_address_p()
488 return - INTVAL (XEXP (x, 1)); in get_integer_term()
491 return INTVAL (XEXP (x, 1)); in get_integer_term()
4014 if (INTVAL (x) > 0 in nonzero_bits1()
4206 && INTVAL (XEXP (x, 1)) < HOST_BITS_PER_WIDE_INT) in nonzero_bits1()
4207 nonzero &= ((unsigned HOST_WIDE_INT) 1 << INTVAL (XEXP (x, 1))) - 1; in nonzero_bits1()
4261 && INTVAL (XEXP (x, 1)) >= 0 in nonzero_bits1()
4262 && INTVAL (XEXP (x, 1)) < HOST_BITS_PER_WIDE_INT in nonzero_bits1()
4263 && INTVAL (XEXP (x, 1)) < GET_MODE_PRECISION (GET_MODE (x))) in nonzero_bits1()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/config/i386/
HDpredicates.md141 HOST_WIDE_INT val = INTVAL (op);
190 HOST_WIDE_INT offset = INTVAL (op2);
263 return !(INTVAL (op) & ~(HOST_WIDE_INT) 0xffffffff);
296 HOST_WIDE_INT offset = INTVAL (op2);
761 (match_test "INTVAL (op) == 8")))
766 (match_test "INTVAL (op) == 128")))
771 (match_test "trunc_int_for_mode (INTVAL (op), DImode)
778 HOST_WIDE_INT i = INTVAL (op);
786 HOST_WIDE_INT i = INTVAL (op);
794 HOST_WIDE_INT i = INTVAL (op);
[all …]
HDsse.md2189 = GEN_INT (~INTVAL (operands[5])
2221 if (INTVAL (XVECEXP (operands[5], 0, i)) < GET_MODE_NUNITS (<MODE>mode))
2255 if (INTVAL (XVECEXP (operands[5], 0, i)) >= GET_MODE_NUNITS (<MODE>mode))
2321 && INTVAL (operands[3]) != INTVAL (operands[4])
2322 && INTVAL (operands[5]) != INTVAL (operands[6])"
2363 && INTVAL (operands[2]) != INTVAL (operands[3])"
6632 int mask = INTVAL (operands[3]);
6665 && (INTVAL (operands[3]) == (INTVAL (operands[7]) - 4)
6666 && INTVAL (operands[4]) == (INTVAL (operands[8]) - 4)
6667 && INTVAL (operands[5]) == (INTVAL (operands[9]) - 4)
[all …]
HDmmx.md589 INTVAL (operands[2]));
651 INTVAL (operands[2]));
1159 operands[3] = GEN_INT (1 << INTVAL (operands[3]));
1170 && ((unsigned) exact_log2 (INTVAL (operands[3]))
1173 operands[3] = GEN_INT (exact_log2 (INTVAL (operands[3])));
1201 int mask = INTVAL (operands[2]);
1221 mask |= INTVAL (operands[2]) << 0;
1222 mask |= INTVAL (operands[3]) << 2;
1223 mask |= INTVAL (operands[4]) << 4;
1224 mask |= INTVAL (operands[5]) << 6;
[all …]
/dragonfly/contrib/gcc-4.7/gcc/config/i386/
HDpredicates.md140 HOST_WIDE_INT val = trunc_int_for_mode (INTVAL (op), DImode);
186 offset = trunc_int_for_mode (INTVAL (op2), DImode);
264 return INTVAL (op) >= 0;
266 return !(INTVAL (op) & ~(HOST_WIDE_INT) 0xffffffff);
305 && trunc_int_for_mode (INTVAL (op2), DImode) > -0x10000
306 && trunc_int_for_mode (INTVAL (op2), SImode) == INTVAL (op2))
319 && trunc_int_for_mode (INTVAL (op2), DImode) > -0x10000
320 && trunc_int_for_mode (INTVAL (op2), SImode) == INTVAL (op2))
594 (match_test "INTVAL (op) == 8")))
599 (match_test "INTVAL (op) == 128")))
[all …]
HDsse.md3507 int mask = INTVAL (operands[3]);
3536 && (INTVAL (operands[3]) == (INTVAL (operands[7]) - 4)
3537 && INTVAL (operands[4]) == (INTVAL (operands[8]) - 4)
3538 && INTVAL (operands[5]) == (INTVAL (operands[9]) - 4)
3539 && INTVAL (operands[6]) == (INTVAL (operands[10]) - 4))"
3542 mask = INTVAL (operands[3]);
3543 mask |= INTVAL (operands[4]) << 2;
3544 mask |= (INTVAL (operands[5]) - 8) << 4;
3545 mask |= (INTVAL (operands[6]) - 8) << 6;
3562 int mask = INTVAL (operands[3]);
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
HDsimplify-rtx.c91 val = INTVAL (x); in mode_signbit_p()
246 offset = INTVAL (XEXP (XEXP (addr, 0), 1)); in avoid_constant_pool_reference()
785 && (INTVAL (XEXP (op, 1)) & (precision - 1)) == 0 in simplify_truncation()
789 int shifted_bytes = INTVAL (XEXP (op, 1)) / BITS_PER_UNIT; in simplify_truncation()
805 && INTVAL (XEXP (op, 1)) % GET_MODE_BITSIZE (int_mode) == 0 in simplify_truncation()
806 && INTVAL (XEXP (op, 1)) > 0 in simplify_truncation()
807 && INTVAL (XEXP (op, 1)) < GET_MODE_BITSIZE (int_op_mode) in simplify_truncation()
815 int shifted_bytes = INTVAL (XEXP (op, 1)) / BITS_PER_UNIT; in simplify_truncation()
862 && trunc_int_for_mode (INTVAL (XEXP (op, 1)), mode) == -1) in simplify_truncation()
983 && INTVAL (XEXP (op, 1)) == GET_MODE_PRECISION (int_mode) - 1) in simplify_unary_operation_1()
[all …]
HDcombine.c730 gcc_assert (INTVAL (newval) in do_SUBST()
731 == trunc_int_for_mode (INTVAL (newval), GET_MODE (oldval))); in do_SUBST()
1672 && INTVAL (src) > 0 in sign_extend_short_imm()
1673 && val_signbit_known_set_p (int_mode, INTVAL (src))) in sign_extend_short_imm()
1674 src = GEN_INT (INTVAL (src) | ~GET_MODE_MASK (int_mode)); in sign_extend_short_imm()
2913 width = INTVAL (XEXP (dest, 1)); in try_combine()
2914 offset = INTVAL (XEXP (dest, 2)); in try_combine()
3811 && INTVAL (XEXP (*split, 1)) > 0 in try_combine()
3826 && INTVAL (XEXP (XEXP (*split, 0), 1)) > 0 in try_combine()
5033 && ((INTVAL (XEXP (SET_DEST (x), 1)) in find_split_point()
[all …]
HDrtl-chkp.c203 if (INTVAL (offs) == INTVAL (par_offs)) in chkp_get_value_with_offs()
249 rtx slot = adjust_address (mem, Pmode, INTVAL (offs)); in chkp_emit_bounds_store()
256 rtx tmp = adjust_address (value, Pmode, INTVAL (offs)); in chkp_emit_bounds_store()
261 ptr = gen_rtx_SUBREG (Pmode, value, INTVAL (offs)); in chkp_emit_bounds_store()
HDexplow.c557 offset += INTVAL (XEXP (XEXP (base, 0), 1)); in use_anchored_address()
705 if (INTVAL (c) == 0) in force_reg()
709 ca = ctz_hwi (INTVAL (c)) * BITS_PER_UNIT; in force_reg()
959 stack_pointer_delta -= INTVAL (adjust); in adjust_stack()
976 stack_pointer_delta += INTVAL (adjust); in anti_adjust_stack()
999 HOST_WIDE_INT new_size = (INTVAL (size) + align - 1) / align * align; in round_push()
1001 if (INTVAL (size) != new_size) in round_push()
1231 lsb = INTVAL (size); in get_dynamic_stack_size()
1371 stack_usage_size = INTVAL (size); in allocate_dynamic_stack_space()
1382 stack_usage_size = INTVAL (SET_SRC (set)); in allocate_dynamic_stack_space()
[all …]
HDgenemit.c177 if (INTVAL (x) == 0) in gen_exp()
179 else if (INTVAL (x) == 1) in gen_exp()
181 else if (INTVAL (x) == -1) in gen_exp()
183 else if (-MAX_SAVED_CONST_INT <= INTVAL (x) in gen_exp()
184 && INTVAL (x) <= MAX_SAVED_CONST_INT) in gen_exp()
186 (int) INTVAL (x)); in gen_exp()
187 else if (INTVAL (x) == STORE_FLAG_VALUE) in gen_exp()
192 printf (HOST_WIDE_INT_PRINT_DEC_C, INTVAL (x)); in gen_exp()
HDloop-iv.c1593 && ((unsigned HOST_WIDE_INT) INTVAL (XEXP (opb0, 1)) in implies_p()
1596 && INTVAL (XEXP (opb0, 1)) + 1 == -INTVAL (op1)) in implies_p()
1608 && ((unsigned HOST_WIDE_INT) INTVAL (XEXP (opb0, 1)) in implies_p()
1611 return INTVAL (op1) == -INTVAL (XEXP (opb0, 1)); in implies_p()
1617 && ((unsigned HOST_WIDE_INT) INTVAL (XEXP (opb0, 1)) in implies_p()
1620 return INTVAL (op1) == -INTVAL (XEXP (opb0, 1)); in implies_p()
1627 || INTVAL (op1) >= 0) in implies_p()
1631 return INTVAL (opb1) < 0; in implies_p()
2274 inc = INTVAL (XEXP (niter, 1)); in determine_max_iter()
2424 step_val = -INTVAL (iv1.step); in iv_number_of_iterations()
[all …]
HDcse.c1194 HOST_WIDE_INT n = INTVAL (cst); in compute_const_anchors()
1302 && IN_RANGE (INTVAL (XEXP (x, 1)), in find_reg_offset_for_const()
2318 + (unsigned int) INTVAL (x)); in hash_rtx_cb()
3497 && INTVAL (inner_const) != 0) in fold_rtx()
3568 && INTVAL (const_arg1) < 0 in fold_rtx()
3576 && INTVAL (const_arg1) != in fold_rtx()
3580 rtx new_const = GEN_INT (-INTVAL (const_arg1)); in fold_rtx()
3600 -INTVAL (const_arg1)), in fold_rtx()
3628 && (INTVAL (const_arg1) >= GET_MODE_UNIT_PRECISION (mode) in fold_rtx()
3629 || INTVAL (const_arg1) < 0)) in fold_rtx()
[all …]
HDrtlanal.c657 && !rtx_addr_can_trap_p_1 (XEXP (x, 0), offset + INTVAL (XEXP (x, 1)), in rtx_addr_can_trap_p_1()
747 && INTVAL (XEXP (x, 1)) > 0) in nonzero_address_p()
838 return - INTVAL (XEXP (x, 1)); in get_integer_term()
841 return INTVAL (XEXP (x, 1)); in get_integer_term()
1616 int c0 = INTVAL (XVECEXP (par, 0, 0)); in set_noop_p()
1620 if (INTVAL (XVECEXP (par, 0, i)) != c0 + i) in set_noop_p()
4443 && INTVAL (x) > 0 in nonzero_bits1()
4722 && INTVAL (XEXP (x, 1)) < HOST_BITS_PER_WIDE_INT) in nonzero_bits1()
4723 nonzero &= (HOST_WIDE_INT_1U << INTVAL (XEXP (x, 1))) - 1; in nonzero_bits1()
4778 && INTVAL (XEXP (x, 1)) >= 0 in nonzero_bits1()
[all …]

123456