Home
last modified time | relevance | path

Searched refs:build_int_cst (Results 1 – 25 of 213) sorted by relevance

123456789

/dragonfly/contrib/gcc-8.0/gcc/c-family/
H A Dc-ubsan.c58 op1, build_int_cst (type, 0)); in ubsan_instrument_division()
73 build_int_cst (type, -1)); in ubsan_instrument_division()
126 tree uprecm1 = build_int_cst (op1_utype, op0_prec - 1); in ubsan_instrument_shift()
152 build_int_cst (TREE_TYPE (tt), 0)); in ubsan_instrument_shift()
166 build_int_cst (TREE_TYPE (tt), 1)); in ubsan_instrument_shift()
168 build_int_cst (type0, 0)); in ubsan_instrument_shift()
250 t = fold_build2 (LE_EXPR, boolean_type_node, size, build_int_cst (type, 0)); in ubsan_instrument_vla()
304 build_int_cst (TREE_TYPE (bound), 1)); in ubsan_instrument_bounds()
353 tree zero_with_type = build_int_cst (build_pointer_type (type), 0); in ubsan_instrument_bounds()
460 tree kind = build_int_cst (ptype, ckind); in ubsan_maybe_instrument_reference_or_call()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/objc/
H A Dobjc-gnu-runtime-abi-01.c645 build_int_cst (NULL_TREE, index)), in gnu_runtime_abi_01_build_typed_selector_reference()
911 CONSTRUCTOR_APPEND_ELT (v, fields, build_int_cst (NULL_TREE, 0)); in gnu_runtime_abi_01_build_const_string_constructor()
1102 expr = build_int_cst (ttyp, PROTOCOL_VERSION); in build_protocol_initializer()
1339 refs_expr = build_int_cst (NULL_TREE, 0); in generate_protocols()
1369 build_int_cst (integer_type_node, size)); in generate_dispatch_table()
1521 build_int_cst (objc_ivar_list_ptr, 0)); in build_shared_structure_initializer()
1565 CONSTRUCTOR_APPEND_ELT (v, NULL_TREE, build_int_cst (ltyp, 0)); in build_shared_structure_initializer()
1807 return build_int_cst (NULL_TREE, 0); in get_proto_encoding()
2018 build_int_cst (long_integer_type_node, 0)); in init_objc_symtab()
2033 build_int_cst (short_integer_type_node, imp_count)); in init_objc_symtab()
[all …]
H A Dobjc-next-runtime-abi-01.c330 build_int_cst (NULL_TREE, OFFS_MSGSEND_FAST), in next_runtime_01_initialize()
1022 CONSTRUCTOR_APPEND_ELT (v, fields, build_int_cst (NULL_TREE, length)); in next_runtime_abi_01_build_const_string_constructor()
1392 CONSTRUCTOR_APPEND_ELT (v, NULL_TREE, build_int_cst (NULL_TREE, 0)); in generate_v1_protocol_list()
1393 e = build_int_cst (build_pointer_type (objc_protocol_template), size); in generate_v1_protocol_list()
1680 build_int_cst (integer_type_node, size)); in generate_dispatch_table()
1727 expr = build_int_cst (NULL_TREE, val); in build_v1_category_initializer()
1899 build_int_cst (long_integer_type_node, 0)); in build_v1_shared_structure_initializer()
2224 build_int_cst (long_integer_type_node, 0)); in init_objc_symtab()
2235 build_int_cst (short_integer_type_node, imp_count)); in init_objc_symtab()
2240 build_int_cst (short_integer_type_node, cat_count)); in init_objc_symtab()
[all …]
H A Dobjc-next-runtime-abi-02.c2189 e = build_int_cst (ptempl_p_t, size); in generate_v2_protocol_list()
2454 build_int_cst (NULL_TREE, init_val)); in generate_v2_property_table()
2456 build_int_cst (NULL_TREE, size)); in generate_v2_property_table()
2517 expr = build_int_cst (integer_type_node, in build_v2_protocol_initializer()
2591 refs_expr = build_int_cst (NULL_TREE, 0); in generate_v2_protocols()
2636 build_int_cst (integer_type_node, size)); in generate_v2_dispatch_table()
2858 build_int_cst (integer_type_node, val)); in build_v2_ivar_list_initializer()
2863 build_int_cst (integer_type_node, val)); in build_v2_ivar_list_initializer()
2936 build_int_cst (integer_type_node, size)); in generate_v2_ivars_list()
2996 build_int_cst (integer_type_node, flags)); in build_v2_class_ro_t_initializer()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-vect-loop-manip.c692 tree vf = build_int_cst (compare_type, in vect_set_loop_condition_masked()
747 tree step = build_int_cst (compare_type, in vect_set_loop_condition_masked()
880 build_int_cst (niters_type, 1)); in vect_set_loop_condition_unmasked()
1856 build_int_cst (type, bound_epilog)); in vect_gen_scalar_loop_niters()
1875 return build_int_cst (type, th); in vect_gen_scalar_loop_niters()
1882 build_int_cst (type, th), niters); in vect_gen_scalar_loop_niters()
1952 build_int_cst (type, vf)), in vect_gen_vector_loop_niters()
1954 build_int_cst (type, 1)); in vect_gen_vector_loop_niters()
1973 wi::to_wide (build_int_cst (type, 1)), in vect_gen_vector_loop_niters()
2461 niters_prolog = build_int_cst (type, 0); in vect_do_peeling()
[all …]
H A Domp-general.c74 build_int_cst (TREE_TYPE (*n2), 1)); in omp_adjust_for_condition()
82 build_int_cst (TREE_TYPE (*n2), 1)); in omp_adjust_for_condition()
340 t = build_int_cst (itype, (loop->cond_code == LT_EXPR ? -1 : 1)); in omp_extract_for_data()
398 fd->loop.n1 = build_int_cst (TREE_TYPE (fd->loop.v), 0); in omp_extract_for_data()
400 fd->loop.step = build_int_cst (TREE_TYPE (fd->loop.v), 1); in omp_extract_for_data()
475 res = build_int_cst (unsigned_type_node, GOMP_LAUNCH_PACK (code, 0, op)); in oacc_launch_pack()
479 device, build_int_cst (unsigned_type_node, in oacc_launch_pack()
600 dims = tree_cons (build_int_cst (boolean_type_node, ix >= level), in oacc_build_routine_dims()
601 build_int_cst (integer_type_node, ix < level), dims); in oacc_build_routine_dims()
H A Dasan.c687 build_int_cst (size_type_node, align)); in handle_builtin_alloca()
695 build_int_cst (size_type_node, in handle_builtin_alloca()
1910 build_int_cst (shadow_ptr_type, 0));
2033 build_int_cst (integer_type_node,
2542 return build_int_cst (uptr, 0); in create_odr_indicator()
2640 : build_int_cst (uptr, 0)); in asan_add_global()
2679 build_int_cst (unsigned_type_node, in asan_add_global()
2681 build_int_cst (unsigned_type_node, in asan_add_global()
2690 locptr = build_int_cst (uptr, 0); in asan_add_global()
3202 build_int_cst (TREE_TYPE (len), 0), in asan_expand_check_ifn()
[all …]
H A Dfold-const-call.c1161 return build_int_cst (type, strlen (str)); in fold_const_call()
1463 return build_int_cst (type, strspn (p0, p1)); in fold_const_call()
1491 return build_int_cst (type, 0); in fold_const_call()
1503 return build_int_cst (type, 0); in fold_const_call()
1516 return build_int_cst (type, 0); in fold_const_call()
1607 return build_int_cst (type, 0); in fold_const_call()
1618 return build_int_cst (type, 0); in fold_const_call()
1622 return build_int_cst (type, 0); in fold_const_call()
1632 return build_int_cst (type, 0); in fold_const_call()
1646 return build_int_cst (type, 0); in fold_const_call()
[all …]
H A Dtree-vect-patterns.c2003 def2 = build_int_cst (stype, in vect_recog_rotate_pattern()
2700 build_int_cst (itype, 0)); in vect_recog_divmod_pattern()
2708 build_int_cst (itype, 1)), in vect_recog_divmod_pattern()
2709 build_int_cst (itype, 0)); in vect_recog_divmod_pattern()
2772 build_int_cst (itype, 1))); in vect_recog_divmod_pattern()
2841 build_int_cst (itype, ml)); in vect_recog_divmod_pattern()
2894 build_int_cst (itype, ml)); in vect_recog_divmod_pattern()
3760 cst0 = build_int_cst (type, 0); in vect_recog_bool_pattern()
3761 cst1 = build_int_cst (type, 1); in vect_recog_bool_pattern()
3850 cst0 = build_int_cst (type, 0); in vect_recog_bool_pattern()
[all …]
H A Dubsan.c298 str = build_int_cst (ptr_type_node, 0); in ubsan_source_location()
313 build_int_cst (unsigned_type_node, in ubsan_source_location()
315 build_int_cst (unsigned_type_node, in ubsan_source_location()
509 build_int_cst (short_unsigned_type_node, in ubsan_type_descriptor()
511 build_int_cst (short_unsigned_type_node, in ubsan_type_descriptor()
840 build_int_cst (unsigned_char_type_node, in ubsan_expand_null_ifn()
1252 t1, build_int_cst (integer_type_node, 47)); in ubsan_expand_vptr_ifn()
1487 build_int_cst (TREE_TYPE (t), bytepos)); in maybe_instrument_pointer_overflow()
1692 build_int_cst (atype, 0)); in instrument_bool_enum_load()
1969 build_int_cst (integer_type_node, in instrument_nonnull_arg()
[all …]
H A Dtree-profile.c252 one = build_int_cst (gcov_type_node, 1); in gimple_gen_edge_profiler()
262 build_int_cst (integer_type_node, in gimple_gen_edge_profiler()
462 void0 = build_int_cst (build_pointer_type (void_type_node), 0); in gimple_gen_ic_func_profiler()
477 tree_uid = build_int_cst in gimple_gen_ic_func_profiler()
512 tree one = build_int_cst (type, 1); in gimple_gen_time_profiler()
515 gcond *cond = gimple_build_cond (EQ_EXPR, ref, build_int_cst (type, 0), in gimple_gen_time_profiler()
534 build_int_cst (integer_type_node, in gimple_gen_time_profiler()
H A Dtsan.c185 build_int_cst (TREE_TYPE (expr), bitpos / BITS_PER_UNIT)); in instrument_expr()
526 args[num] = build_int_cst (NULL_TREE, in instrument_builtin_call()
605 build_int_cst (NULL_TREE, in instrument_builtin_call()
607 build_int_cst (NULL_TREE, in instrument_builtin_call()
618 build_int_cst (TREE_TYPE (t), 0)); in instrument_builtin_call()
631 build_int_cst (t, 0), in instrument_builtin_call()
632 build_int_cst (NULL_TREE, in instrument_builtin_call()
662 build_int_cst (t, 0), last_arg); in instrument_builtin_call()
666 t = build_int_cst (t, targetm.atomic_test_and_set_trueval); in instrument_builtin_call()
682 build_int_cst (TREE_TYPE (t), 0)); in instrument_builtin_call()
H A Domp-expand.c213 build_int_cst (type, vf - 1)); in omp_adjust_chunk_size()
215 build_int_cst (type, -vf)); in omp_adjust_chunk_size()
2776 t5 = build_int_cst (c_bool_type, in expand_omp_for_generic()
4125 build_int_cst (itype, 0), in expand_omp_for_static_chunk()
4126 build_int_cst (itype, 1)); in expand_omp_for_static_chunk()
4143 t = build_int_cst (itype, 1); in expand_omp_for_static_chunk()
4559 build_int_cst (itype2, 0), t); in expand_omp_simd()
5551 build_int_cst (diff_type, 1)); in expand_oacc_for()
6047 build_int_cst (NULL, in expand_omp_atomic_load()
6122 build_int_cst (NULL, in expand_omp_atomic_store()
[all …]
H A Dtree-ssa-strlen.c1224 rhs = build_int_cst (TREE_TYPE (lhs), ~idx); in handle_builtin_strlen()
1350 rhs = build_int_cst (size_type_node, ~idx); in handle_builtin_strchr()
1471 srclen = build_int_cst (size_type_node, ~idx); in handle_builtin_strcpy()
1569 build_int_cst (type, 1)); in handle_builtin_strcpy()
2110 build_int_cst (type, 1)); in handle_builtin_stxncpy()
2128 build_int_cst (type, 1)); in handle_builtin_stxncpy()
2401 srclen = build_int_cst (size_type_node, ~idx); in handle_builtin_strcat()
2557 build_int_cst (type, 1)); in handle_builtin_strcat()
2643 length = build_int_cst (size_type_node, 0); in handle_builtin_malloc()
2770 off = build_int_cst (ptrtype, 0); in handle_builtin_memcmp()
[all …]
H A Dtree-vrp.c369 one = build_int_cst (TREE_TYPE (min), 1); in set_and_canonicalize_value_range()
420 tree one = build_int_cst (TREE_TYPE (max), 1); in set_and_canonicalize_value_range()
427 tree one = build_int_cst (TREE_TYPE (min), 1); in set_and_canonicalize_value_range()
467 tree zero = build_int_cst (type, 0); in set_value_range_to_nonnull()
757 inv1 = build_int_cst (TREE_TYPE (val1), 0); in compare_values_warnv()
759 inv2 = build_int_cst (TREE_TYPE (val2), 0); in compare_values_warnv()
2292 max = build_int_cst (expr_type, 0); in extract_range_from_binary_expr_1()
2586 min = build_int_cst (type, 0); in extract_range_from_unary_expr()
2597 min = build_int_cst (type, 0); in extract_range_from_unary_expr()
3778 val = build_int_cst (TREE_TYPE (op), 0); in register_edge_assert_for_1()
[all …]
H A Dvr-values.c56 tree zero = build_int_cst (type, 0); in set_value_range_to_nonnegative()
69 build_int_cst (type, 0), build_int_cst (type, 1), in set_value_range_to_truthvalue()
505 min = build_int_cst (TREE_TYPE (var), 0); in extract_range_for_var_from_comparison_expr()
626 build_int_cst (TREE_TYPE (max), -1)); in extract_range_for_var_from_comparison_expr()
629 build_int_cst (TREE_TYPE (max), 1)); in extract_range_for_var_from_comparison_expr()
669 build_int_cst (TREE_TYPE (min), 1)); in extract_range_for_var_from_comparison_expr()
1234 build_int_cst (type, maxi), NULL); in extract_range_basic()
1341 build_int_cst (type, 1), NULL); in extract_range_basic()
1358 build_int_cst (type, ovf), in extract_range_basic()
1365 build_int_cst (type, 1), NULL); in extract_range_basic()
[all …]
H A Domp-offload.c234 tree arg = build_int_cst (unsigned_type_node, dim); in oacc_dim_call()
252 tree res = pos ? NULL_TREE : build_int_cst (unsigned_type_node, 1); in oacc_thread_numbers()
346 r = build_int_cst (type, 1); in oacc_xform_loop()
509 tree span = build_int_cst (type, 1); in oacc_xform_tile()
696 build_int_cst (integer_type_node, dims[ix]), pos); in oacc_validate_dims()
1025 tree replacement = build_int_cst (unsigned_type_node, level); in oacc_loop_xform_head_tail()
1063 tree mask_arg = build_int_cst (unsigned_type_node, loop->mask); in oacc_loop_process()
1064 tree e_mask_arg = build_int_cst (unsigned_type_node, loop->e_mask); in oacc_loop_process()
1771 tree align = build_int_cst (TREE_TYPE (size), TYPE_ALIGN_UNIT (rectype)); in ompdevlow_adjust_simt_enter()
1858 rhs = build_int_cst (type, vf); in execute_omp_device_lower()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-vect-loop-manip.c765 tree init = build_int_cst (TREE_TYPE (niters), 0); in slpeel_make_loop_iterate_ntimes()
766 tree step = build_int_cst (TREE_TYPE (niters), 1); in slpeel_make_loop_iterate_ntimes()
950 cond, build_int_cst (TREE_TYPE (cond), 0), in slpeel_add_loop_guard()
1080 build_int_cst (TREE_TYPE (cost_pre_condition), in set_prologue_iterations()
1367 build_int_cst (TREE_TYPE (*first_niters), 0)); in slpeel_tree_peel_loop_to_edge()
1399 build_int_cst (TREE_TYPE (*first_niters), 0)); in slpeel_tree_peel_loop_to_edge()
1568 log_vf = build_int_cst (TREE_TYPE (ni), exact_log2 (vf)); in vect_generate_tmps_on_preheader()
2039 iters = build_int_cst (niters_type, npeel); in vect_gen_niters_for_prolog_loop()
2057 tree nelements_tree = build_int_cst (type, nelements); in vect_gen_niters_for_prolog_loop()
2343 mask_cst = build_int_cst (int_ptrsize_type, mask); in vect_create_cond_for_align_checks()
[all …]
H A Dtree-ssa-ifcombine.c232 *bit = build_int_cst (integer_type_node, in recognize_single_bit_test()
333 build_int_cst (TREE_TYPE (name1), 1), bit1); in ifcombine_ifandif()
335 build_int_cst (TREE_TYPE (name1), 1), bit2); in ifcombine_ifandif()
488 build_int_cst (TREE_TYPE (t), 0)); in ifcombine_iforif()
H A Dtree-vect-patterns.c1642 build_int_cst (itype, in vect_recog_sdivmod_pow2_pattern()
1644 build_int_cst (itype, 0)); in vect_recog_sdivmod_pow2_pattern()
1656 build_int_cst (itype, in vect_recog_sdivmod_pow2_pattern()
1668 build_int_cst (itype, 1), in vect_recog_sdivmod_pow2_pattern()
1669 build_int_cst (itype, 0)); in vect_recog_sdivmod_pow2_pattern()
1685 build_int_cst (utype, -1), in vect_recog_sdivmod_pow2_pattern()
1686 build_int_cst (utype, 0)); in vect_recog_sdivmod_pow2_pattern()
1717 build_int_cst (itype, in vect_recog_sdivmod_pow2_pattern()
1998 irhs1, build_int_cst (itype, 1)); in adjust_bool_pattern()
2129 trueval = build_int_cst (itype, 1); in adjust_bool_pattern()
[all …]
H A Dtree-ssa-loop-niter.c525 rslt = build_int_cst (type, 1); in inverse()
673 build_int_cst (niter_type, 1), bits); in number_of_iterations_ne()
682 assumption, build_int_cst (niter_type, 0)); in number_of_iterations_ne()
849 build_int_cst (niter_type, 1)); in assert_no_overflow_lt()
870 build_int_cst (niter_type, 1)); in assert_no_overflow_lt()
966 iv0->step, build_int_cst (type1, 1)); in assert_loop_rolls_lt()
988 iv1->step, build_int_cst (type1, 1)); in assert_loop_rolls_lt()
1105 step, build_int_cst (niter_type, 1)); in number_of_iterations_lt()
1170 build_int_cst (type1, 1)); in number_of_iterations_le()
1176 iv0->base, build_int_cst (type1, 1)); in number_of_iterations_le()
[all …]
H A Dtree-ssa-strlen.c624 si = new_strinfo (ptr, idx, build_int_cst (size_type_node, 0)); in zero_length_string()
880 rhs = build_int_cst (TREE_TYPE (lhs), ~idx); in handle_builtin_strlen()
959 rhs = build_int_cst (size_type_node, ~idx); in handle_builtin_strchr()
1079 srclen = build_int_cst (size_type_node, ~idx); in handle_builtin_strcpy()
1234 len = fold_build2_loc (loc, PLUS_EXPR, type, len, build_int_cst (type, 1)); in handle_builtin_strcpy()
1337 newlen = build_int_cst (size_type_node, ~idx); in handle_builtin_memcpy()
1468 srclen = build_int_cst (size_type_node, ~idx); in handle_builtin_strcat()
1541 build_int_cst (type, 1)); in handle_builtin_strcat()
1699 si->length = build_int_cst (size_type_node, 0); in handle_char_store()
1725 build_int_cst (size_type_node, 0)); in handle_char_store()
[all …]
H A Dtree-ssa-loop-ivcanon.c99 build_int_cst (type, 1)); in create_canonical_iv()
102 build_int_cst (type, -1), in create_canonical_iv()
109 gimple_cond_set_rhs (cond, build_int_cst (type, 0)); in create_canonical_iv()
/dragonfly/contrib/gcc-4.7/gcc/cp/
H A Drtti.c186 index = build_int_cst (NULL_TREE, in build_headof()
269 index = build_int_cst (NULL_TREE, in get_tinfo_decl_dynamic()
683 retval = build_int_cst (type, 0); in build_dynamic_cast_1()
974 CONSTRUCTOR_APPEND_ELT (v, NULL_TREE, build_int_cst (NULL_TREE, flags)); in ptr_initializer()
1004 CONSTRUCTOR_APPEND_ELT (v, NULL_TREE, build_int_cst (NULL_TREE, flags)); in ptm_initializer()
1148 build_int_cst (offset_type, 8)); in get_pseudo_ti_init()
1151 build_int_cst (offset_type, flags)); in get_pseudo_ti_init()
1165 build_int_cst (NULL_TREE, hint), in get_pseudo_ti_init()
1166 build_int_cst (NULL_TREE, nbases), in get_pseudo_ti_init()
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Drtti.c206 index = build_int_cst (NULL_TREE, in build_headof()
296 index = build_int_cst (NULL_TREE, in get_tinfo_decl_dynamic()
713 retval = build_int_cst (type, 0); in build_dynamic_cast_1()
1026 CONSTRUCTOR_APPEND_ELT (v, NULL_TREE, build_int_cst (NULL_TREE, flags)); in ptr_initializer()
1057 CONSTRUCTOR_APPEND_ELT (v, NULL_TREE, build_int_cst (NULL_TREE, flags)); in ptm_initializer()
1198 build_int_cst (offset_type, 8)); in get_pseudo_ti_init()
1201 build_int_cst (offset_type, flags)); in get_pseudo_ti_init()
1215 build_int_cst (NULL_TREE, hint), in get_pseudo_ti_init()
1216 build_int_cst (NULL_TREE, nbases), in get_pseudo_ti_init()

123456789