Home
last modified time | relevance | path

Searched refs:size_binop (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-12-stable/contrib/gcc/
Dstor-layout.c333 = fold_convert (sizetype, size_binop (CEIL_DIV_EXPR, DECL_SIZE (decl), in layout_decl()
553 return size_binop (PLUS_EXPR, bitpos, in bit_from_pos()
554 size_binop (MULT_EXPR, in bit_from_pos()
562 return size_binop (PLUS_EXPR, offset, in byte_from_pos()
564 size_binop (TRUNC_DIV_EXPR, bitpos, in byte_from_pos()
572 *poffset = size_binop (MULT_EXPR, in pos_from_bit()
574 size_binop (FLOOR_DIV_EXPR, pos, in pos_from_bit()
577 *pbitpos = size_binop (FLOOR_MOD_EXPR, pos, bitsize_int (off_align)); in pos_from_bit()
590 tree extra_aligns = size_binop (FLOOR_DIV_EXPR, *pbitpos, in normalize_offset()
594 = size_binop (PLUS_EXPR, *poffset, in normalize_offset()
[all …]
Dtree-dfa.c905 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_ref_base_and_extent()
916 this_offset = size_binop (MULT_EXPR, in get_ref_base_and_extent()
920 bit_offset = size_binop (PLUS_EXPR, in get_ref_base_and_extent()
922 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_ref_base_and_extent()
953 index = size_binop (MULT_EXPR, in get_ref_base_and_extent()
957 index = size_binop (MULT_EXPR, in get_ref_base_and_extent()
960 bit_offset = size_binop (PLUS_EXPR, bit_offset, index); in get_ref_base_and_extent()
993 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_ref_base_and_extent()
Dexpr.h134 (TO).var = size_binop (PLUS_EXPR, (TO).var, \
144 (TO).var = size_binop (MINUS_EXPR, ssize_int (0), \
147 (TO).var = size_binop (MINUS_EXPR, (TO).var, \
155 : size_binop (PLUS_EXPR, fold_convert (ssizetype, (SIZE).var), \
Dtree-object-size.c106 off = size_binop (PLUS_EXPR, DECL_FIELD_OFFSET (t), in compute_object_offset()
138 off = size_binop (MULT_EXPR, TYPE_SIZE_UNIT (TREE_TYPE (expr)), t); in compute_object_offset()
145 return size_binop (code, base, off); in compute_object_offset()
207 bytes = size_binop (MINUS_EXPR, in addr_object_size()
268 bytes = size_binop (MULT_EXPR, bytes, in alloc_object_size()
Dtree-data-ref.c1356 *misalign = size_binop (code, left_misalign, right_misalign); in analyze_offset_expr()
1358 *aligned_to = size_binop (MIN_EXPR, left_aligned_to, in analyze_offset_expr()
1370 *step = size_binop (MULT_EXPR, left_step, right_offset); in analyze_offset_expr()
1376 *step = size_binop (code, left_step, right_step); in analyze_offset_expr()
1388 *misalign = size_binop (code, left_misalign, right_misalign); in analyze_offset_expr()
1393 *aligned_to = size_binop (MIN_EXPR, left_aligned_to, right_aligned_to); in analyze_offset_expr()
1492 *misalign = size_binop (TREE_CODE (expr), address_misalign, in address_analysis()
1504 *offset = size_binop (TREE_CODE (expr), address_offset, offset_expr); in address_analysis()
1679 object_offset = size_binop (PLUS_EXPR, bit_pos_in_bytes, object_offset); in object_analysis()
1681 object_misalign = size_binop (PLUS_EXPR, object_misalign, in object_analysis()
[all …]
Dtree-mudflap.c871 rem = size_binop (TRUNC_MOD_EXPR, ofs, bpu); in mf_xform_derefs_1()
872 ofs = size_binop (TRUNC_DIV_EXPR, ofs, bpu); in mf_xform_derefs_1()
875 size = size_binop (PLUS_EXPR, size, rem); in mf_xform_derefs_1()
876 size = size_binop (CEIL_DIV_EXPR, size, bpu); in mf_xform_derefs_1()
Dfunction.c3344 = size_binop (MAX_EXPR, ARGS_SIZE_TREE (*initial_offset_ptr), in locate_and_pad_parm()
3373 locate->slot_offset.var = size_binop (MINUS_EXPR, ssize_int (0), in locate_and_pad_parm()
3398 locate->size.var = size_binop (MINUS_EXPR, in locate_and_pad_parm()
3399 size_binop (MINUS_EXPR, in locate_and_pad_parm()
3476 tree offset = size_binop (PLUS_EXPR, in pad_to_arg_alignment()
3485 offset_ptr->var = size_binop (MINUS_EXPR, rounded, sp_offset_tree); in pad_to_arg_alignment()
3489 alignment_pad->var = size_binop (MINUS_EXPR, offset_ptr->var, in pad_to_arg_alignment()
Dexpr.c4471 = size_binop (MIN_EXPR, in store_expr()
5240 size_binop (MULT_EXPR, position, in store_constructor()
5287 size_binop (MULT_EXPR, index, in store_constructor()
5703 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_inner_reference()
5718 offset = size_binop (PLUS_EXPR, offset, this_offset); in get_inner_reference()
5719 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_inner_reference()
5741 offset = size_binop (PLUS_EXPR, offset, in get_inner_reference()
5742 size_binop (MULT_EXPR, in get_inner_reference()
5752 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_inner_reference()
5860 return size_binop (MULT_EXPR, aligned_size, in array_ref_element_size()
[all …]
Dtree-vect-transform.c154 base_offset = size_binop (PLUS_EXPR, base_offset, init); in vect_create_addr_base_for_vector_ref()
1038 bitpos = size_binop (MULT_EXPR, in vect_create_epilog_for_reduction()
1851 tmis = size_binop (MULT_EXPR, tmis, size_int(BITS_PER_UNIT)); in vectorizable_load()
Dfold-const.c1879 size_binop (enum tree_code code, tree arg0, tree arg1) in size_binop() function
1923 return size_binop (MINUS_EXPR, arg0, arg1); in size_diffop()
1931 return size_binop (MINUS_EXPR, fold_convert (ctype, arg0), in size_diffop()
1941 return fold_convert (ctype, size_binop (MINUS_EXPR, arg0, arg1)); in size_diffop()
1943 return size_binop (MINUS_EXPR, build_int_cst (ctype, 0), in size_diffop()
1944 fold_convert (ctype, size_binop (MINUS_EXPR, in size_diffop()
13472 value = size_binop (PLUS_EXPR, value, t); in round_up()
13474 value = size_binop (BIT_AND_EXPR, value, t); in round_up()
13480 value = size_binop (CEIL_DIV_EXPR, value, div); in round_up()
13481 value = size_binop (MULT_EXPR, value, div); in round_up()
[all …]
Dc-typeck.c1462 return size_binop (CEIL_DIV_EXPR, TYPE_SIZE_UNIT (type), in c_size_in_bytes()
6384 purpose = size_binop (PLUS_EXPR, purpose, bitsize_one_node)) in set_nonincremental_init_from_string()
6637 = size_binop (PLUS_EXPR, constructor_unfilled_index, in output_init_element()
6933 = size_binop (PLUS_EXPR, in process_init_element()
7066 = size_binop (PLUS_EXPR, constructor_index, bitsize_one_node); in process_init_element()
7092 = size_binop (PLUS_EXPR, constructor_index, bitsize_one_node); in process_init_element()
7139 p->index = size_binop (PLUS_EXPR, p->index, bitsize_one_node); in process_init_element()
Dbuiltins.c3237 lenp1 = size_binop (PLUS_EXPR, len, ssize_int (1)); in expand_builtin_stpcpy()
3329 slen = size_binop (PLUS_EXPR, slen, ssize_int (1)); in expand_builtin_strncpy()
3739 len1 = size_binop (PLUS_EXPR, ssize_int (1), len1); in expand_builtin_strcmp()
3741 len2 = size_binop (PLUS_EXPR, ssize_int (1), len2); in expand_builtin_strcmp()
3860 len1 = size_binop (PLUS_EXPR, ssize_int (1), len1); in expand_builtin_strncmp()
3862 len2 = size_binop (PLUS_EXPR, ssize_int (1), len2); in expand_builtin_strncmp()
4309 size_binop (MINUS_EXPR, rounded_size, type_size)); in std_gimplify_va_arg_expr()
8300 len = size_binop (PLUS_EXPR, len, ssize_int (1)); in fold_builtin_strcpy()
8341 slen = size_binop (PLUS_EXPR, slen, ssize_int (1)); in fold_builtin_strncpy()
10614 len = size_binop (PLUS_EXPR, len, ssize_int (1)); in fold_builtin_stxcpy_chk()
Dc-common.c3024 value = size_binop (CEIL_DIV_EXPR, TYPE_SIZE_UNIT (type), in c_sizeof_or_alignof_type()
6449 off = size_binop (PLUS_EXPR, DECL_FIELD_OFFSET (t), in fold_offsetof_1()
6466 off = size_binop (MULT_EXPR, TYPE_SIZE_UNIT (TREE_TYPE (expr)), t); in fold_offsetof_1()
6479 return size_binop (code, base, off); in fold_offsetof_1()
6566 curindex = size_binop (PLUS_EXPR, curindex, size_one_node); in complete_array_type()
Dtree-vect-analyze.c786 misalign = size_binop (TRUNC_MOD_EXPR, misalign, alignment); in vect_compute_data_ref_alignment()
Dvarasm.c4185 i = size_binop (MINUS_EXPR, fold_convert (sizetype, max_index), in array_size_for_constructor()
4187 i = size_binop (PLUS_EXPR, i, build_int_cst (sizetype, 1)); in array_size_for_constructor()
4190 i = size_binop (MULT_EXPR, i, TYPE_SIZE_UNIT (TREE_TYPE (TREE_TYPE (val)))); in array_size_for_constructor()
Dcalls.c1190 = size_binop (MAX_EXPR, args_size->var, in compute_argument_block_size()
1197 = size_binop (MINUS_EXPR, args_size->var, in compute_argument_block_size()
Demit-rtl.c1599 off_tree = size_binop (PLUS_EXPR, in set_mem_attributes_minus_bitpos()
1600 size_binop (MULT_EXPR, in set_mem_attributes_minus_bitpos()
/freebsd-12-stable/contrib/gcc/cp/
Dclass.c2117 fixed_offset = size_binop (PLUS_EXPR, fixed_offset, offset); in update_vtable_entry_for_fn()
3219 binfo_offset = size_binop (PLUS_EXPR, in walk_subobject_offsets()
3229 binfo_offset = size_binop (PLUS_EXPR, in walk_subobject_offsets()
3261 size_binop (PLUS_EXPR, in walk_subobject_offsets()
3304 size_binop (PLUS_EXPR, in walk_subobject_offsets()
3331 index = size_binop (PLUS_EXPR, index, size_one_node)) in walk_subobject_offsets()
3341 offset = size_binop (PLUS_EXPR, offset, in walk_subobject_offsets()
3488 = size_binop (PLUS_EXPR, rli->bitpos, in layout_nonempty_base_or_field()
4319 size_binop (PLUS_EXPR, in propagate_binfo_offsets()
4407 (size_binop (CEIL_DIV_EXPR, in layout_virtual_bases()
[all …]
Dexpr.c65 cst = size_binop (PLUS_EXPR, cst, byte_position (member)); in cplus_expand_constant()
Dinit.c1636 index = size_binop (MINUS_EXPR, index, size_one_node); in build_new_1()
1686 size = size_binop (MULT_EXPR, size, convert (sizetype, nelts)); in build_new_1()
1696 bitsize = size_binop (MULT_EXPR, TYPE_SIZE (elt_type), n); in build_new_1()
1749 size = size_binop (PLUS_EXPR, size, cookie_size); in build_new_1()
2238 virtual_size = size_binop (MULT_EXPR, size_exp, in build_vec_delete_1()
2272 virtual_size = size_binop (MULT_EXPR, size_exp, in build_vec_delete_1()
2290 virtual_size = size_binop (PLUS_EXPR, virtual_size, cookie_size); in build_vec_delete_1()
DChangeLog-20002670 indices. Use size_binop.
2673 size_binop.
5320 (dfs_propagate_binfo_offsets): Adjust for new size_binop
5356 (build_base_field): Set DECL_SIZE and DECL_SIZE_UNIT using size_binop.
5821 * class.c (dfs_build_vtable_offset_vtbl_entries): Don't use size_binop
5828 (get_vfield_offset): Pass proper types to size_binop.
5834 * cvt.c (cp_convert_to_pointer): Pass proper types to size_binop.
5835 * decl.c (complete_arry_type): Pass proper types to size_binop.
5837 * error.c (dump_expr): Don't use size_binop non-sizes.
5838 * expr.c (cplus_expand_constant): Pass proper types to size_binop.
[all …]
Dmethod.c101 = size_binop (MULT_EXPR, in make_thunk()
Dcvt.c216 expr = size_binop (code, in cp_convert_to_pointer()
Drtti.c859 size_binop (MULT_EXPR, in tinfo_base_init()
Dmangle.c2408 max = size_binop (PLUS_EXPR, max, size_one_node); in write_array_type()

12