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

123456

/haiku-buildtools/gcc/libsanitizer/asan/
H A Dasan_win_dll_thunk.cc106 typedef void (*fntype)(); \
107 static fntype fn = (fntype)getRealProcAddressOrDie(#name); \
114 typedef void (*fntype)(void *arg); \
115 static fntype fn = (fntype)getRealProcAddressOrDie(#name); \
122 typedef void (*fntype)(void *, void *); \
123 static fntype fn = (fntype)getRealProcAddressOrDie(#name); \
130 typedef void *(*fntype)(voi
206 typedef void (*fntype)(); typedef
[all...]
/haiku-buildtools/gcc/gcc/go/gofrontend/
H A Dunsafe.cc65 Function_type* fntype = Type::make_function_type(NULL, NULL, results, bloc); local
66 fntype->set_is_builtin();
67 no = bindings->add_function_declaration("Sizeof", package, fntype, bloc);
74 fntype = Type::make_function_type(NULL, NULL, results, bloc);
75 fntype->set_is_varargs();
76 fntype->set_is_builtin();
77 no = bindings->add_function_declaration("Offsetof", package, fntype, bloc);
84 fntype = Type::make_function_type(NULL, NULL, results, bloc);
85 fntype->set_is_varargs();
86 fntype
[all...]
H A Druntime.cc344 Function_type* fntype = Type::make_function_type(NULL, param_types,
351 fntype, bloc);
H A Dimport.cc510 Function_type *fntype = Type::make_function_type(receiver, parameters, local
513 fntype->set_is_varargs();
517 if (fntype->is_method())
533 no = rtype->named_type()->add_method_declaration(name, package, fntype,
538 fntype,
545 no = package->add_function_declaration(name, fntype, loc);
H A Dexpressions.cc1060 Function_type* fntype; local
1062 fntype = no->func_value()->type();
1064 fntype = no->func_declaration_value()->type();
1070 if (fntype->is_builtin())
6246 Function_type* fntype; local
6248 fntype = fn->func_value()->type();
6250 fntype = fn->func_declaration_value()->type();
6253 return fntype->copy_without_receiver();
6262 Function_type* fntype; local
6264 fntype
6290 Function_type* fntype; local
6476 Function_type* fntype; local
8594 Function_type *fntype = this->get_function_type(); local
8874 Function_type* fntype = this->get_function_type(); local
8924 Function_type* fntype = this->get_function_type(); local
8959 const Function_type* fntype = this->get_function_type(); local
9043 Function_type* fntype = this->get_function_type(); local
9070 Function_type* fntype = this->get_function_type(); local
9596 Function_type* fntype = ce->get_function_type(); local
11505 Function_type* fntype = Type::make_function_type(NULL, parameters, results, local
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dattr-invalid.c14 typedef int (*ATSYM(fntype))(void) ATTR; /* { dg-warning "attribute ignored" "" } */
41 typedef int (*ATSYM(fntype))(void) ATTR; /* used attribute is no
71 typedef int (*ATSYM(fntype))(void) ATTR; /* { dg-warning "attribute ignored" "" } */
92 typedef int (*ATSYM(fntype))(void) ATTR; /* { dg-warning "attribute |directive ignored" "" } */
/haiku-buildtools/gcc/gcc/config/pa/
H A Dsom.h102 do { tree fntype = TREE_TYPE (TREE_TYPE (DECL)); \
165 if (TYPE_MODE (fntype) == DFmode && ! TARGET_SOFT_FLOAT) \
167 else if (TYPE_MODE (fntype) == SFmode && ! TARGET_SOFT_FLOAT) \
169 else if (fntype != void_type_node) \
/haiku-buildtools/legacy/gcc/gcc/
H A Dc-aux-info.c173 gen_formal_list_for_type (fntype, style)
174 tree fntype;
183 formal_type = TYPE_ARG_TYPES (fntype);
232 if (TYPE_ARG_TYPES (fntype))
233 /* assert (TREE_VALUE (TYPE_ARG_TYPES (fntype)) == void_type_node); */
257 deserves_ellipsis (fntype)
258 tree fntype;
262 formal_type = TYPE_ARG_TYPES (fntype);
270 return (!formal_type && TYPE_ARG_TYPES (fntype));
/haiku-buildtools/gcc/gcc/cp/
H A Ddecl2.c141 build_memfn_type (tree fntype, tree ctype, cp_cv_quals quals,
149 if (fntype == error_mark_node || ctype == error_mark_node)
152 gcc_assert (TREE_CODE (fntype) == FUNCTION_TYPE
153 || TREE_CODE (fntype) == METHOD_TYPE);
157 raises = TYPE_RAISES_EXCEPTIONS (fntype);
158 attrs = TYPE_ATTRIBUTES (fntype);
159 late_return_type_p = TYPE_HAS_LATE_RETURN_TYPE (fntype);
160 fntype = build_method_type_directly (ctype, TREE_TYPE (fntype),
161 (TREE_CODE (fntype)
140 build_memfn_type(tree fntype, tree ctype, cp_cv_quals quals, cp_ref_qualifier rqual) argument
179 change_return_type(tree new_ret, tree fntype) argument
259 tree basetype, arg_types, parms, parm, fntype; local
3253 tree fntype = build_function_type (type, void_list_node); local
[all...]
/haiku-buildtools/gcc/gcc/c/
H A Dc-aux-info.c117 gen_formal_list_for_type (tree fntype, formals_style style)
125 formal_type = TYPE_ARG_TYPES (fntype);
174 if (prototype_p (fntype))
175 /* assert (TREE_VALUE (TYPE_ARG_TYPES (fntype)) == void_type_node); */
116 gen_formal_list_for_type(tree fntype, formals_style style) argument
/haiku-buildtools/gcc/gcc/config/nvptx/
H A Dnvptx.c288 tree fntype = TREE_TYPE (decl);
289 tree result_type = TREE_TYPE (fntype);
290 tree args = TYPE_ARG_TYPES (fntype);
360 TYPE_ARG_TYPES (fntype) == 0);
366 if (stdarg_p (fntype))
523 tree fntype = TREE_TYPE (decl);
524 tree result_type = TREE_TYPE (fntype);
556 walk_args_for_param (file, TYPE_ARG_TYPES (fntype), DECL_ARGUMENTS (decl),
567 if (stdarg_p (fntype))
630 walk_args_for_param (file, TYPE_ARG_TYPES (fntype), DECL_ARGUMENT
287 tree fntype = TREE_TYPE (decl); local
522 tree fntype = TREE_TYPE (decl); local
645 tree fntype = TREE_TYPE (current_function_decl); local
[all...]
H A Dnvptx.h174 union tree_node *fntype; member in struct:nvptx_args
185 do { (CUM).fntype = (FNTYPE); (CUM).count = 0; (CUM).off = 0; } while (0)
/haiku-buildtools/legacy/gcc/gcc/cp/
H A Derror.c973 tree fntype; local
981 fntype = TREE_TYPE (t);
982 parmtypes = TYPE_ARG_TYPES (fntype);
988 else if (TREE_CODE (fntype) == METHOD_TYPE)
1001 dump_type_prefix (TREE_TYPE (fntype), 1, 0);
1011 if (TREE_CODE (fntype) == METHOD_TYPE && parmtypes)
1035 dump_type_suffix (TREE_TYPE (fntype), 1, 0);
1037 if (TREE_CODE (fntype) == METHOD_TYPE)
1042 (TREE_TYPE (TREE_TYPE (TYPE_FIELDS (TREE_VALUE (TYPE_ARG_TYPES (fntype))))), before);
1045 (TREE_TYPE (TREE_VALUE (TYPE_ARG_TYPES (fntype))), befor
[all...]
/haiku-buildtools/legacy/binutils/binutils/
H A Drdcoff.c662 int fntype;
680 fntype = 0;
763 fntype = syment.n_type;
791 DECREF (fntype), paux, FALSE, dhandle);
827 fntype = 0;
661 int fntype; local
/haiku-buildtools/binutils/binutils/
H A Drdcoff.c668 int fntype;
686 fntype = 0;
769 fntype = syment.n_type;
797 DECREF (fntype), paux, FALSE, dhandle);
833 fntype = 0;
667 int fntype; local
/haiku-buildtools/gcc/gcc/fortran/
H A Df95-lang.c627 build_builtin_fntypes (tree *fntype, tree type) argument
630 fntype[0] = build_function_type_list (type, type, NULL_TREE);
632 fntype[1] = build_function_type_list (type, type, type, NULL_TREE);
634 fntype[2] = build_function_type_list (type,
637 fntype[3] = build_function_type_list (type, NULL_TREE);
639 fntype[4] = build_function_type_list (type, type,
643 fntype[5] = build_function_type_list (type,
/haiku-buildtools/gcc/gcc/config/nds32/
H A Dnds32.h751 #define OUTGOING_REG_PARM_STACK_SPACE(fntype) 1
755 #define INIT_CUMULATIVE_ARGS(cum, fntype, libname, fndecl, n_named_args) \
756 nds32_init_cumulative_args (&cum, fntype, libname, fndecl, n_named_args)
/haiku-buildtools/gcc/gcc/
H A Dcalls.c1162 tree fndecl, tree fntype,
1425 fndecl ? TREE_TYPE (fndecl) : fntype, 0);
1521 tree fntype ATTRIBUTE_UNUSED,
1559 if (! OUTGOING_REG_PARM_STACK_SPACE ((!fndecl ? fntype : TREE_TYPE (fndecl))))
1580 if (! OUTGOING_REG_PARM_STACK_SPACE ((!fndecl ? fntype : TREE_TYPE (fndecl))))
2384 tree fntype;
2496 fntype = TREE_TYPE (fndecl);
2502 fntype = TREE_TYPE (TREE_TYPE (addr));
2503 flags |= flags_from_decl_or_type (fntype);
2507 struct_value = targetm.calls.struct_value_rtx (fntype,
1156 initialize_argument_information(int num_actuals ATTRIBUTE_UNUSED, struct arg_data *args, struct args_size *args_size, int n_named_args ATTRIBUTE_UNUSED, tree exp, tree struct_value_addr_value, tree fndecl, tree fntype, cumulative_args_t args_so_far, int reg_parm_stack_space, rtx *old_stack_level, int *old_pending_adj, int *must_preallocate, int *ecf_flags, bool *may_tailcall, bool call_from_thunk_p) argument
2383 tree fntype; local
[all...]
H A Dfunction.c2047 aggregate_value_p (const_tree exp, const_tree fntype)
2053 if (fntype)
2054 switch (TREE_CODE (fntype))
2058 tree fndecl = get_callee_fndecl (fntype);
2060 fntype = TREE_TYPE (fndecl);
2061 else if (CALL_EXPR_FN (fntype))
2062 fntype = TREE_TYPE (TREE_TYPE (CALL_EXPR_FN (fntype)));
2070 fntype = TREE_TYPE (fntype);
2035 aggregate_value_p(const_tree exp, const_tree fntype) argument
2354 tree fntype = TREE_TYPE (fndecl); local
4764 tree fntype = fndecl ? TREE_TYPE (fndecl) : NULL_TREE; local
[all...]
H A Dcilk-common.c121 install_builtin (const char *name, tree fntype, enum built_in_function code, argument
124 tree fndecl = build_fn_decl (name, fntype);
/haiku-buildtools/legacy/gcc/gcc/config/rs6000/
H A Drs6000.c1335 init_cumulative_args (cum, fntype, libname, incoming)
1337 tree fntype;
1347 cum->prototype = (fntype && TYPE_ARG_TYPES (fntype));
1355 cum->nargs_prototype = (list_length (TYPE_ARG_TYPES (fntype)) - 1
1356 + (TYPE_MODE (TREE_TYPE (fntype)) == BLKmode
1357 || RETURN_IN_MEMORY (TREE_TYPE (fntype))));
1366 && fntype
1367 && lookup_attribute ("dllimport", TYPE_ATTRIBUTES (fntype)))
1371 else if (fntype
1765 tree fntype; local
1868 tree fntype; local
[all...]
/haiku-buildtools/legacy/gcc/gcc/config/mn10300/
H A Dmn10300.c635 tree fntype = TREE_TYPE (current_function_decl);
636 int argadj = ((!(TYPE_ARG_TYPES (fntype) != 0
637 && (TREE_VALUE (tree_last (TYPE_ARG_TYPES (fntype)))
634 tree fntype = TREE_TYPE (current_function_decl); local
/haiku-buildtools/gcc/gcc/java/
H A Dbuiltins.c233 tree fntype = TREE_TYPE (fn);
234 fn = build1 (ADDR_EXPR, build_pointer_type (fntype), fn);
235 return fold (build_call_array (TREE_TYPE (fntype),
231 tree fntype = TREE_TYPE (fn); local
/haiku-buildtools/gcc/gcc/config/iq2000/
H A Diq2000.c1132 init_cumulative_args (CUMULATIVE_ARGS *cum, tree fntype,
1142 "\ninit_cumulative_args, fntype = 0x%.8lx", (long) fntype);
1144 if (!fntype)
1149 tree ret_type = TREE_TYPE (fntype);
1151 fprintf (stderr, ", fntype code = %s, ret code = %s\n",
1152 get_tree_code_name (TREE_CODE (fntype)),
1164 for (param = fntype ? TYPE_ARG_TYPES (fntype) : 0;
1934 tree fntype
1120 init_cumulative_args(CUMULATIVE_ARGS *cum, tree fntype, rtx libname ATTRIBUTE_UNUSED) argument
1914 tree fntype = TREE_TYPE (fndecl); local
[all...]
/haiku-buildtools/gcc/gcc/config/c6x/
H A Dc6x.h350 #define INIT_CUMULATIVE_ARGS(cum, fntype, libname, fndecl, n_named_args) \
351 c6x_init_cumulative_args (&cum, fntype, libname, n_named_args)

Completed in 484 milliseconds

123456