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

12

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win_dll_thunk.h93 typedef decltype(name) *fntype; \
94 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
101 typedef decltype(name) *fntype; \
102 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
109 typedef decltype(name) *fntype; \
110 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
117 typedef decltype(name) *fntype; \
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_win_dll_thunk.cpp115 typedef void (*fntype)(); typedef
116 static fntype fn = 0;
123 fn = (fntype) dllThunkGetRealAddrOrDie("__asan_init");
/freebsd-11-stable/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.c1771 aggregate_value_p (tree exp, tree fntype)
1783 if (fntype)
1784 switch (TREE_CODE (fntype))
1787 fndecl = get_callee_fndecl (fntype);
1788 fntype = fndecl ? TREE_TYPE (fndecl) : 0;
1791 fndecl = fntype;
1792 fntype = TREE_TYPE (fndecl);
1798 fntype = 0;
1824 if (targetm.calls.return_in_memory (type, fntype))
1834 reg = hard_function_value (type, 0, fntype,
1759 aggregate_value_p(tree exp, tree fntype) argument
1941 tree fntype; local
2031 tree fntype = TREE_TYPE (fndecl); local
3799 tree fntype = fndecl ? TREE_TYPE (fndecl) : NULL_TREE; local
[all...]
H A Dc-typeck.c2358 tree fntype, fundecl = 0;
2387 fntype = TREE_TYPE (function);
2389 if (TREE_CODE (fntype) == ERROR_MARK)
2392 if (!((TREE_CODE (fntype) == POINTER_TYPE
2393 || TREE_CODE (fntype) == BLOCK_POINTER_TYPE)
2395 && TREE_CODE (TREE_TYPE (fntype)) == FUNCTION_TYPE))
2404 /* fntype now gets the type of function pointed to. */
2405 fntype = TREE_TYPE (fntype);
2416 && !comptypes (fntype, TREE_TYP
2347 tree fntype, fundecl = 0; local
3851 build_block_call(tree fntype, tree block_ptr_exp, tree params) argument
[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 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);
2585 valreg = hard_function_value (TREE_TYPE (exp), fndecl, fntype,
1854 tree fntype; local
H A Dc-common.c2712 tree fntype, tree libtype,
3608 tree fntype, tree libtype,
3615 if (fntype == error_mark_node)
3623 decl = lang_hooks.builtin_function (name, fntype, fncode, fnclass,
3591 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-11-stable/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-11-stable/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.c1002 tree fntype; local
1026 fntype = TREE_TYPE (t);
1032 else if (TREE_CODE (fntype) == METHOD_TYPE)
1047 dump_type_prefix (TREE_TYPE (fntype), flags);
1064 if (TREE_CODE (fntype) == METHOD_TYPE)
1068 (cxx_pp, TREE_TYPE (TREE_VALUE (TYPE_ARG_TYPES (fntype))));
1074 dump_exception_spec (TYPE_RAISES_EXCEPTIONS (fntype), flags);
1078 dump_type_suffix (TREE_TYPE (fntype), flags);
H A Dtypeck.c2600 tree fntype = TYPE_PTRMEMFUNC_FN_TYPE (TREE_TYPE (function));
2612 e1 = convert (fntype, e1);
2654 basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (fntype));
2713 build_block_call (tree fntype, tree block_ptr_exp, tree params)
2736 typelist = TYPE_ARG_TYPES (fntype);
2738 fntype = build_function_type (TREE_TYPE (fntype), typelist);
2739 function_ptr_exp = convert (build_pointer_type (fntype), function_ptr_exp);
2741 result = build3 (CALL_EXPR, TREE_TYPE (fntype),
2753 tree fntype, fndec
2594 tree fntype = TYPE_PTRMEMFUNC_FN_TYPE (TREE_TYPE (function)); local
2707 build_block_call(tree fntype, tree block_ptr_exp, tree params) argument
2747 tree fntype, fndecl; local
[all...]
H A Ddecl.c6031 tree fntype;
6048 fntype = build_function_type (void_type_node, parmtypes);
6052 fndecl = build_lang_decl (FUNCTION_DECL, get_identifier (name), fntype);
11014 tree fntype = TREE_TYPE (decl);
11015 tree return_type = complete_type (TREE_TYPE (fntype));
11024 tree args = TYPE_ARG_TYPES (fntype);
11029 if (TREE_CODE (fntype) == METHOD_TYPE)
11030 fntype = build_method_type_directly (TREE_TYPE (TREE_VALUE (args)),
11034 fntype = build_function_type (void_type_node, args);
11036 = build_exception_variant (fntype,
6020 tree fntype; local
10995 tree fntype = TREE_TYPE (decl); local
11052 tree fntype; local
11809 tree fntype, ctype = NULL_TREE; 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
9711 tree fntype; local
10930 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.c5844 tree fntype;
5862 fntype = TREE_TYPE (fn);
5864 fntype = build_ptrmemfunc_type (build_pointer_type (fntype));
5866 fntype = build_pointer_type (fntype);
5868 if (can_convert_arg (target_type, fntype, fn, LOOKUP_NORMAL))
5837 tree fntype; local
H A Dcall.c280 tree fntype; local
286 fntype = TREE_TYPE (TREE_TYPE (function));
287 gcc_assert (TREE_CODE (fntype) == FUNCTION_TYPE
288 || TREE_CODE (fntype) == METHOD_TYPE);
289 result_type = TREE_TYPE (fntype);
320 require_complete_eh_spec_types (fntype, decl);
/freebsd-11-stable/contrib/gcc/config/i386/
H A Di386.c3065 tree fntype, /* tree ptr for function decl */
3075 if (fntype)
3076 fprintf (stderr, "fntype code = %s, ret code = %s",
3077 tree_code_name[(int) TREE_CODE (fntype)],
3078 tree_code_name[(int) TREE_CODE (TREE_TYPE (fntype))]);
3080 fprintf (stderr, "no fntype");
3100 if (fntype && !TARGET_64BIT)
3102 if (lookup_attribute ("fastcall", TYPE_ATTRIBUTES (fntype)))
3108 cum->nregs = ix86_function_regparm (fntype, fndecl);
3113 cum->float_in_sse = ix86_function_sseregparm (fntype, fndec
3056 init_cumulative_args(CUMULATIVE_ARGS *cum, tree fntype, rtx libname, tree fndecl) argument
4221 tree fn = NULL_TREE, fntype; local
4356 ix86_value_regno(enum machine_mode mode, tree func, tree fntype) argument
4452 tree fntype; local
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/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

Completed in 657 milliseconds

12