Home
last modified time | relevance | path

Searched refs:func_type (Results 1 – 25 of 37) sorted by relevance

12

/netbsd/src/external/gpl3/gdb/dist/gdb/
Dsh-tdep.c87 sh_is_renesas_calling_convention (struct type *func_type) in sh_is_renesas_calling_convention() argument
91 if (func_type) in sh_is_renesas_calling_convention()
93 func_type = check_typedef (func_type); in sh_is_renesas_calling_convention()
95 if (func_type->code () == TYPE_CODE_PTR) in sh_is_renesas_calling_convention()
96 func_type = check_typedef (func_type->target_type ()); in sh_is_renesas_calling_convention()
98 if (func_type->code () == TYPE_CODE_FUNC in sh_is_renesas_calling_convention()
99 && TYPE_CALLING_CONVENTION (func_type) == DW_CC_GNU_renesas_sh) in sh_is_renesas_calling_convention()
928 sh_next_flt_argreg (struct gdbarch *gdbarch, int len, struct type *func_type) in sh_next_flt_argreg() argument
949 if (!sh_is_renesas_calling_convention (func_type)) in sh_next_flt_argreg()
962 && !sh_is_renesas_calling_convention (func_type)) in sh_next_flt_argreg()
[all …]
Drx-tdep.c672 struct type *func_type = function->type (); in rx_push_dummy_call() local
675 while (func_type->code () == TYPE_CODE_PTR) in rx_push_dummy_call()
676 func_type = func_type->target_type (); in rx_push_dummy_call()
679 gdb_assert (func_type->code () == TYPE_CODE_FUNC in rx_push_dummy_call()
680 || func_type->code () == TYPE_CODE_METHOD); in rx_push_dummy_call()
693 if (func_type->has_varargs ()) in rx_push_dummy_call()
694 num_register_candidate_args = func_type->num_fields () - 1; in rx_push_dummy_call()
711 struct type *return_type = func_type->target_type (); in rx_push_dummy_call()
714 || func_type->code () == TYPE_CODE_UNION); in rx_push_dummy_call()
802 if (func_type->is_prototyped () in rx_push_dummy_call()
[all …]
Dtic6x-tdep.c867 struct type *func_type = function->type (); in tic6x_push_dummy_call() local
883 func_type = check_typedef (func_type); in tic6x_push_dummy_call()
884 if (func_type->code () == TYPE_CODE_PTR) in tic6x_push_dummy_call()
885 func_type = check_typedef (func_type->target_type ()); in tic6x_push_dummy_call()
887 gdb_assert (func_type->code () == TYPE_CODE_FUNC in tic6x_push_dummy_call()
888 || func_type->code () == TYPE_CODE_METHOD); in tic6x_push_dummy_call()
892 if (func_type->has_varargs ()) in tic6x_push_dummy_call()
893 first_arg_on_stack = func_type->num_fields () - 1; in tic6x_push_dummy_call()
Dmsp430-tdep.c660 struct type *func_type = function->type (); in msp430_push_dummy_call() local
663 while (func_type->code () == TYPE_CODE_PTR) in msp430_push_dummy_call()
664 func_type = func_type->target_type (); in msp430_push_dummy_call()
667 gdb_assert (func_type->code () == TYPE_CODE_FUNC in msp430_push_dummy_call()
668 || func_type->code () == TYPE_CODE_METHOD); in msp430_push_dummy_call()
Dm32c-tdep.c2035 struct type *func_type = function->type (); in m32c_push_dummy_call() local
2038 if (func_type->code () == TYPE_CODE_PTR) in m32c_push_dummy_call()
2039 func_type = func_type->target_type (); in m32c_push_dummy_call()
2041 gdb_assert (func_type->code () == TYPE_CODE_FUNC || in m32c_push_dummy_call()
2042 func_type->code () == TYPE_CODE_METHOD); in m32c_push_dummy_call()
2048 if (TYPE_PROTOTYPED (func_type)) in m32c_push_dummy_call()
2050 num_prototyped_args = func_type->num_fields (); in m32c_push_dummy_call()
Dppc-sysv-tdep.c680 do_ppc_sysv_return_value (struct gdbarch *gdbarch, struct type *func_type, in do_ppc_sysv_return_value() argument
687 int opencl_abi = func_type? ppc_sysv_use_opencl_abi (func_type) : 0; in do_ppc_sysv_return_value()
1995 struct type *func_type = function ? function->type () : NULL; in ppc64_sysv_abi_return_value() local
1996 int opencl_abi = func_type? ppc_sysv_use_opencl_abi (func_type) : 0; in ppc64_sysv_abi_return_value()
Dor1k-tdep.c640 struct type *func_type = function->type (); in or1k_push_dummy_call() local
668 if (func_type->has_varargs () && argnum >= func_type->num_fields ()) in or1k_push_dummy_call()
Dnds32-tdep.c1429 struct type *func_type = function->type (); in nds32_push_dummy_call() local
1493 if (abi_use_fpr && func_type->has_varargs () in nds32_push_dummy_call()
1494 && i >= func_type->num_fields ()) in nds32_push_dummy_call()
1806 nds32_return_value (struct gdbarch *gdbarch, struct value *func_type, in nds32_return_value() argument
Df-lang.c74 struct type *func_type, enum noside noside);
1927 struct type *func_type, enum noside noside) in fortran_prepare_argument() argument
1932 bool is_artificial = ((arg_num >= func_type->num_fields ()) in fortran_prepare_argument()
1934 : func_type->field (arg_num).is_artificial ()); in fortran_prepare_argument()
Dstabsread.c1791 struct type *func_type in read_type() local
1825 func_type->alloc_fields (num_args); in read_type()
1834 func_type->field (i).set_type (t->type); in read_type()
1836 func_type->set_num_fields (num_args); in read_type()
1837 func_type->set_is_prototyped (true); in read_type()
1839 type = func_type; in read_type()
Dgdbtypes.h849 struct func_type *func_stuff;
1806 struct func_type struct
1887 TYPE_MAIN_TYPE (type)->type_specific.func_stuff = (struct func_type *) \
Dloongarch-tdep.c665 struct type *func_type = check_typedef (function->type ()); in loongarch_push_dummy_call() local
666 bool varargs = (func_type->has_varargs () && i >= func_type->num_fields ()); in loongarch_push_dummy_call()
Dada-lang.c4018 struct type *func_type = func->type (); in ada_args_match() local
4021 && func_type->code () == TYPE_CODE_ENUM) in ada_args_match()
4023 else if (func_type == NULL || func_type->code () != TYPE_CODE_FUNC) in ada_args_match()
4026 if (func_type->num_fields () != n_actuals) in ada_args_match()
4035 struct type *ftype = ada_check_typedef (func_type->field (i).type ()); in ada_args_match()
4051 return_match (struct type *func_type, struct type *context_type) in return_match() argument
4055 if (func_type == NULL) in return_match()
4058 if (func_type->code () == TYPE_CODE_FUNC) in return_match()
4059 return_type = get_base_type (func_type->target_type ()); in return_match()
4061 return_type = get_base_type (func_type); in return_match()
/netbsd/src/external/bsd/tcpdump/dist/
Dprint-atm.c435 uint8_t cell_type, func_type, payload, clp; in oam_print() local
446 func_type = GET_U_1((p + ATM_HDR_LEN_NOHEC + hec)) & 0x0f; in oam_print()
469 ND_PRINT(", func-type unknown (%u)", func_type); in oam_print()
472 tok2str(oam_functype_str, "none", func_type), in oam_print()
473 func_type); in oam_print()
477 switch (cell_type << 4 | func_type) { in oam_print()
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
Dctf-ptype.c226 typedef int (*func_type) (int (*) (int, float), float); typedef
235 func_type v_func_type;
Dptype.c242 typedef int (*func_type) (int (*) (int, float), float); typedef
251 func_type v_func_type;
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dvtable-class-hierarchy.cc163 tree func_type = NULL_TREE; in vtv_build_vtable_verify_fndecl() local
171 func_type = build_function_type_list (const_ptr_type_node, in vtv_build_vtable_verify_fndecl()
180 func_type); in vtv_build_vtable_verify_fndecl()
184 func_type = build_function_type_list (const_ptr_type_node, in vtv_build_vtable_verify_fndecl()
191 func_type); in vtv_build_vtable_verify_fndecl()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/arm/
Darm.cc4124 if (ARM_FUNC_TYPE (cfun->machine->func_type) == ARM_FT_UNKNOWN) in arm_current_func_type()
4125 cfun->machine->func_type = arm_compute_func_type (); in arm_current_func_type()
4127 return cfun->machine->func_type; in arm_current_func_type()
4305 unsigned long func_type = arm_current_func_type (); in reg_needs_saving_p() local
4307 if (IS_INTERRUPT (func_type)) in reg_needs_saving_p()
4330 unsigned int func_type; in use_return_insn() local
4339 func_type = arm_current_func_type (); in use_return_insn()
4343 if (func_type & (ARM_FT_VOLATILE | ARM_FT_NAKED | ARM_FT_STACKALIGN)) in use_return_insn()
4348 if (IS_INTERRUPT (func_type) && (frame_pointer_needed || TARGET_THUMB)) in use_return_insn()
4418 if (TARGET_INTERWORK && saved_int_regs != 0 && !IS_INTERRUPT(func_type)) in use_return_insn()
[all …]
Darm.h1275 (! IS_INTERRUPT (cfun->machine->func_type) || \
1600 unsigned long func_type; member
/netbsd/src/external/gpl3/gcc/dist/gcc/config/i386/
Di386-options.cc3096 if (cfun->machine->func_type == TYPE_UNKNOWN) in ix86_set_func_type()
3111 cfun->machine->func_type in ix86_set_func_type()
3123 cfun->machine->func_type = TYPE_NORMAL; in ix86_set_func_type()
3311 if (cfun->machine->func_type != TYPE_NORMAL in ix86_set_current_function()
3327 if (cfun->machine->func_type != TYPE_NORMAL) in ix86_set_current_function()
3328 sorry (cfun->machine->func_type == TYPE_EXCEPTION in ix86_set_current_function()
3338 cfun->machine->func_type = TYPE_NORMAL; in ix86_set_current_function()
3754 tree func_type = *node; in ix86_handle_interrupt_attribute() local
3755 tree return_type = TREE_TYPE (func_type); in ix86_handle_interrupt_attribute()
3758 tree current_arg_type = TYPE_ARG_TYPES (func_type); in ix86_handle_interrupt_attribute()
Di386.h1514 || (cfun->machine->func_type != TYPE_NORMAL \
2066 (cfun->machine->func_type == TYPE_EXCEPTION \
2703 ENUM_BITFIELD(function_type) func_type : 2;
Di386.cc1968 || cfun->machine->func_type == TYPE_NORMAL) in type_natural_mode()
3063 if (!cum->caller && cfun->machine->func_type != TYPE_NORMAL) in ix86_function_arg_advance()
3354 if (!cum->caller && cfun->machine->func_type != TYPE_NORMAL) in ix86_function_arg()
3367 gcc_assert (cfun->machine->func_type == TYPE_EXCEPTION in ix86_function_arg()
4181 if (cfun->machine->func_type == TYPE_NORMAL in ix86_promote_function_mode()
5692 || cfun->machine->func_type != TYPE_NORMAL) in ix86_can_use_return_insn_p()
7419 if (cfun->machine->func_type != TYPE_NORMAL) in ix86_minimum_incoming_stack_boundary()
8502 if (cfun->machine->func_type != TYPE_NORMAL) in ix86_expand_prologue()
9630 if (cfun->machine->func_type != TYPE_NORMAL) in ix86_expand_epilogue()
14336 if (cfun->machine->func_type == TYPE_NORMAL) in ix86_dirflag_mode_needed()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/tui/
Dtui-hooks.c213 attach_or_detach (T &observable, typename T::func_type func, bool attach) in attach_or_detach()
/netbsd/src/external/bsd/libc++/dist/libcxxrt/src/
Dlibelftc_dem_gnu3.c115 int func_type; member
708 d->func_type = 0; in cpp_demangle_data_init()
1712 ++ddata->func_type; in cpp_demangle_read_function()
2427 p_func_type = ddata->func_type; in cpp_demangle_read_pointer_to_member()
2431 if (p_func_type == ddata->func_type) { in cpp_demangle_read_pointer_to_member()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dattribs.cc1189 tree fn_type, func_type; in make_dispatcher_decl() local
1194 func_type = build_function_type (TREE_TYPE (fn_type), in make_dispatcher_decl()
1197 func_decl = build_fn_decl (func_name, func_type); in make_dispatcher_decl()

12