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

12

/freebsd-10.0-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.c2243 tree fntype, fundecl = 0;
2272 fntype = TREE_TYPE (function);
2274 if (TREE_CODE (fntype) == ERROR_MARK)
2277 if (!(TREE_CODE (fntype) == POINTER_TYPE
2278 && TREE_CODE (TREE_TYPE (fntype)) == FUNCTION_TYPE))
2287 /* fntype now gets the type of function pointed to. */
2288 fntype = TREE_TYPE (fntype);
2299 && !comptypes (fntype, TREE_TYPE (tem)))
2301 tree return_type = TREE_TYPE (fntype);
2232 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.c2626 tree fntype, tree libtype,
3512 tree fntype, tree libtype,
3519 if (fntype == error_mark_node)
3527 decl = lang_hooks.builtin_function (name, fntype, fncode, fnclass,
3495 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-10.0-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-10.0-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.c5598 tree fntype;
5615 fntype = build_function_type (void_type_node, parmtypes);
5619 fndecl = build_lang_decl (FUNCTION_DECL, get_identifier (name), fntype);
10473 tree fntype = TREE_TYPE (decl);
10474 tree return_type = complete_type (TREE_TYPE (fntype));
10483 tree args = TYPE_ARG_TYPES (fntype);
10488 if (TREE_CODE (fntype) == METHOD_TYPE)
10489 fntype = build_method_type_directly (TREE_TYPE (TREE_VALUE (args)),
10493 fntype = build_function_type (void_type_node, args);
10495 = build_exception_variant (fntype,
5586 tree fntype; local
10453 tree fntype = TREE_TYPE (decl); local
10504 tree fntype; local
11175 tree fntype, ctype = NULL_TREE; local
[all...]
H A Dtypeck.c2549 tree fntype = TYPE_PTRMEMFUNC_FN_TYPE (TREE_TYPE (function));
2561 e1 = convert (fntype, e1);
2603 basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (fntype));
2655 tree fntype, fndecl;
2701 fntype = TREE_TYPE (function);
2703 if (TYPE_PTRMEMFUNC_P (fntype))
2711 is_method = (TREE_CODE (fntype) == POINTER_TYPE
2712 && TREE_CODE (TREE_TYPE (fntype)) == METHOD_TYPE);
2714 if (!((TREE_CODE (fntype) == POINTER_TYPE
2715 && TREE_CODE (TREE_TYPE (fntype))
2543 tree fntype = TYPE_PTRMEMFUNC_FN_TYPE (TREE_TYPE (function)); local
2649 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
9684 tree fntype; local
10903 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-10.0-release/contrib/gcc/config/i386/
H A Di386.c3063 tree fntype, /* tree ptr for function decl */
3073 if (fntype)
3074 fprintf (stderr, "fntype code = %s, ret code = %s",
3075 tree_code_name[(int) TREE_CODE (fntype)],
3076 tree_code_name[(int) TREE_CODE (TREE_TYPE (fntype))]);
3078 fprintf (stderr, "no fntype");
3098 if (fntype && !TARGET_64BIT)
3100 if (lookup_attribute ("fastcall", TYPE_ATTRIBUTES (fntype)))
3106 cum->nregs = ix86_function_regparm (fntype, fndecl);
3111 cum->float_in_sse = ix86_function_sseregparm (fntype, fndec
3054 init_cumulative_args(CUMULATIVE_ARGS *cum, tree fntype, rtx libname, tree fndecl) argument
4219 tree fn = NULL_TREE, fntype; local
4354 ix86_value_regno(enum machine_mode mode, tree func, tree fntype) argument
4450 tree fntype; local
[all...]
/freebsd-10.0-release/contrib/gcc/config/rs6000/
H A Drs6000.c4358 rs6000_return_in_memory (tree type, tree fntype ATTRIBUTE_UNUSED)
4419 init_cumulative_args (CUMULATIVE_ARGS *cum, tree fntype,
4429 cum->prototype = (fntype && TYPE_ARG_TYPES (fntype));
4433 cum->stdarg = fntype
4434 && (TYPE_ARG_TYPES (fntype) != 0
4435 && (TREE_VALUE (tree_last (TYPE_ARG_TYPES (fntype)))
4443 if ((!fntype && rs6000_default_long_calls)
4444 || (fntype
4445 && lookup_attribute ("longcall", TYPE_ATTRIBUTES (fntype))
4408 init_cumulative_args(CUMULATIVE_ARGS *cum, tree fntype, rtx libname ATTRIBUTE_UNUSED, int incoming, int libcall, int n_named_args) argument
[all...]
/freebsd-10.0-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-10.0-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-10.0-release/contrib/gcc/config/mips/
H A Dmips.c3697 init_cumulative_args (CUMULATIVE_ARGS *cum, tree fntype,
3704 cum->prototype = (fntype && TYPE_ARG_TYPES (fntype));
3711 for (param = fntype ? TYPE_ARG_TYPES (fntype) : 0;
3677 init_cumulative_args(CUMULATIVE_ARGS *cum, tree fntype, rtx libname ATTRIBUTE_UNUSED) argument
/freebsd-10.0-release/contrib/gcc/config/arm/
H A Darm.c2668 arm_init_cumulative_args (CUMULATIVE_ARGS *pcum, tree fntype,
2684 if (fntype)
2686 if (lookup_attribute ("short_call", TYPE_ATTRIBUTES (fntype)))
2688 else if (lookup_attribute ("long_call", TYPE_ATTRIBUTES (fntype)))
2697 if (TARGET_REALLY_IWMMXT && fntype)
2701 for (fn_arg = TYPE_ARG_TYPES (fntype);
2663 arm_init_cumulative_args(CUMULATIVE_ARGS *pcum, tree fntype, rtx libname ATTRIBUTE_UNUSED, tree fndecl ATTRIBUTE_UNUSED) argument

Completed in 1171 milliseconds

12