Searched refs:fntype (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-9.3-release/contrib/gcc/
H A Dc-aux-info.c113 gen_formal_list_for_type (tree fntype, formals_style style)
121 formal_type = TYPE_ARG_TYPES (fntype);
170 if (TYPE_ARG_TYPES (fntype))
171 /* assert (TREE_VALUE (TYPE_ARG_TYPES (fntype)) == void_type_node); */
195 deserves_ellipsis (tree fntype)
199 formal_type = TYPE_ARG_TYPES (fntype);
207 return (!formal_type && TYPE_ARG_TYPES (fntype));
112 gen_formal_list_for_type(tree fntype, formals_style style) argument
194 deserves_ellipsis(tree fntype) argument
H A Dtarget.h673 bool (*promote_function_args) (tree fntype);
674 bool (*promote_function_return) (tree fntype);
675 bool (*promote_prototypes) (tree fntype);
H A Dfunction.c1765 aggregate_value_p (tree exp, tree fntype)
1777 if (fntype)
1778 switch (TREE_CODE (fntype))
1781 fndecl = get_callee_fndecl (fntype);
1782 fntype = fndecl ? TREE_TYPE (fndecl) : 0;
1785 fndecl = fntype;
1786 fntype = TREE_TYPE (fndecl);
1792 fntype = 0;
1818 if (targetm.calls.return_in_memory (type, fntype))
1828 reg = hard_function_value (type, 0, fntype,
1753 aggregate_value_p(tree exp, tree fntype) argument
1935 tree fntype; local
2025 tree fntype = TREE_TYPE (fndecl); local
3793 tree fntype = fndecl ? TREE_TYPE (fndecl) : NULL_TREE; local
[all...]
H A Dtarghooks.c89 tree fntype ATTRIBUTE_UNUSED)
H A Dexplow.c1481 hard_function_value (tree valtype, tree func, tree fntype,
1486 val = targetm.calls.function_value (valtype, func ? func : fntype, outgoing);
1470 hard_function_value(tree valtype, tree func, tree fntype, int outgoing ATTRIBUTE_UNUSED) argument
H A Dc-typeck.c2266 tree fntype, fundecl = 0;
2295 fntype = TREE_TYPE (function);
2297 if (TREE_CODE (fntype) == ERROR_MARK)
2300 if (!(TREE_CODE (fntype) == POINTER_TYPE
2301 && TREE_CODE (TREE_TYPE (fntype)) == FUNCTION_TYPE))
2310 /* fntype now gets the type of function pointed to. */
2311 fntype = TREE_TYPE (fntype);
2322 && !comptypes (fntype, TREE_TYPE (tem)))
2324 tree return_type = TREE_TYPE (fntype);
2255 tree fntype, fundecl = 0; local
[all...]
H A Dcalls.c1855 tree fntype;
1960 fntype = TREE_TYPE (fndecl);
1965 fntype = TREE_TYPE (TREE_TYPE (p));
1966 flags |= flags_from_decl_or_type (fntype);
1969 struct_value = targetm.calls.struct_value_rtx (fntype, 0);
2584 valreg = hard_function_value (TREE_TYPE (exp), fndecl, fntype,
1854 tree fntype; local
H A Dc-common.c2707 tree fntype, tree libtype,
3603 tree fntype, tree libtype,
3610 if (fntype == error_mark_node)
3618 decl = lang_hooks.builtin_function (name, fntype, fncode, fnclass,
3586 def_builtin_1(enum built_in_function fncode, const char *name, enum built_in_class fnclass, tree fntype, tree libtype, bool both_p, bool fallback_p, bool nonansi_p, tree fnattrs, bool implicit_p) argument
H A Dtree-vrp.c256 tree t, attrs, fntype; local
265 fntype = TREE_TYPE (current_function_decl);
266 attrs = lookup_attribute ("nonnull", TYPE_ATTRIBUTES (fntype));
/freebsd-9.3-release/contrib/binutils/binutils/
H A Drdcoff.c664 int fntype;
682 fntype = 0;
765 fntype = syment.n_type;
793 DECREF (fntype), paux, FALSE, dhandle);
829 fntype = 0;
663 int fntype; local
H A Dieee.c3865 struct ieee_buflist fntype;
4611 || ! ieee_init_buffer (&info, &info.fntype)
7010 in info->fntype and info->fnargs. */
7011 if (! ieee_buffer_emptyp (&info->fntype))
7022 &info->fntype)
7273 /* Now we can finish up fntype, and add it to the typdef section.
7274 At this point, fntype is the 'x' type up to the argument count,
7279 if (! ieee_change_buffer (info, &info->fntype)
7296 if (! ieee_append_buffer (info, &info->types, &info->fntype)
7301 if (! ieee_init_buffer (info, &info->fntype)
3863 struct ieee_buflist fntype; member in struct:ieee_handle
[all...]
/freebsd-9.3-release/contrib/gcc/cp/
H A Ddecl2.c113 build_memfn_type (tree fntype, tree ctype, cp_cv_quals quals)
118 if (fntype == error_mark_node || ctype == error_mark_node)
123 fntype = build_method_type_directly (ctype, TREE_TYPE (fntype),
124 (TREE_CODE (fntype) == METHOD_TYPE
125 ? TREE_CHAIN (TYPE_ARG_TYPES (fntype))
126 : TYPE_ARG_TYPES (fntype)));
127 raises = TYPE_RAISES_EXCEPTIONS (fntype);
129 fntype = build_exception_variant (fntype, raise
112 build_memfn_type(tree fntype, tree ctype, cp_cv_quals quals) argument
177 tree basetype, arg_types, parms, parm, fntype; local
[all...]
H A Derror.c993 tree fntype; local
1017 fntype = TREE_TYPE (t);
1023 else if (TREE_CODE (fntype) == METHOD_TYPE)
1038 dump_type_prefix (TREE_TYPE (fntype), flags);
1055 if (TREE_CODE (fntype) == METHOD_TYPE)
1059 (cxx_pp, TREE_TYPE (TREE_VALUE (TYPE_ARG_TYPES (fntype))));
1065 dump_exception_spec (TYPE_RAISES_EXCEPTIONS (fntype), flags);
1069 dump_type_suffix (TREE_TYPE (fntype), flags);
H A Ddecl.c5635 tree fntype;
5652 fntype = build_function_type (void_type_node, parmtypes);
5656 fndecl = build_lang_decl (FUNCTION_DECL, get_identifier (name), fntype);
10546 tree fntype = TREE_TYPE (decl);
10547 tree return_type = complete_type (TREE_TYPE (fntype));
10556 tree args = TYPE_ARG_TYPES (fntype);
10561 if (TREE_CODE (fntype) == METHOD_TYPE)
10562 fntype = build_method_type_directly (TREE_TYPE (TREE_VALUE (args)),
10566 fntype = build_function_type (void_type_node, args);
10568 = build_exception_variant (fntype,
5623 tree fntype; local
10526 tree fntype = TREE_TYPE (decl); local
10583 tree fntype; local
11260 tree fntype, ctype = NULL_TREE; local
[all...]
H A Dtypeck.c2568 tree fntype = TYPE_PTRMEMFUNC_FN_TYPE (TREE_TYPE (function));
2580 e1 = convert (fntype, e1);
2622 basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (fntype));
2674 tree fntype, fndecl;
2720 fntype = TREE_TYPE (function);
2722 if (TYPE_PTRMEMFUNC_P (fntype))
2730 is_method = (TREE_CODE (fntype) == POINTER_TYPE
2731 && TREE_CODE (TREE_TYPE (fntype)) == METHOD_TYPE);
2733 if (!((TREE_CODE (fntype) == POINTER_TYPE
2734 && TREE_CODE (TREE_TYPE (fntype))
2562 tree fntype = TYPE_PTRMEMFUNC_FN_TYPE (TREE_TYPE (function)); local
2668 tree fntype, fndecl; local
[all...]
H A Dpt.c7139 tree fntype;
7173 fntype = build_function_type (return_type, arg_types);
7192 fntype = build_method_type_directly (r, return_type,
7195 fntype = cp_build_qualified_type_real (fntype, TYPE_QUALS (t), complain);
7196 fntype = cp_build_type_attribute_variant (fntype, TYPE_ATTRIBUTES (t));
7198 return fntype;
7206 tsubst_exception_specification (tree fntype,
7214 specs = TYPE_RAISES_EXCEPTIONS (fntype);
7138 tree fntype; local
7205 tsubst_exception_specification(tree fntype, tree args, tsubst_flags_t complain, tree in_decl) argument
7646 tree fntype; local
9706 tree fntype; local
10925 tree fntype; local
[all...]
H A Dtypeck2.c1477 require_complete_eh_spec_types (tree fntype, tree decl)
1483 for (raises = TYPE_RAISES_EXCEPTIONS (fntype); raises;
1471 require_complete_eh_spec_types(tree fntype, tree decl) argument
H A Dclass.c5815 tree fntype;
5833 fntype = TREE_TYPE (fn);
5835 fntype = build_ptrmemfunc_type (build_pointer_type (fntype));
5837 fntype = build_pointer_type (fntype);
5839 if (can_convert_arg (target_type, fntype, fn, LOOKUP_NORMAL))
5808 tree fntype; local
H A Dcall.c280 tree fntype; local
285 fntype = TREE_TYPE (TREE_TYPE (function));
286 gcc_assert (TREE_CODE (fntype) == FUNCTION_TYPE
287 || TREE_CODE (fntype) == METHOD_TYPE);
288 result_type = TREE_TYPE (fntype);
319 require_complete_eh_spec_types (fntype, decl);
/freebsd-9.3-release/contrib/gcc/config/i386/
H A Di386.c3051 tree fntype, /* tree ptr for function decl */
3061 if (fntype)
3062 fprintf (stderr, "fntype code = %s, ret code = %s",
3063 tree_code_name[(int) TREE_CODE (fntype)],
3064 tree_code_name[(int) TREE_CODE (TREE_TYPE (fntype))]);
3066 fprintf (stderr, "no fntype");
3086 if (fntype && !TARGET_64BIT)
3088 if (lookup_attribute ("fastcall", TYPE_ATTRIBUTES (fntype)))
3094 cum->nregs = ix86_function_regparm (fntype, fndecl);
3099 cum->float_in_sse = ix86_function_sseregparm (fntype, fndec
3042 init_cumulative_args(CUMULATIVE_ARGS *cum, tree fntype, rtx libname, tree fndecl) argument
4207 tree fn = NULL_TREE, fntype; local
4342 ix86_value_regno(enum machine_mode mode, tree func, tree fntype) argument
4438 tree fntype; local
[all...]
/freebsd-9.3-release/contrib/gcc/config/rs6000/
H A Drs6000.c4356 rs6000_return_in_memory (tree type, tree fntype ATTRIBUTE_UNUSED)
4417 init_cumulative_args (CUMULATIVE_ARGS *cum, tree fntype,
4427 cum->prototype = (fntype && TYPE_ARG_TYPES (fntype));
4431 cum->stdarg = fntype
4432 && (TYPE_ARG_TYPES (fntype) != 0
4433 && (TREE_VALUE (tree_last (TYPE_ARG_TYPES (fntype)))
4441 if ((!fntype && rs6000_default_long_calls)
4442 || (fntype
4443 && lookup_attribute ("longcall", TYPE_ATTRIBUTES (fntype))
4406 init_cumulative_args(CUMULATIVE_ARGS *cum, tree fntype, rtx libname ATTRIBUTE_UNUSED, int incoming, int libcall, int n_named_args) argument
[all...]
/freebsd-9.3-release/contrib/gcc/config/ia64/
H A Dia64.c4337 ia64_return_in_memory (tree valtype, tree fntype ATTRIBUTE_UNUSED)
9404 ia64_struct_retval_addr_is_first_parm_p (tree fntype)
9406 tree ret_type = TREE_TYPE (fntype);
9573 ia64_struct_value_rtx (tree fntype,
9576 if (fntype && ia64_struct_retval_addr_is_first_parm_p (fntype))
9381 ia64_struct_retval_addr_is_first_parm_p(tree fntype) argument
9550 ia64_struct_value_rtx(tree fntype, int incoming ATTRIBUTE_UNUSED) argument
/freebsd-9.3-release/contrib/gcc/config/sparc/
H A Dsparc.c4415 init_cumulative_args (struct sparc_args *cum, tree fntype,
4420 cum->prototype_p = fntype && TYPE_ARG_TYPES (fntype);
4421 cum->libcall_p = fntype == 0;
4428 sparc_promote_prototypes (tree fntype ATTRIBUTE_UNUSED)
5396 sparc_return_in_memory (tree type, tree fntype ATTRIBUTE_UNUSED)
4403 init_cumulative_args(struct sparc_args *cum, tree fntype, rtx libname ATTRIBUTE_UNUSED, tree fndecl ATTRIBUTE_UNUSED) argument
/freebsd-9.3-release/contrib/gcc/config/mips/
H A Dmips.c3674 init_cumulative_args (CUMULATIVE_ARGS *cum, tree fntype,
3681 cum->prototype = (fntype && TYPE_ARG_TYPES (fntype));
3688 for (param = fntype ? TYPE_ARG_TYPES (fntype) : 0;
3654 init_cumulative_args(CUMULATIVE_ARGS *cum, tree fntype, rtx libname ATTRIBUTE_UNUSED) argument
/freebsd-9.3-release/contrib/gcc/config/arm/
H A Darm.c2676 arm_init_cumulative_args (CUMULATIVE_ARGS *pcum, tree fntype,
2692 if (fntype)
2694 if (lookup_attribute ("short_call", TYPE_ATTRIBUTES (fntype)))
2696 else if (lookup_attribute ("long_call", TYPE_ATTRIBUTES (fntype)))
2705 if (TARGET_REALLY_IWMMXT && fntype)
2709 for (fn_arg = TYPE_ARG_TYPES (fntype);
2671 arm_init_cumulative_args(CUMULATIVE_ARGS *pcum, tree fntype, rtx libname ATTRIBUTE_UNUSED, tree fndecl ATTRIBUTE_UNUSED) argument

Completed in 797 milliseconds

12