Home
last modified time | relevance | path

Searched refs:ptr_type_node (Results 1 – 25 of 103) sorted by relevance

12345

/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Ddecl.c189 && type == ptr_type_node))
403 r = build_decl (VAR_DECL, get_identifier (buf), ptr_type_node);
489 ptr_type_node = build_pointer_type (void_type_node); in java_init_decl_processing()
495 TREE_TYPE (null_pointer_node) = ptr_type_node; in java_init_decl_processing()
625 PUSH_FIELD (constants_type_node, field, "tags", ptr_type_node); in java_init_decl_processing()
626 PUSH_FIELD (constants_type_node, field, "data", ptr_type_node); in java_init_decl_processing()
702 PUSH_FIELD (class_type_node, field, "loader", ptr_type_node); in java_init_decl_processing()
705 PUSH_FIELD (class_type_node, field, "thread", ptr_type_node); in java_init_decl_processing()
707 PUSH_FIELD (class_type_node, field, "ancestors", ptr_type_node); in java_init_decl_processing()
708 PUSH_FIELD (class_type_node, field, "idt", ptr_type_node); in java_init_decl_processing()
[all …]
H A Dverify.c143 if (type1 == ptr_type_node || type2 == object_ptr_type_node)
145 if (type2 == ptr_type_node || type1 == object_ptr_type_node)
632 case OPCODE_aload: type = ptr_type_node; goto general_load;
653 case OPCODE_aload_0: type = ptr_type_node; index = 0; goto load;
654 case OPCODE_aload_1: type = ptr_type_node; index = 1; goto load;
655 case OPCODE_aload_2: type = ptr_type_node; index = 2; goto load;
656 case OPCODE_aload_3: type = ptr_type_node; index = 3; goto load;
670 || (type == ptr_type_node
704 case OPCODE_astore_0: type = ptr_type_node; index = 0; goto store;
705 case OPCODE_astore_1: type = ptr_type_node; index = 1; goto store;
[all …]
H A Dconstants.c397 build_array_type (ptr_type_node, in build_constant_data_ref()
402 = build1 (ADDR_EXPR, ptr_type_node, decl); in build_constant_data_ref()
414 index *= int_size_in_bytes (ptr_type_node);
415 t = fold (build (PLUS_EXPR, ptr_type_node,
417 return build1 (INDIRECT_REF, ptr_type_node, t);
453 TREE_TYPE (data_decl) = build_array_type (ptr_type_node, index_type), in build_constants_constructor()
H A Dexpr.c145 operand_type[25] = operand_type[58] = ptr_type_node; in init_expr_processing()
327 if (type == ptr_type_node || type == object_ptr_type_node)
329 else if (t == ptr_type_node) /* Special case for null reference. */
377 if (source_type == ptr_type_node || target_type == object_ptr_type_node)
687 if (type == ptr_type_node)
884 if (indexed_type == ptr_type_node )
1007 tree array = pop_value (ptr_type_node);
1041 tree array_node = pop_value (ptr_type_node);
1046 if (TREE_TYPE (array_node) == ptr_type_node)
1071 tree array = pop_value (ptr_type_node); in expand_java_array_length()
[all …]
H A Dclass.c1114 ref = build (COMPONENT_REF, ptr_type_node,
1293 type = build_prim_array_type (ptr_type_node, length);
1304 table = build1 (ADDR_EXPR, ptr_type_node, array);
1559 TREE_TYPE (super) = ptr_type_node;
1585 TREE_TYPE (index) = ptr_type_node;
1594 interfaces = build1 (ADDR_EXPR, ptr_type_node, idecl);
1790 PUSH_FIELD (dtype, dummy, "top_offset", ptr_type_node);
1791 PUSH_FIELD (dtype, dummy, "type_info", ptr_type_node);
1796 tree tmp_field = build_decl (FIELD_DECL, NULL_TREE, ptr_type_node);
1803 PUSH_FIELD (dtype, dummy, "gc_descr", ptr_type_node);
[all …]
H A Dexcept.c336 (PLUS_EXPR, ptr_type_node,
/openbsd-src/gnu/gcc/gcc/cp/
H A Dexcept.c75 tmp = tree_cons (NULL_TREE, ptr_type_node, void_list_node); in init_exception_processing()
152 return convert (ptr_type_node, build_address (exp)); in build_eh_type_type()
158 return build0 (EXC_PTR_EXPR, ptr_type_node); in build_exc_ptr()
173 tree tmp = tree_cons (NULL_TREE, ptr_type_node, void_list_node); in do_get_exception_ptr()
174 fn = push_library_fn (fn, build_function_type (ptr_type_node, tmp)); in do_get_exception_ptr()
193 tree tmp = tree_cons (NULL_TREE, ptr_type_node, void_list_node); in do_begin_catch()
194 fn = push_library_fn (fn, build_function_type (ptr_type_node, tmp)); in do_begin_catch()
540 fn = push_library_fn (fn, build_function_type (ptr_type_node, tmp)); in do_allocate_exception()
559 fn = push_void_library_fn (fn, tree_cons (NULL_TREE, ptr_type_node, in do_free_exception()
631 tree tmp = tree_cons (NULL_TREE, ptr_type_node, void_list_node); in build_throw()
[all …]
H A Ddecl2.c1150 if (!same_type_p (TREE_TYPE (type), ptr_type_node)) in coerce_new_type()
1153 error ("%<operator new%> must return type %qT", ptr_type_node); in coerce_new_type()
1172 (build_function_type (ptr_type_node, args), in coerce_new_type()
1195 || !same_type_p (TREE_VALUE (args), ptr_type_node)) in coerce_delete_type()
1201 ptr_type_node); in coerce_delete_type()
1206 args = tree_cons (NULL_TREE, ptr_type_node, args); in coerce_delete_type()
H A Drtti.c180 type = build_qualified_type (ptr_type_node, in build_headof()
195 fn = push_throw_library_fn (fn, build_function_type (ptr_type_node, in throw_bad_cast()
675 tmp = build_function_type (ptr_type_node, tmp); in build_dynamic_cast_1()
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dexcept.c75 tmp = tree_cons (NULL_TREE, ptr_type_node, void_list_node); in init_exception_processing()
138 exp = build1 (ADDR_EXPR, ptr_type_node, exp);
146 return build (EXC_PTR_EXPR, ptr_type_node); in build_exc_ptr()
163 tree tmp = tree_cons (NULL_TREE, ptr_type_node, void_list_node); in do_begin_catch()
164 fn = push_library_fn (fn, build_function_type (ptr_type_node, tmp)); in do_begin_catch()
428 exp = create_temporary_var (ptr_type_node);
508 fn = push_library_fn (fn, build_function_type (ptr_type_node, tmp));
529 fn = push_void_library_fn (fn, tree_cons (NULL_TREE, ptr_type_node,
656 tree tmp = tree_cons (NULL_TREE, ptr_type_node, void_list_node);
657 tmp = build_function_type (ptr_type_node, tmp);
[all …]
H A Drtti.c150 type = build_qualified_type (ptr_type_node,
167 fn = push_throw_library_fn (fn, build_function_type (ptr_type_node, in throw_bad_cast()
650 tmp = build_function_type (ptr_type_node, tmp);
1176 finish_builtin_type (pseudo_type, pseudo_name, fields, ix, ptr_type_node); in create_pseudo_type_info()
1292 fields, 1, ptr_type_node); in create_tinfo_types()
1333 fields, 1, ptr_type_node); in create_tinfo_types()
/openbsd-src/gnu/gcc/gcc/
H A Dtree-mudflap.c369 build_function_type_4 (void_type_node, ptr_type_node, size_type_node, in mudflap_init()
372 build_function_type_3 (void_type_node, ptr_type_node, size_type_node, in mudflap_init()
823 addr = fold_convert (ptr_type_node, elt ? elt : base); in mf_xform_derefs_1()
824 addr = fold_build2 (PLUS_EXPR, ptr_type_node, in mf_xform_derefs_1()
825 addr, fold_convert (ptr_type_node, in mf_xform_derefs_1()
842 limit = fold_build2 (MINUS_EXPR, ptr_type_node, in mf_xform_derefs_1()
843 fold_build2 (PLUS_EXPR, ptr_type_node, base, size), in mf_xform_derefs_1()
848 addr = tree_mem_ref_addr (ptr_type_node, t); in mf_xform_derefs_1()
850 limit = fold_build2 (MINUS_EXPR, ptr_type_node, in mf_xform_derefs_1()
851 fold_build2 (PLUS_EXPR, ptr_type_node, base, size), in mf_xform_derefs_1()
[all …]
H A Dtarghooks.c375 t = build_decl (VAR_DECL, get_identifier ("__guard_local"), ptr_type_node); in default_stack_protect_guard()
406 args = build_function_type_list (void_type_node, ptr_type_node, in init_stack_smash_fn()
H A Dtree.c6562 ptr_type_node = build_pointer_type (void_type_node); in build_common_tree_nodes_2()
6565 fileptr_type_node = ptr_type_node; in build_common_tree_nodes_2()
6676 tmp = tree_cons (NULL_TREE, ptr_type_node, tmp); in build_common_builtin_nodes()
6677 ftype = build_function_type (ptr_type_node, tmp); in build_common_builtin_nodes()
6701 tmp = tree_cons (NULL_TREE, ptr_type_node, tmp); in build_common_builtin_nodes()
6702 ftype = build_function_type (ptr_type_node, tmp); in build_common_builtin_nodes()
6710 ftype = build_function_type (ptr_type_node, tmp); in build_common_builtin_nodes()
6715 tmp = tree_cons (NULL_TREE, ptr_type_node, void_list_node); in build_common_builtin_nodes()
6716 tmp = tree_cons (NULL_TREE, ptr_type_node, tmp); in build_common_builtin_nodes()
6717 tmp = tree_cons (NULL_TREE, ptr_type_node, tmp); in build_common_builtin_nodes()
[all …]
H A Dtree-ssa-loop-prefetch.c834 addr_base = build_fold_addr_expr_with_type (ref->mem, ptr_type_node); in issue_prefetch_ref()
841 addr = fold_build2 (PLUS_EXPR, ptr_type_node, in issue_prefetch_ref()
842 addr_base, build_int_cst (ptr_type_node, delta)); in issue_prefetch_ref()
H A Ddwarf2asm.c737 decl = build_decl (VAR_DECL, id, ptr_type_node); in dw2_force_const_mem()
751 decl = build_decl (VAR_DECL, id, ptr_type_node); in dw2_force_const_mem()
H A Dtree-eh.c840 save_eptr = create_tmp_var (ptr_type_node, "save_eptr"); in honor_protect_cleanup_actions()
844 x = build0 (EXC_PTR_EXPR, ptr_type_node); in honor_protect_cleanup_actions()
853 x = build0 (EXC_PTR_EXPR, ptr_type_node); in honor_protect_cleanup_actions()
/openbsd-src/gnu/gcc/gcc/config/xtensa/
H A Dxtensa.c2048 ptr_type_node); in xtensa_build_builtin_va_list()
2050 ptr_type_node); in xtensa_build_builtin_va_list()
2122 u = make_tree (ptr_type_node, expand_builtin_saveregs ()); in xtensa_va_start()
2123 t = build2 (MODIFY_EXPR, ptr_type_node, reg, u); in xtensa_va_start()
2128 u = make_tree (ptr_type_node, virtual_incoming_args_rtx); in xtensa_va_start()
2129 u = fold_build2 (PLUS_EXPR, ptr_type_node, u, in xtensa_va_start()
2131 t = build2 (MODIFY_EXPR, ptr_type_node, stk, u); in xtensa_va_start()
2231 array = create_tmp_var (ptr_type_node, NULL); in xtensa_gimplify_va_arg_expr()
2315 t = fold_convert (ptr_type_node, ndx); in xtensa_gimplify_va_arg_expr()
2316 addr = build2 (PLUS_EXPR, ptr_type_node, array, t); in xtensa_gimplify_va_arg_expr()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/config/xtensa/
H A Dxtensa.c2353 ptr_type_node); in xtensa_build_va_list()
2355 ptr_type_node); in xtensa_build_va_list()
2432 u = make_tree (ptr_type_node, expand_builtin_saveregs ());
2433 t = build (MODIFY_EXPR, ptr_type_node, reg, u);
2438 u = make_tree (ptr_type_node, virtual_incoming_args_rtx);
2439 u = fold (build (PLUS_EXPR, ptr_type_node, u,
2441 t = build (MODIFY_EXPR, ptr_type_node, stk, u);
2617 addr_tree = build (PLUS_EXPR, ptr_type_node,
2618 make_tree (ptr_type_node, array),
2620 addr_tree = build (MINUS_EXPR, ptr_type_node, addr_tree,
/openbsd-src/gnu/usr.bin/gcc/gcc/config/sh/
H A Dsh.c5381 return ptr_type_node; in sh_build_va_list()
5386 ptr_type_node); in sh_build_va_list()
5389 ptr_type_node); in sh_build_va_list()
5391 ptr_type_node); in sh_build_va_list()
5394 ptr_type_node); in sh_build_va_list()
5396 ptr_type_node); in sh_build_va_list()
5456 u = make_tree (ptr_type_node, expand_builtin_saveregs ());
5457 t = build (MODIFY_EXPR, ptr_type_node, next_fp, u);
5466 u = fold (build (PLUS_EXPR, ptr_type_node, u,
5468 t = build (MODIFY_EXPR, ptr_type_node, next_fp_limit, u);
[all …]
/openbsd-src/gnu/gcc/gcc/config/sh/
H A Dsh.c6747 return ptr_type_node; in sh_build_builtin_va_list()
6752 ptr_type_node); in sh_build_builtin_va_list()
6755 ptr_type_node); in sh_build_builtin_va_list()
6757 ptr_type_node); in sh_build_builtin_va_list()
6760 ptr_type_node); in sh_build_builtin_va_list()
6762 ptr_type_node); in sh_build_builtin_va_list()
6823 u = make_tree (ptr_type_node, expand_builtin_saveregs ()); in sh_va_start()
6824 t = build2 (MODIFY_EXPR, ptr_type_node, next_fp, u); in sh_va_start()
6833 u = fold_build2 (PLUS_EXPR, ptr_type_node, u, in sh_va_start()
6835 t = build2 (MODIFY_EXPR, ptr_type_node, next_fp_limit, u); in sh_va_start()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Ddwarf2asm.c759 decl = build_decl (VAR_DECL, id, ptr_type_node);
773 decl = build_decl (VAR_DECL, id, ptr_type_node);
H A Ddefaults.h389 #define BUILD_VA_LIST_TYPE(X) ((X) = ptr_type_node)
H A Dbuiltin-types.def75 DEF_PRIMITIVE_TYPE (BT_PTR, ptr_type_node)
/openbsd-src/gnu/gcc/gcc/config/s390/
H A Ds390.c7872 ptr_type_node); in s390_build_builtin_va_list()
7874 ptr_type_node); in s390_build_builtin_va_list()
8095 addr = create_tmp_var (ptr_type_node, "addr"); in s390_gimplify_va_arg()
8104 t = build2 (PLUS_EXPR, ptr_type_node, sav, in s390_gimplify_va_arg()
8105 fold_convert (ptr_type_node, size_int (sav_ofs))); in s390_gimplify_va_arg()
8108 t = build2 (PLUS_EXPR, ptr_type_node, t, fold_convert (ptr_type_node, u)); in s390_gimplify_va_arg()
8124 t = build2 (PLUS_EXPR, ptr_type_node, t, in s390_gimplify_va_arg()
8125 fold_convert (ptr_type_node, size_int (UNITS_PER_WORD - size))); in s390_gimplify_va_arg()
8132 t = build2 (PLUS_EXPR, ptr_type_node, t, in s390_gimplify_va_arg()
8133 fold_convert (ptr_type_node, size_int (size))); in s390_gimplify_va_arg()
[all …]

12345