Home
last modified time | relevance | path

Searched refs:rounded_size (Results 1 – 25 of 38) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dexplow.cc1772 rtx rounded_size, rounded_size_op, test_addr, last_addr, temp; in probe_stack_range() local
1779 rounded_size in probe_stack_range()
1782 rounded_size_op = force_operand (rounded_size, NULL_RTX); in probe_stack_range()
1835 temp = simplify_gen_binary (MINUS, Pmode, size, rounded_size); in probe_stack_range()
1874 compute_stack_clash_protection_loop_data (rtx *rounded_size, rtx *last_addr, in compute_stack_clash_protection_loop_data() argument
1882 *rounded_size = simplify_gen_binary (AND, Pmode, size, in compute_stack_clash_protection_loop_data()
1887 rtx rounded_size_op = force_operand (*rounded_size, NULL_RTX); in compute_stack_clash_protection_loop_data()
1895 *residual = simplify_gen_binary (MINUS, Pmode, size, *rounded_size); in compute_stack_clash_protection_loop_data()
1900 if (*rounded_size == CONST0_RTX (Pmode)) in compute_stack_clash_protection_loop_data()
1903 else if (CONST_INT_P (*rounded_size) in compute_stack_clash_protection_loop_data()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dexplow.c1740 rtx rounded_size, rounded_size_op, test_addr, last_addr, temp; in probe_stack_range() local
1747 rounded_size in probe_stack_range()
1750 rounded_size_op = force_operand (rounded_size, NULL_RTX); in probe_stack_range()
1803 temp = simplify_gen_binary (MINUS, Pmode, size, rounded_size); in probe_stack_range()
1842 compute_stack_clash_protection_loop_data (rtx *rounded_size, rtx *last_addr, in compute_stack_clash_protection_loop_data() argument
1850 *rounded_size = simplify_gen_binary (AND, Pmode, size, in compute_stack_clash_protection_loop_data()
1855 rtx rounded_size_op = force_operand (*rounded_size, NULL_RTX); in compute_stack_clash_protection_loop_data()
1863 *residual = simplify_gen_binary (MINUS, Pmode, size, *rounded_size); in compute_stack_clash_protection_loop_data()
1868 if (*rounded_size == CONST0_RTX (Pmode)) in compute_stack_clash_protection_loop_data()
1871 else if (CONST_INT_P (*rounded_size) in compute_stack_clash_protection_loop_data()
[all …]
H A Dtarghooks.c2160 tree addr, t, type_size, rounded_size, valist_tmp; in std_gimplify_va_arg_expr() local
2237 rounded_size = round_up (type_size, align); in std_gimplify_va_arg_expr()
2240 gimplify_expr (&rounded_size, pre_p, post_p, is_gimple_val, fb_rvalue); in std_gimplify_va_arg_expr()
2244 if (PAD_VARARGS_DOWN && !integer_zerop (rounded_size)) in std_gimplify_va_arg_expr()
2248 rounded_size, size_int (align)); in std_gimplify_va_arg_expr()
2250 size_binop (MINUS_EXPR, rounded_size, type_size)); in std_gimplify_va_arg_expr()
2255 t = fold_build_pointer_plus (valist_tmp, rounded_size); in std_gimplify_va_arg_expr()
H A Drecog.c1261 poly_int64 rounded_size = GET_MODE_SIZE (mode); in push_operand() local
1264 rounded_size = PUSH_ROUNDING (MACRO_INT (rounded_size)); in push_operand()
1269 if (known_eq (rounded_size, GET_MODE_SIZE (mode))) in push_operand()
1282 ? maybe_ne (offset, -rounded_size) in push_operand()
1283 : maybe_ne (offset, rounded_size))) in push_operand()
H A Dfunction.c842 poly_int64 rounded_size = aligned_upper_bound (size, alignment); in assign_stack_temp_for_type() local
844 if (known_ge (best_p->size - rounded_size, alignment)) in assign_stack_temp_for_type()
848 p->size = best_p->size - rounded_size; in assign_stack_temp_for_type()
849 p->base_offset = best_p->base_offset + rounded_size; in assign_stack_temp_for_type()
850 p->full_size = best_p->full_size - rounded_size; in assign_stack_temp_for_type()
851 p->slot = adjust_address_nv (best_p->slot, BLKmode, rounded_size); in assign_stack_temp_for_type()
858 best_p->size = rounded_size; in assign_stack_temp_for_type()
859 best_p->full_size = rounded_size; in assign_stack_temp_for_type()
/netbsd-src/external/gpl3/gcc.old/dist/libobjc/
H A Dsarray.c295 size_t rounded_size = (new_max_index + 1) * INDEX_CAPACITY; in sarray_realloc() local
303 size_t rounded_size = (new_max_index + 1) * BUCKET_SIZE; in sarray_realloc()
315 if (rounded_size <= array->capacity) in sarray_realloc()
322 if (rounded_size > array->capacity) in sarray_realloc()
326 rounded_size = (new_max_index + 1) * INDEX_CAPACITY; in sarray_realloc()
329 rounded_size = (new_max_index + 1) * BUCKET_SIZE; in sarray_realloc()
333 array->capacity = rounded_size; in sarray_realloc()
/netbsd-src/external/gpl3/gcc/dist/libobjc/
H A Dsarray.c295 size_t rounded_size = (new_max_index + 1) * INDEX_CAPACITY; in sarray_realloc() local
303 size_t rounded_size = (new_max_index + 1) * BUCKET_SIZE; in sarray_realloc()
315 if (rounded_size <= array->capacity) in sarray_realloc()
322 if (rounded_size > array->capacity) in sarray_realloc()
326 rounded_size = (new_max_index + 1) * INDEX_CAPACITY; in sarray_realloc()
329 rounded_size = (new_max_index + 1) * BUCKET_SIZE; in sarray_realloc()
333 array->capacity = rounded_size; in sarray_realloc()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000-logue.cc1576 HOST_WIDE_INT rounded_size = ROUND_DOWN (orig_size, probe_interval); in rs6000_emit_probe_stack_range_stack_clash() local
1582 if (rounded_size != orig_size in rs6000_emit_probe_stack_range_stack_clash()
1583 || rounded_size > probe_interval in rs6000_emit_probe_stack_range_stack_clash()
1605 if (rounded_size == probe_interval) in rs6000_emit_probe_stack_range_stack_clash()
1609 dump_stack_clash_frame_info (PROBE_INLINE, rounded_size != orig_size); in rs6000_emit_probe_stack_range_stack_clash()
1611 else if (rounded_size <= 8 * probe_interval) in rs6000_emit_probe_stack_range_stack_clash()
1619 for (int i = 0; i < rounded_size; i += probe_interval) in rs6000_emit_probe_stack_range_stack_clash()
1629 dump_stack_clash_frame_info (PROBE_INLINE, rounded_size != orig_size); in rs6000_emit_probe_stack_range_stack_clash()
1636 rtx rs = GEN_INT (-rounded_size); in rs6000_emit_probe_stack_range_stack_clash()
1686 dump_stack_clash_frame_info (PROBE_LOOP, rounded_size != orig_size); in rs6000_emit_probe_stack_range_stack_clash()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/
H A Drs6000-logue.c1548 HOST_WIDE_INT rounded_size = ROUND_DOWN (orig_size, probe_interval); in rs6000_emit_probe_stack_range_stack_clash() local
1554 if (rounded_size != orig_size in rs6000_emit_probe_stack_range_stack_clash()
1555 || rounded_size > probe_interval in rs6000_emit_probe_stack_range_stack_clash()
1577 if (rounded_size == probe_interval) in rs6000_emit_probe_stack_range_stack_clash()
1581 dump_stack_clash_frame_info (PROBE_INLINE, rounded_size != orig_size); in rs6000_emit_probe_stack_range_stack_clash()
1583 else if (rounded_size <= 8 * probe_interval) in rs6000_emit_probe_stack_range_stack_clash()
1591 for (int i = 0; i < rounded_size; i += probe_interval) in rs6000_emit_probe_stack_range_stack_clash()
1601 dump_stack_clash_frame_info (PROBE_INLINE, rounded_size != orig_size); in rs6000_emit_probe_stack_range_stack_clash()
1608 rtx rs = GEN_INT (-rounded_size); in rs6000_emit_probe_stack_range_stack_clash()
1658 dump_stack_clash_frame_info (PROBE_LOOP, rounded_size != orig_size); in rs6000_emit_probe_stack_range_stack_clash()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/loongarch/
H A Dloongarch.cc1152 HOST_WIDE_INT rounded_size; in loongarch_emit_probe_stack_range() local
1163 rounded_size = ROUND_DOWN (size, PROBE_INTERVAL); in loongarch_emit_probe_stack_range()
1180 if (rounded_size == 0) in loongarch_emit_probe_stack_range()
1184 emit_move_insn (r12, GEN_INT (rounded_size)); in loongarch_emit_probe_stack_range()
1204 if (size != rounded_size) in loongarch_emit_probe_stack_range()
1207 emit_stack_probe (plus_constant (Pmode, r12, rounded_size - size)); in loongarch_emit_probe_stack_range()
1211 for (i = 2048; i < (size - rounded_size); i += 2048) in loongarch_emit_probe_stack_range()
1218 -(size - rounded_size - i + 2048)); in loongarch_emit_probe_stack_range()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/msp430/
H A Dmsp430.c830 tree addr, t, type_size, rounded_size, valist_tmp; in msp430_gimplify_va_arg_expr() local
889 rounded_size = round_up (type_size, align); in msp430_gimplify_va_arg_expr()
892 gimplify_expr (&rounded_size, pre_p, post_p, is_gimple_val, fb_rvalue); in msp430_gimplify_va_arg_expr()
898 t = fold_build_pointer_plus (valist_tmp, rounded_size); in msp430_gimplify_va_arg_expr()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_allocator.cpp511 uptr rounded_size = RoundUpTo(Max(size, kChunkHeader2Size), alignment); in Allocate() local
512 uptr needed_size = rounded_size + rz_size; in Allocate()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_allocator.cc427 uptr rounded_size = RoundUpTo(Max(size, kChunkHeader2Size), alignment); in Allocate() local
428 uptr needed_size = rounded_size + rz_size; in Allocate()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_allocator.cc425 uptr rounded_size = RoundUpTo(Max(size, kChunkHeader2Size), alignment); in Allocate() local
426 uptr needed_size = rounded_size + rz_size; in Allocate()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/msp430/
H A Dmsp430.cc823 tree addr, t, type_size, rounded_size, valist_tmp; in msp430_gimplify_va_arg_expr() local
882 rounded_size = round_up (type_size, align); in msp430_gimplify_va_arg_expr()
885 gimplify_expr (&rounded_size, pre_p, post_p, is_gimple_val, fb_rvalue); in msp430_gimplify_va_arg_expr()
891 t = fold_build_pointer_plus (valist_tmp, rounded_size); in msp430_gimplify_va_arg_expr()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rl78/
H A Drl78.c1756 int rounded_size; in rl78_function_arg_advance() local
1759 rounded_size = arg.promoted_size_in_bytes (); in rl78_function_arg_advance()
1760 if (rounded_size & 1) in rl78_function_arg_advance()
1761 rounded_size ++; in rl78_function_arg_advance()
1762 (*cum) += rounded_size; in rl78_function_arg_advance()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rl78/
H A Drl78.cc1756 int rounded_size; in rl78_function_arg_advance() local
1759 rounded_size = arg.promoted_size_in_bytes (); in rl78_function_arg_advance()
1760 if (rounded_size & 1) in rl78_function_arg_advance()
1761 rounded_size ++; in rl78_function_arg_advance()
1762 (*cum) += rounded_size; in rl78_function_arg_advance()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/
H A Di386.c7279 HOST_WIDE_INT rounded_size = size & -probe_interval; in ix86_adjust_stack_and_probe_stack_clash() local
7283 rtx addr = plus_constant (Pmode, stack_pointer_rtx, -rounded_size); in ix86_adjust_stack_and_probe_stack_clash()
7289 emit_move_insn (sr.reg, GEN_INT (-rounded_size)); in ix86_adjust_stack_and_probe_stack_clash()
7298 m->fs.cfa_offset + rounded_size)); in ix86_adjust_stack_and_probe_stack_clash()
7303 rtx size_rtx = GEN_INT (rounded_size); in ix86_adjust_stack_and_probe_stack_clash()
7308 m->fs.cfa_offset += rounded_size; in ix86_adjust_stack_and_probe_stack_clash()
7314 m->fs.sp_offset += rounded_size; in ix86_adjust_stack_and_probe_stack_clash()
7320 if (size != rounded_size) in ix86_adjust_stack_and_probe_stack_clash()
7322 GEN_INT (rounded_size - size), -1, in ix86_adjust_stack_and_probe_stack_clash()
7324 dump_stack_clash_frame_info (PROBE_LOOP, size != rounded_size); in ix86_adjust_stack_and_probe_stack_clash()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rx/
H A Drx.cc1077 unsigned int rounded_size; in rx_function_arg() local
1084 rounded_size = rx_round_up (size, UNITS_PER_WORD); in rx_function_arg()
1088 if (rounded_size + bytes_so_far > MAX_NUM_ARG_BYTES) in rx_function_arg()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rx/
H A Drx.c1076 unsigned int rounded_size; in rx_function_arg() local
1083 rounded_size = rx_round_up (size, UNITS_PER_WORD); in rx_function_arg()
1087 if (rounded_size + bytes_so_far > MAX_NUM_ARG_BYTES) in rx_function_arg()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/aarch64/
H A Daarch64.c6612 HOST_WIDE_INT rounded_size = size & -PROBE_INTERVAL; in aarch64_emit_probe_stack_range() local
6622 HOST_WIDE_INT adjustment = - (first + rounded_size); in aarch64_emit_probe_stack_range()
6651 if (size != rounded_size) in aarch64_emit_probe_stack_range()
6653 HOST_WIDE_INT rem = size - rounded_size; in aarch64_emit_probe_stack_range()
8090 HOST_WIDE_INT rounded_size = ROUND_DOWN (size, guard_size); in aarch64_allocate_and_probe_stack_space() local
8091 HOST_WIDE_INT residual = size - rounded_size; in aarch64_allocate_and_probe_stack_space()
8095 if (rounded_size <= STACK_CLASH_MAX_UNROLL_PAGES * guard_size) in aarch64_allocate_and_probe_stack_space()
8097 for (HOST_WIDE_INT i = 0; i < rounded_size; i += guard_size) in aarch64_allocate_and_probe_stack_space()
8104 dump_stack_clash_frame_info (PROBE_INLINE, size != rounded_size); in aarch64_allocate_and_probe_stack_space()
8109 aarch64_add_offset (Pmode, temp1, stack_pointer_rtx, -rounded_size, in aarch64_allocate_and_probe_stack_space()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Di386.cc7788 HOST_WIDE_INT rounded_size = size & -probe_interval; in ix86_adjust_stack_and_probe() local
7792 rtx addr = plus_constant (Pmode, stack_pointer_rtx, -rounded_size); in ix86_adjust_stack_and_probe()
7798 emit_move_insn (sr.reg, GEN_INT (-rounded_size)); in ix86_adjust_stack_and_probe()
7807 m->fs.cfa_offset + rounded_size)); in ix86_adjust_stack_and_probe()
7812 rtx size_rtx = GEN_INT (rounded_size); in ix86_adjust_stack_and_probe()
7817 m->fs.cfa_offset += rounded_size; in ix86_adjust_stack_and_probe()
7823 m->fs.sp_offset += rounded_size; in ix86_adjust_stack_and_probe()
7829 if (size != rounded_size) in ix86_adjust_stack_and_probe()
7832 GEN_INT (rounded_size - size), -1, in ix86_adjust_stack_and_probe()
7839 dump_stack_clash_frame_info (PROBE_LOOP, size != rounded_size); in ix86_adjust_stack_and_probe()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/mips/
H A Dmips.cc6914 tree addr, t, type_size, rounded_size, valist_tmp; in mips_std_gimplify_va_arg_expr() local
6966 rounded_size = round_up (type_size, align); in mips_std_gimplify_va_arg_expr()
6969 gimplify_expr (&rounded_size, pre_p, post_p, is_gimple_val, fb_rvalue); in mips_std_gimplify_va_arg_expr()
6973 if (PAD_VARARGS_DOWN && !integer_zerop (rounded_size)) in mips_std_gimplify_va_arg_expr()
6977 rounded_size, size_int (align)); in mips_std_gimplify_va_arg_expr()
6979 size_binop (MINUS_EXPR, rounded_size, type_size)); in mips_std_gimplify_va_arg_expr()
6984 t = fold_build_pointer_plus (valist_tmp, rounded_size); in mips_std_gimplify_va_arg_expr()
12151 HOST_WIDE_INT rounded_size; in mips_emit_probe_stack_range() local
12161 rounded_size = ROUND_DOWN (size, PROBE_INTERVAL); in mips_emit_probe_stack_range()
12171 if (rounded_size > 32768) in mips_emit_probe_stack_range()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/mips/
H A Dmips.c6774 tree addr, t, type_size, rounded_size, valist_tmp; in mips_std_gimplify_va_arg_expr() local
6826 rounded_size = round_up (type_size, align); in mips_std_gimplify_va_arg_expr()
6829 gimplify_expr (&rounded_size, pre_p, post_p, is_gimple_val, fb_rvalue); in mips_std_gimplify_va_arg_expr()
6833 if (PAD_VARARGS_DOWN && !integer_zerop (rounded_size)) in mips_std_gimplify_va_arg_expr()
6837 rounded_size, size_int (align)); in mips_std_gimplify_va_arg_expr()
6839 size_binop (MINUS_EXPR, rounded_size, type_size)); in mips_std_gimplify_va_arg_expr()
6844 t = fold_build_pointer_plus (valist_tmp, rounded_size); in mips_std_gimplify_va_arg_expr()
12010 HOST_WIDE_INT rounded_size; in mips_emit_probe_stack_range() local
12020 rounded_size = ROUND_DOWN (size, PROBE_INTERVAL); in mips_emit_probe_stack_range()
12030 if (rounded_size > 32768) in mips_emit_probe_stack_range()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/ia64/
H A Dia64.cc3371 HOST_WIDE_INT rounded_size; in ia64_emit_probe_stack_range() local
3378 rounded_size = size & -PROBE_INTERVAL; in ia64_emit_probe_stack_range()
3388 if (rounded_size > (1 << 21)) in ia64_emit_probe_stack_range()
3390 emit_move_insn (r3, GEN_INT (-rounded_size)); in ia64_emit_probe_stack_range()
3395 GEN_INT (-rounded_size)))); in ia64_emit_probe_stack_range()
3417 if (size != rounded_size) in ia64_emit_probe_stack_range()
3420 rounded_size - size))); in ia64_emit_probe_stack_range()

12