Home
last modified time | relevance | path

Searched refs:ptrtype (Results 1 – 25 of 46) sorted by relevance

12

/netbsd-src/external/gpl3/gdb/dist/libctf/testsuite/libctf-writable/
H A Dpptrtab-writable-page-deep-lookup.c14 ctf_id_t ptype, ptrtype, type, foo; in main() local
37 if ((ptrtype = ctf_add_pointer (pfp, CTF_ADD_ROOT, ptype)) == CTF_ERR) in main()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-codegen.cc640 tree ptrtype; in build_address() local
648 ptrtype = build_pointer_type (TREE_TYPE (type)); in build_address()
654 ptrtype = build_pointer_type (TREE_TYPE (type)); in build_address()
657 ptrtype = build_pointer_type (type); in build_address()
674 exp = build_fold_addr_expr_with_type_loc (input_location, exp, ptrtype); in build_address()
1026 tree ptrtype = build_ctype (sd->type->pointerTo ()); in build_array_struct_comparison() local
1037 t = build_local_temp (ptrtype); in build_array_struct_comparison()
1038 add_stmt (build_assign (INIT_EXPR, t, d_convert (ptrtype, t1))); in build_array_struct_comparison()
1041 t = build_local_temp (ptrtype); in build_array_struct_comparison()
1042 add_stmt (build_assign (INIT_EXPR, t, d_convert (ptrtype, t2))); in build_array_struct_comparison()
[all …]
H A Dintrinsics.cc655 tree ptrtype = TREE_TYPE (ptr); in expand_volatile_load() local
656 gcc_assert (POINTER_TYPE_P (ptrtype)); in expand_volatile_load()
659 tree type = build_qualified_type (TREE_TYPE (ptrtype), TYPE_QUAL_VOLATILE); in expand_volatile_load()
682 tree ptrtype = TREE_TYPE (ptr); in expand_volatile_store() local
683 gcc_assert (POINTER_TYPE_P (ptrtype)); in expand_volatile_store()
686 tree type = build_qualified_type (TREE_TYPE (ptrtype), TYPE_QUAL_VOLATILE); in expand_volatile_store()
H A Dexpr.cc124 tree ptrtype = lang_hooks.types.type_for_mode (ptr_mode, 0); in binary_op() local
131 if (TYPE_PRECISION (ptrtype) > TYPE_PRECISION (t0)) in binary_op()
132 ret = fold_build2 (MINUS_EXPR, ptrtype, in binary_op()
133 d_convert (ptrtype, arg0), in binary_op()
134 d_convert (ptrtype, arg1)); in binary_op()
136 ret = fold_build2 (POINTER_DIFF_EXPR, ptrtype, arg0, arg1); in binary_op()
1396 tree ptrtype = TREE_TYPE (ptr); in visit() local
1398 ptr = build_nop (ptrtype, ptr); in visit()
H A Dd-convert.cc474 tree ptrtype = build_ctype (tbtype->nextOf ()->pointerTo ()); in convert_expr() local
491 build_nop (ptrtype, build_address (exp))); in convert_expr()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dintrinsics.cc717 tree ptrtype = TREE_TYPE (ptr); in expand_volatile_load() local
718 gcc_assert (POINTER_TYPE_P (ptrtype)); in expand_volatile_load()
721 tree type = build_qualified_type (TREE_TYPE (ptrtype), TYPE_QUAL_VOLATILE); in expand_volatile_load()
745 tree ptrtype = TREE_TYPE (ptr); in expand_volatile_store() local
746 gcc_assert (POINTER_TYPE_P (ptrtype)); in expand_volatile_store()
749 tree type = build_qualified_type (TREE_TYPE (ptrtype), TYPE_QUAL_VOLATILE); in expand_volatile_store()
H A Dd-codegen.cc643 tree ptrtype; in build_address() local
651 ptrtype = build_pointer_type (TREE_TYPE (type)); in build_address()
657 ptrtype = build_pointer_type (TREE_TYPE (type)); in build_address()
660 ptrtype = build_pointer_type (type); in build_address()
691 exp = build_fold_addr_expr_with_type_loc (input_location, exp, ptrtype); in build_address()
1083 tree ptrtype = build_ctype (sd->type->pointerTo ()); in build_array_struct_comparison() local
1094 t = build_local_temp (ptrtype); in build_array_struct_comparison()
1095 add_stmt (build_assign (INIT_EXPR, t, d_convert (ptrtype, t1))); in build_array_struct_comparison()
1098 t = build_local_temp (ptrtype); in build_array_struct_comparison()
1099 add_stmt (build_assign (INIT_EXPR, t, d_convert (ptrtype, t2))); in build_array_struct_comparison()
[all …]
H A Dexpr.cc118 tree ptrtype = lang_hooks.types.type_for_mode (ptr_mode, 0); in binary_op() local
125 if (TYPE_PRECISION (ptrtype) > TYPE_PRECISION (t0)) in binary_op()
126 ret = fold_build2 (MINUS_EXPR, ptrtype, in binary_op()
127 d_convert (ptrtype, arg0), in binary_op()
128 d_convert (ptrtype, arg1)); in binary_op()
130 ret = fold_build2 (POINTER_DIFF_EXPR, ptrtype, arg0, arg1); in binary_op()
1399 tree ptrtype = TREE_TYPE (ptr); in visit() local
1401 ptr = build_nop (ptrtype, ptr); in visit()
H A Dd-convert.cc474 tree ptrtype = build_ctype (tbtype->nextOf ()->pointerTo ()); in convert_expr() local
491 build_nop (ptrtype, build_address (exp))); in convert_expr()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgimple-streamer-out.c150 tree ptrtype = build_pointer_type (TREE_TYPE (*basep)); in output_gimple_stmt() local
152 build1 (ADDR_EXPR, ptrtype, *basep), in output_gimple_stmt()
153 build_int_cst (ptrtype, 0)); in output_gimple_stmt()
H A Dlto-streamer-out.c2541 tree ptrtype = build_pointer_type (TREE_TYPE (decl)); in wrap_refs() local
2543 build1 (ADDR_EXPR, ptrtype, decl), in wrap_refs()
2544 build_int_cst (ptrtype, 0)); in wrap_refs()
H A Dfold-const.c8599 build_fold_addr_expr_with_type_loc (location_t loc, tree t, tree ptrtype) in build_fold_addr_expr_with_type_loc() argument
8609 if (TREE_TYPE (t) != ptrtype) in build_fold_addr_expr_with_type_loc()
8610 t = build1_loc (loc, NOP_EXPR, ptrtype, t); in build_fold_addr_expr_with_type_loc()
8617 if (TREE_TYPE (t) != ptrtype) in build_fold_addr_expr_with_type_loc()
8618 t = fold_convert_loc (loc, ptrtype, t); in build_fold_addr_expr_with_type_loc()
8622 return fold_binary (POINTER_PLUS_EXPR, ptrtype, in build_fold_addr_expr_with_type_loc()
8629 if (TREE_TYPE (t) != ptrtype) in build_fold_addr_expr_with_type_loc()
8630 t = fold_convert_loc (loc, ptrtype, t); in build_fold_addr_expr_with_type_loc()
8633 t = build1_loc (loc, ADDR_EXPR, ptrtype, t); in build_fold_addr_expr_with_type_loc()
8643 tree ptrtype = build_pointer_type (TREE_TYPE (t)); in build_fold_addr_expr_loc() local
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgimple-streamer-out.cc150 tree ptrtype = build_pointer_type (TREE_TYPE (*basep)); in output_gimple_stmt() local
152 build1 (ADDR_EXPR, ptrtype, *basep), in output_gimple_stmt()
153 build_int_cst (ptrtype, 0)); in output_gimple_stmt()
H A Dgimple-ssa-warn-access.cc3351 tree ptrtype = fntype_argno_type (fntype, ptridx); in maybe_check_access_sizes() local
3352 if (!ptrtype) in maybe_check_access_sizes()
3358 tree argtype = TREE_TYPE (ptrtype); in maybe_check_access_sizes()
3418 = access.second.array_as_string (ptrtype); in maybe_check_access_sizes()
3476 = access.second.array_as_string (ptrtype); in maybe_check_access_sizes()
H A Dlto-streamer-out.cc2622 tree ptrtype = build_pointer_type (TREE_TYPE (decl)); in wrap_refs() local
2624 build1 (ADDR_EXPR, ptrtype, decl), in wrap_refs()
2625 build_int_cst (ptrtype, 0)); in wrap_refs()
H A Dfold-const.cc9212 build_fold_addr_expr_with_type_loc (location_t loc, tree t, tree ptrtype) in build_fold_addr_expr_with_type_loc() argument
9222 if (TREE_TYPE (t) != ptrtype) in build_fold_addr_expr_with_type_loc()
9223 t = build1_loc (loc, NOP_EXPR, ptrtype, t); in build_fold_addr_expr_with_type_loc()
9230 if (TREE_TYPE (t) != ptrtype) in build_fold_addr_expr_with_type_loc()
9231 t = fold_convert_loc (loc, ptrtype, t); in build_fold_addr_expr_with_type_loc()
9235 return fold_binary (POINTER_PLUS_EXPR, ptrtype, in build_fold_addr_expr_with_type_loc()
9242 if (TREE_TYPE (t) != ptrtype) in build_fold_addr_expr_with_type_loc()
9243 t = fold_convert_loc (loc, ptrtype, t); in build_fold_addr_expr_with_type_loc()
9246 t = build1_loc (loc, ADDR_EXPR, ptrtype, t); in build_fold_addr_expr_with_type_loc()
9256 tree ptrtype = build_pointer_type (TREE_TYPE (t)); in build_fold_addr_expr_loc() local
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dlambda.c505 tree ptrtype = build_pointer_type (TREE_TYPE (array_type)); in vla_capture_type() local
506 tree field = build_decl (input_location, FIELD_DECL, ptr_id, ptrtype); in vla_capture_type()
H A Ddecl2.c1827 tree ptrtype = ptr_type_node; in coerce_delete_type() local
1833 ptrtype = build_pointer_type (DECL_CONTEXT (decl)); in coerce_delete_type()
1848 || !same_type_p (TREE_VALUE (args), ptrtype)) in coerce_delete_type()
1854 ptrtype); in coerce_delete_type()
1859 args = tree_cons (NULL_TREE, ptrtype, args); in coerce_delete_type()
H A Dtypeck.c2170 tree ptrtype; in decay_conversion() local
2204 ptrtype = build_pointer_type (TREE_TYPE (type)); in decay_conversion()
2210 adr = build_nop (ptrtype, build_address (exp)); in decay_conversion()
2216 return cp_convert (ptrtype, adr, complain); in decay_conversion()
5883 pointer_diff (location_t loc, tree op0, tree op1, tree ptrtype, in pointer_diff() argument
5888 tree target_type = TREE_TYPE (ptrtype); in pointer_diff()
5979 op1 = (TYPE_PTROB_P (ptrtype) in pointer_diff()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dlambda.cc504 tree ptrtype = build_pointer_type (TREE_TYPE (array_type)); in vla_capture_type() local
505 tree field = build_decl (input_location, FIELD_DECL, ptr_id, ptrtype); in vla_capture_type()
H A Ddecl2.cc2009 tree ptrtype = ptr_type_node; in coerce_delete_type() local
2015 ptrtype = build_pointer_type (DECL_CONTEXT (decl)); in coerce_delete_type()
2030 || !same_type_p (TREE_VALUE (args), ptrtype)) in coerce_delete_type()
2036 ptrtype); in coerce_delete_type()
2041 args = tree_cons (NULL_TREE, ptrtype, args); in coerce_delete_type()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000-call.cc2562 tree ptrtype = build_pointer_type_for_mode (type, ptr_mode, true); in rs6000_gimplify_va_arg() local
2568 t = rs6000_gimplify_va_arg (valist, ptrtype, pre_p, post_p); in rs6000_gimplify_va_arg()
2806 addr = fold_convert (ptrtype, addr); in rs6000_gimplify_va_arg()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/visium/
H A Dvisium.cc1645 tree ptrtype = build_pointer_type (type); in visium_gimplify_va_arg() local
1649 t = visium_gimplify_va_arg (valist, ptrtype, pre_p, post_p); in visium_gimplify_va_arg()
1763 addr = fold_convert (ptrtype, addr); in visium_gimplify_va_arg()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/visium/
H A Dvisium.c1643 tree ptrtype = build_pointer_type (type); in visium_gimplify_va_arg() local
1647 t = visium_gimplify_va_arg (valist, ptrtype, pre_p, post_p); in visium_gimplify_va_arg()
1761 addr = fold_convert (ptrtype, addr); in visium_gimplify_va_arg()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-attribs.c4143 tree ptrtype = TREE_TYPE (argtypes[0]); in handle_access_attribute() local
4144 if (FUNC_OR_METHOD_TYPE_P (ptrtype)) in handle_access_attribute()
4148 attrstr, ptrtype); in handle_access_attribute()

12