/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | gimple-range-tests.cc | 38 int_range<2> expect (build_int_cst (type, 20), build_int_cst (type, 30)); in test_expr_eval() 49 r.set (build_int_cst (type, 5), build_int_cst (type, 10)); in range_of_expr() 54 r.set (build_int_cst (type, 15), build_int_cst (type, 20)); in range_of_expr()
|
H A D | value-range.cc | 155 one = build_int_cst (TREE_TYPE (min), 1); in swap_out_of_order_endpoints() 345 tree one = build_int_cst (TREE_TYPE (max), 1); in set() 352 tree one = build_int_cst (TREE_TYPE (min), 1); in set() 841 build_int_cst (TREE_TYPE (vr1max), -1)); in intersect_ranges() 845 build_int_cst (TREE_TYPE (vr1max), 1)); in intersect_ranges() 856 build_int_cst (TREE_TYPE (vr1min), -1)); in intersect_ranges() 860 build_int_cst (TREE_TYPE (vr1min), 1)); in intersect_ranges() 908 build_int_cst (TREE_TYPE (*vr0max), -1)); in intersect_ranges() 912 build_int_cst (TREE_TYPE (*vr0max), 1)); in intersect_ranges() 925 build_int_cst (TREE_TYPE (*vr0min), -1)); in intersect_ranges() [all …]
|
H A D | tree-vect-loop-manip.cc | 440 length_limit = build_int_cst (compare_type, nitems_per_ctrl); in vect_set_loop_controls_directly() 447 tree nitems_step = build_int_cst (iv_type, vf); in vect_set_loop_controls_directly() 453 tree compare_factor = build_int_cst (compare_type, nitems_per_iter); in vect_set_loop_controls_directly() 454 tree iv_factor = build_int_cst (iv_type, nitems_per_iter); in vect_set_loop_controls_directly() 470 create_iv (build_int_cst (iv_type, 0), nitems_step, NULL_TREE, loop, in vect_set_loop_controls_directly() 473 tree zero_index = build_int_cst (compare_type, 0); in vect_set_loop_controls_directly() 522 tree const_limit = build_int_cst (compare_type, in vect_set_loop_controls_directly() 565 tree bias_tree = build_int_cst (compare_type, bias); in vect_set_loop_controls_directly() 675 build_int_cst in vect_set_loop_controls_directly() 781 tree step = build_int_cst (compare_type, in vect_set_loop_condition_partial_vectors() [all …]
|
H A D | gimple-range-fold.cc | 895 r.set (build_int_cst (type, 0), TYPE_MAX_VALUE (type)); in range_of_call() 961 lowers = int_range<2> (build_int_cst (type, a), build_int_cst (type, z)); in get_letter_range() 962 uppers = int_range<2> (build_int_cst (type, A), build_int_cst (type, Z)); in get_letter_range() 1065 r.set (build_int_cst (type, mini), build_int_cst (type, maxi)); in range_of_builtin_call() 1130 r.set (build_int_cst (type, mini), build_int_cst (type, maxi)); in range_of_builtin_call() 1189 r.set (build_int_cst (type, mini), build_int_cst (type, maxi)); in range_of_builtin_call() 1195 r.set (build_int_cst (type, 0), build_int_cst (type, prec - 1)); in range_of_builtin_call() 1220 r.set (build_int_cst (type, is_pos ? 0 : 1), in range_of_builtin_call() 1222 ? build_int_cst (type, size - is_pos) : vrp_val_max (type)); in range_of_builtin_call()
|
H A D | asan.cc | 779 new_size, build_int_cst (size_type_node, align)); in handle_builtin_alloca() 816 tree alloca_rz_mask = build_int_cst (size_type_node, redzone_mask); in handle_builtin_alloca() 817 tree redzone_size = build_int_cst (size_type_node, ASAN_RED_ZONE_SIZE); in handle_builtin_alloca() 842 tree additional_size = build_int_cst (size_type_node, align / BITS_PER_UNIT in handle_builtin_alloca() 864 build_int_cst (size_type_node, align)); in handle_builtin_alloca() 878 build_int_cst (size_type_node, in handle_builtin_alloca() 1222 build_int_cst (build_pointer_type (char_type_node), 0)); in get_mem_refs_of_builtin_call() 2512 t = build_int_cst (uintptr_type, ASAN_SHADOW_SHIFT); in build_shadow_mem_access() 2518 t = build_int_cst (uintptr_type, asan_shadow_offset ()); in build_shadow_mem_access() 2532 build_int_cst (shadow_ptr_type, 0)); in build_shadow_mem_access() [all …]
|
H A D | fold-const-call.cc | 79 return build_int_cst (type, res < 0 ? -1 : res > 0 ? 1 : 0); in build_cmp_result() 1288 return build_int_cst (type, strlen (str)); in fold_const_call() 1616 return build_int_cst (type, strspn (p0, p1)); in fold_const_call() 1621 return build_int_cst (type, strcspn (p0, p1)); in fold_const_call() 1644 return build_int_cst (type, 0); in fold_const_call() 1656 return build_int_cst (type, 0); in fold_const_call() 1669 return build_int_cst (type, 0); in fold_const_call() 1779 return build_int_cst (type, 0); in fold_const_call() 1781 return build_int_cst (type, strncmp (p0, p1, MIN (s2, SIZE_MAX))); in fold_const_call() 1790 return build_int_cst (type, 0); in fold_const_call() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | value-range.cc | 137 one = build_int_cst (TREE_TYPE (min), 1); in set() 184 tree one = build_int_cst (TREE_TYPE (max), 1); in set() 191 tree one = build_int_cst (TREE_TYPE (min), 1); in set() 245 tree zero = build_int_cst (type, 0); in set_nonzero() 254 set (build_int_cst (type, 0)); in set_zero() 700 build_int_cst (TREE_TYPE (vr1max), -1)); in intersect_ranges() 704 build_int_cst (TREE_TYPE (vr1max), 1)); in intersect_ranges() 715 build_int_cst (TREE_TYPE (vr1min), -1)); in intersect_ranges() 719 build_int_cst (TREE_TYPE (vr1min), 1)); in intersect_ranges() 767 build_int_cst (TREE_TYPE (*vr0max), -1)); in intersect_ranges() [all …]
|
H A D | tree-vect-loop-manip.c | 435 tree nscalars_step = build_int_cst (iv_type, vf); in vect_set_loop_masks_directly() 441 tree compare_factor = build_int_cst (compare_type, nscalars_per_iter); in vect_set_loop_masks_directly() 442 tree iv_factor = build_int_cst (iv_type, nscalars_per_iter); in vect_set_loop_masks_directly() 458 create_iv (build_int_cst (iv_type, 0), nscalars_step, NULL_TREE, loop, in vect_set_loop_masks_directly() 461 tree zero_index = build_int_cst (compare_type, 0); in vect_set_loop_masks_directly() 510 tree const_limit = build_int_cst (compare_type, in vect_set_loop_masks_directly() 553 tree bias_tree = build_int_cst (compare_type, bias); in vect_set_loop_masks_directly() 734 tree step = build_int_cst (compare_type, in vect_set_loop_condition_masked() 867 build_int_cst (niters_type, 1)); in vect_set_loop_condition_unmasked() 1575 target_align_minus_1 = build_int_cst (type, target_align_c - 1); in get_misalign_in_elems() [all …]
|
H A D | asan.c | 658 tree alloca_rz_mask = build_int_cst (size_type_node, redzone_mask); in handle_builtin_alloca() 659 tree redzone_size = build_int_cst (size_type_node, ASAN_RED_ZONE_SIZE); in handle_builtin_alloca() 684 tree additional_size = build_int_cst (size_type_node, align / BITS_PER_UNIT in handle_builtin_alloca() 706 build_int_cst (size_type_node, align)); in handle_builtin_alloca() 720 build_int_cst (size_type_node, in handle_builtin_alloca() 1039 build_int_cst (build_pointer_type (char_type_node), 0)); 2099 t = build_int_cst (uintptr_type, ASAN_SHADOW_SHIFT); 2105 t = build_int_cst (uintptr_type, asan_shadow_offset ()); 2119 build_int_cst (shadow_ptr_type, 0)); 2209 len = build_int_cst (pointer_sized_int_node, size_in_bytes); [all …]
|
H A D | omp-expand.c | 219 build_int_cst (type, vf - 1)); in omp_adjust_chunk_size() 221 build_int_cst (type, -vf)); in omp_adjust_chunk_size() 283 t = build_int_cst (unsigned_type_node, EDGE_COUNT (bb->succs) - 1); in get_ws_args_for() 649 val = build_int_cst (unsigned_type_node, 0); in expand_parallel_call() 650 flags = build_int_cst (unsigned_type_node, 0); in expand_parallel_call() 667 flags = build_int_cst (unsigned_type_node, OMP_CLAUSE_PROC_BIND_KIND (c)); in expand_parallel_call() 681 build_int_cst (TREE_TYPE (cond), 0)); in expand_parallel_call() 721 build_int_cst (unsigned_type_node, 1), in expand_parallel_call() 855 tree flags = build_int_cst (unsigned_type_node, iflags); in expand_task_call() 864 build_int_cst (unsigned_type_node, in expand_task_call() [all …]
|
H A D | fold-const-call.c | 79 return build_int_cst (type, res < 0 ? -1 : res > 0 ? 1 : 0); in build_cmp_result() 1289 return build_int_cst (type, strlen (str)); in fold_const_call() 1611 return build_int_cst (type, strspn (p0, p1)); in fold_const_call() 1616 return build_int_cst (type, strcspn (p0, p1)); in fold_const_call() 1639 return build_int_cst (type, 0); in fold_const_call() 1651 return build_int_cst (type, 0); in fold_const_call() 1664 return build_int_cst (type, 0); in fold_const_call() 1774 return build_int_cst (type, 0); in fold_const_call() 1776 return build_int_cst (type, strncmp (p0, p1, MIN (s2, SIZE_MAX))); in fold_const_call() 1785 return build_int_cst (type, 0); in fold_const_call() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/ |
H A D | c-ubsan.c | 59 op1, build_int_cst (type, 0)); in ubsan_instrument_division() 77 build_int_cst (type, -1)); in ubsan_instrument_division() 130 tree uprecm1 = build_int_cst (op1_utype, op0_prec - 1); in ubsan_instrument_shift() 159 build_int_cst (TREE_TYPE (tt), 0)); in ubsan_instrument_shift() 173 build_int_cst (TREE_TYPE (tt), 1)); in ubsan_instrument_shift() 175 build_int_cst (type0, 0)); in ubsan_instrument_shift() 257 t = fold_build2 (LE_EXPR, boolean_type_node, size, build_int_cst (type, 0)); in ubsan_instrument_vla() 311 build_int_cst (TREE_TYPE (bound), 1)); in ubsan_instrument_bounds() 360 tree zero_with_type = build_int_cst (build_pointer_type (type), 0); in ubsan_instrument_bounds() 467 tree kind = build_int_cst (ptype, ckind); in ubsan_maybe_instrument_reference_or_call() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/ |
H A D | c-ubsan.cc | 59 op1, build_int_cst (type, 0)); in ubsan_instrument_division() 76 build_int_cst (type, -1)); in ubsan_instrument_division() 157 tree uprecm1 = build_int_cst (op1_utype, op0_prec - 1); in ubsan_instrument_shift() 186 build_int_cst (TREE_TYPE (tt), 0)); in ubsan_instrument_shift() 200 build_int_cst (TREE_TYPE (tt), 1)); in ubsan_instrument_shift() 202 build_int_cst (type0, 0)); in ubsan_instrument_shift() 284 t = fold_build2 (LE_EXPR, boolean_type_node, size, build_int_cst (type, 0)); in ubsan_instrument_vla() 338 build_int_cst (TREE_TYPE (bound), 1)); in ubsan_instrument_bounds() 387 tree zero_with_type = build_int_cst (build_pointer_type (type), 0); in ubsan_instrument_bounds() 494 tree kind = build_int_cst (ptype, ckind); in ubsan_maybe_instrument_reference_or_call() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/ |
H A D | trans.cc | 721 size = build_int_cst (size_type_node, 1); in gfc_call_malloc() 725 build_int_cst (size_type_node, 1)); in gfc_call_malloc() 738 build_int_cst (pvoid_type_node, 0)); in gfc_call_malloc() 793 status, build_int_cst (status_type, 0))); in gfc_allocate_using_malloc() 803 build_int_cst (size_type_node, 1))))); in gfc_allocate_using_malloc() 810 build_int_cst (status_type, LIBERROR_ALLOCATION)); in gfc_allocate_using_malloc() 823 build_int_cst (prvoid_type_node, 0)); in gfc_allocate_using_malloc() 864 errlen = build_int_cst (integer_type_node, 0); in gfc_allocate_using_caf_lib() 872 build_int_cst (integer_type_node, alloc_type), in gfc_allocate_using_caf_lib() 925 build_int_cst (type, 0)), in gfc_allocate_allocatable() [all …]
|
H A D | trans-intrinsic.cc | 373 intval, build_int_cst (type, 1)); in build_fixbound_expr() 1072 gfc_add_modify (block, tmp, build_int_cst (integer_type_node, kind)); in conv_caf_vector_subscript_elem() 1274 gfc_add_modify (block, tmp, build_int_cst (integer_type_node, in conv_expr_ref_to_caf_ref() 1342 gfc_add_modify (block, tmp, build_int_cst (integer_type_node, in conv_expr_ref_to_caf_ref() 1365 gfc_add_modify (block, tmp, build_int_cst (TREE_TYPE (tmp), in conv_expr_ref_to_caf_ref() 1421 mode_rhs = build_int_cst (unsigned_char_type_node, in conv_expr_ref_to_caf_ref() 1503 mode_rhs = build_int_cst (unsigned_char_type_node, in conv_expr_ref_to_caf_ref() 1512 mode_rhs = build_int_cst (unsigned_char_type_node, in conv_expr_ref_to_caf_ref() 1518 mode_rhs = build_int_cst (unsigned_char_type_node, in conv_expr_ref_to_caf_ref() 1521 mode_rhs = build_int_cst (unsigned_char_type_node, in conv_expr_ref_to_caf_ref() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/ |
H A D | trans.c | 648 size = build_int_cst (size_type_node, 1); in gfc_call_malloc() 652 build_int_cst (size_type_node, 1)); in gfc_call_malloc() 665 build_int_cst (pvoid_type_node, 0)); in gfc_call_malloc() 720 status, build_int_cst (status_type, 0))); in gfc_allocate_using_malloc() 730 build_int_cst (size_type_node, 1))))); in gfc_allocate_using_malloc() 737 build_int_cst (status_type, LIBERROR_ALLOCATION)); in gfc_allocate_using_malloc() 750 build_int_cst (prvoid_type_node, 0)); in gfc_allocate_using_malloc() 791 errlen = build_int_cst (integer_type_node, 0); in gfc_allocate_using_caf_lib() 799 build_int_cst (integer_type_node, alloc_type), in gfc_allocate_using_caf_lib() 852 build_int_cst (type, 0)), in gfc_allocate_allocatable() [all …]
|
H A D | trans-intrinsic.c | 368 intval, build_int_cst (type, 1)); in build_fixbound_expr() 1064 gfc_add_modify (block, tmp, build_int_cst (integer_type_node, kind)); in conv_caf_vector_subscript_elem() 1266 gfc_add_modify (block, tmp, build_int_cst (integer_type_node, in conv_expr_ref_to_caf_ref() 1334 gfc_add_modify (block, tmp, build_int_cst (integer_type_node, in conv_expr_ref_to_caf_ref() 1357 gfc_add_modify (block, tmp, build_int_cst (TREE_TYPE (tmp), in conv_expr_ref_to_caf_ref() 1413 mode_rhs = build_int_cst (unsigned_char_type_node, in conv_expr_ref_to_caf_ref() 1495 mode_rhs = build_int_cst (unsigned_char_type_node, in conv_expr_ref_to_caf_ref() 1504 mode_rhs = build_int_cst (unsigned_char_type_node, in conv_expr_ref_to_caf_ref() 1510 mode_rhs = build_int_cst (unsigned_char_type_node, in conv_expr_ref_to_caf_ref() 1513 mode_rhs = build_int_cst (unsigned_char_type_node, in conv_expr_ref_to_caf_ref() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/objc/ |
H A D | objc-gnu-runtime-abi-01.cc | 655 build_int_cst (NULL_TREE, index)), in gnu_runtime_abi_01_build_typed_selector_reference() 729 build_int_cst (TREE_TYPE (lookup_object), 0)); in build_objc_method_call() 920 CONSTRUCTOR_APPEND_ELT (v, fields, build_int_cst (NULL_TREE, 0)); in gnu_runtime_abi_01_build_const_string_constructor() 927 CONSTRUCTOR_APPEND_ELT (v, fields, build_int_cst (NULL_TREE, length)); in gnu_runtime_abi_01_build_const_string_constructor() 1111 expr = build_int_cst (ttyp, PROTOCOL_VERSION); in build_protocol_initializer() 1162 CONSTRUCTOR_APPEND_ELT (v, NULL_TREE, build_int_cst (NULL_TREE, 0)); in generate_protocol_list() 1163 e = build_int_cst (build_pointer_type (objc_protocol_template), size); in generate_protocol_list() 1234 CONSTRUCTOR_APPEND_ELT (v, NULL_TREE, build_int_cst (NULL_TREE, size)); in generate_v1_meth_descriptor_table() 1348 refs_expr = build_int_cst (NULL_TREE, 0); in generate_protocols() 1378 build_int_cst (integer_type_node, size)); in generate_dispatch_table() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/ |
H A D | brig-cvt-inst-handler.cc | 138 build_int_cst (TREE_TYPE (input), 0)); in generate() 153 and_mask = build_int_cst (unsigned_int_type, 0x7FFF); in generate() 158 and_mask = build_int_cst (unsigned_int_type, 0x7FFFFFFF); in generate() 163 and_mask = build_int_cst (unsigned_int_type, 0x7FFFFFFFFFFFFFFF); in generate() 173 build_int_cst (unsigned_int_type, 0)); in generate()
|
H A D | brig-function.cc | 196 build_int_cst (uint32_type_node, i), ptr_type_node, in add_id_variables() 214 = tree_stl_vec (1, build_int_cst (uint32_type_node, i)); in add_id_variables() 224 build_int_cst (uint32_type_node, i), ptr_type_node, m_context_arg); in add_id_variables() 241 = tree_stl_vec (1, build_int_cst (uint32_type_node, i)); in add_id_variables() 250 build_int_cst (uint32_type_node, i), ptr_type_node, in add_id_variables() 266 = tree_stl_vec (1, build_int_cst (uint32_type_node, i)); in add_id_variables() 275 build_int_cst (uint32_type_node, i), ptr_type_node, in add_id_variables() 290 build_int_cst (uint32_type_node, i), ptr_type_node, in add_id_variables() 476 build_int_cst (uint32_type_node, dim), in add_wi_loop() 485 build_int_cst (ptr_type, dim * 4)); in add_wi_loop() [all …]
|
H A D | brig-basic-inst-handler.cc | 125 offset = build_int_cst (element_type, 0); in build_shuffle() 127 offset = build_int_cst (element_type, element_count); in build_shuffle() 171 mask_element = build_int_cst (element_type, 0); in build_unpack() 177 and_mask_element = build_int_cst (element_type, -1); in build_unpack() 179 and_mask_element = build_int_cst (element_type, 0); in build_unpack() 293 build_int_cst (element_type, offset + i)); in build_unpack_lo_or_hi() 295 build_int_cst (element_type, in build_unpack_lo_or_hi() 331 = build_int_cst (instr_inner_type, in build_inst_expr()
|
H A D | brig-code-entry-handler.cc | 80 tree local_offset = build_int_cst (uint32_type_node, offset); in build_code_ref() 248 const_offset = build_int_cst (size_type_node, offset); in build_address_operand() 254 const_offset = build_int_cst (size_type_node, offset); in build_address_operand() 279 = tree_stl_vec (1, build_int_cst (uint32_type_node, 0)); in build_address_operand() 282 = tree_stl_vec (1, build_int_cst (uint32_type_node, 1)); in build_address_operand() 285 = tree_stl_vec (1, build_int_cst (uint32_type_node, 2)); in build_address_operand() 305 build_int_cst (uint32_type_node, offset), local_size); in build_address_operand() 310 build_int_cst (uint32_type_node, in build_address_operand() 477 ? build_int_cst (size_type_node, offs) in build_address_operand() 479 build_int_cst (integer_type_node, offs)); in build_address_operand() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/ |
H A D | objc-gnu-runtime-abi-01.c | 655 build_int_cst (NULL_TREE, index)), in gnu_runtime_abi_01_build_typed_selector_reference() 919 CONSTRUCTOR_APPEND_ELT (v, fields, build_int_cst (NULL_TREE, 0)); in gnu_runtime_abi_01_build_const_string_constructor() 926 CONSTRUCTOR_APPEND_ELT (v, fields, build_int_cst (NULL_TREE, length)); in gnu_runtime_abi_01_build_const_string_constructor() 1110 expr = build_int_cst (ttyp, PROTOCOL_VERSION); in build_protocol_initializer() 1161 CONSTRUCTOR_APPEND_ELT (v, NULL_TREE, build_int_cst (NULL_TREE, 0)); in generate_protocol_list() 1162 e = build_int_cst (build_pointer_type (objc_protocol_template), size); in generate_protocol_list() 1233 CONSTRUCTOR_APPEND_ELT (v, NULL_TREE, build_int_cst (NULL_TREE, size)); in generate_v1_meth_descriptor_table() 1347 refs_expr = build_int_cst (NULL_TREE, 0); in generate_protocols() 1377 build_int_cst (integer_type_node, size)); in generate_dispatch_table() 1516 build_int_cst (long_integer_type_node, 0)); in build_shared_structure_initializer() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/ |
H A D | region-model.cc | 1130 index = build_int_cst (integer_type_node, ix); in on_assignment() 2462 tree byte_offset_cst = build_int_cst (integer_type_node, 0); in get_store_value() 2521 tree null_ptr_cst = build_int_cst (ptr_sval->get_type (), 0); in deref_rvalue() 3507 tree offset = build_int_cst (pointer->get_type (), 0); in get_representative_path_var_1() 4512 out->safe_push (build_int_cst (integer_type_node, 0)); in append_interesting_constants() 4513 out->safe_push (build_int_cst (integer_type_node, 42)); in append_interesting_constants() 4514 out->safe_push (build_int_cst (unsigned_type_node, 0)); in append_interesting_constants() 4515 out->safe_push (build_int_cst (unsigned_type_node, 42)); in append_interesting_constants() 4700 tree int_17 = build_int_cst (integer_type_node, 17); in test_struct() 4701 tree int_m3 = build_int_cst (integer_type_node, -3); in test_struct() [all …]
|
H A D | constraint-manager.cc | 3112 tree int_0 = build_int_cst (integer_type_node, 0); in test_range() 3113 tree int_1 = build_int_cst (integer_type_node, 1); in test_range() 3114 tree int_2 = build_int_cst (integer_type_node, 2); in test_range() 3115 tree int_5 = build_int_cst (integer_type_node, 5); in test_range() 3156 tree int_42 = build_int_cst (integer_type_node, 42); in test_constraint_conditions() 3157 tree int_0 = build_int_cst (integer_type_node, 0); in test_constraint_conditions() 3612 tree int_1 = build_int_cst (integer_type_node, 1); in test_constant_comparisons() 3613 tree int_3 = build_int_cst (integer_type_node, 3); in test_constant_comparisons() 3614 tree int_4 = build_int_cst (integer_type_node, 4); in test_constant_comparisons() 3615 tree int_5 = build_int_cst (integer_type_node, 5); in test_constant_comparisons() [all …]
|