Home
last modified time | relevance | path

Searched refs:valtype (Results 1 – 25 of 27) sorted by relevance

12

/NextBSD/contrib/gdb/gdb/
HDppc-sysv-tdep.c515 ppc_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, in ppc_sysv_abi_return_value() argument
519 return do_ppc_sysv_return_value (gdbarch, valtype, regcache, readbuf, in ppc_sysv_abi_return_value()
525 struct type *valtype, in ppc_sysv_abi_broken_return_value() argument
529 return do_ppc_sysv_return_value (gdbarch, valtype, regcache, readbuf, in ppc_sysv_abi_broken_return_value()
845 ppc64_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, in ppc64_sysv_abi_return_value() argument
851 if (TYPE_CODE (valtype) == TYPE_CODE_FLT && TYPE_LENGTH (valtype) <= 8) in ppc64_sysv_abi_return_value()
857 convert_typed_floating (writebuf, valtype, regval, regtype); in ppc64_sysv_abi_return_value()
863 convert_typed_floating (regval, regtype, readbuf, valtype); in ppc64_sysv_abi_return_value()
867 if (TYPE_CODE (valtype) == TYPE_CODE_INT && TYPE_LENGTH (valtype) <= 8) in ppc64_sysv_abi_return_value()
874 unpack_long (valtype, writebuf)); in ppc64_sysv_abi_return_value()
[all …]
HDppcnbsd-tdep.c212 ppcnbsd_return_value (struct gdbarch *gdbarch, struct type *valtype, in ppcnbsd_return_value() argument
216 if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT in ppcnbsd_return_value()
217 || TYPE_CODE (valtype) == TYPE_CODE_UNION) in ppcnbsd_return_value()
218 && !((TYPE_LENGTH (valtype) == 16 || TYPE_LENGTH (valtype) == 8) in ppcnbsd_return_value()
219 && TYPE_VECTOR (valtype)) in ppcnbsd_return_value()
220 && !(TYPE_LENGTH (valtype) == 1 in ppcnbsd_return_value()
221 || TYPE_LENGTH (valtype) == 2 in ppcnbsd_return_value()
222 || TYPE_LENGTH (valtype) == 4 in ppcnbsd_return_value()
223 || TYPE_LENGTH (valtype) == 8)) in ppcnbsd_return_value()
226 return ppc_sysv_abi_broken_return_value (gdbarch, valtype, regcache, in ppcnbsd_return_value()
HDppcfbsd-tdep.c495 ppcfbsd_return_value (struct gdbarch *gdbarch, struct type *valtype, in ppcfbsd_return_value() argument
499 if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT in ppcfbsd_return_value()
500 || TYPE_CODE (valtype) == TYPE_CODE_UNION) in ppcfbsd_return_value()
501 && !((TYPE_LENGTH (valtype) == 16 || TYPE_LENGTH (valtype) == 8)) in ppcfbsd_return_value()
502 && !(TYPE_LENGTH (valtype) == 1 in ppcfbsd_return_value()
503 || TYPE_LENGTH (valtype) == 2 in ppcfbsd_return_value()
504 || TYPE_LENGTH (valtype) == 4 in ppcfbsd_return_value()
505 || TYPE_LENGTH (valtype) == 8)) in ppcfbsd_return_value()
508 return ppc_sysv_abi_broken_return_value (gdbarch, valtype, regcache, in ppcfbsd_return_value()
HDppc-tdep.h38 struct type *valtype,
43 struct type *valtype,
69 struct type *valtype,
HDalpha-tdep.c216 struct type *valtype, void *out) in alpha_register_to_value() argument
220 switch (TYPE_LENGTH (valtype)) in alpha_register_to_value()
235 struct type *valtype, const void *in) in alpha_value_to_register() argument
238 switch (TYPE_LENGTH (valtype)) in alpha_value_to_register()
441 alpha_extract_return_value (struct type *valtype, struct regcache *regcache, in alpha_extract_return_value() argument
444 int length = TYPE_LENGTH (valtype); in alpha_extract_return_value()
448 switch (TYPE_CODE (valtype)) in alpha_extract_return_value()
519 alpha_store_return_value (struct type *valtype, struct regcache *regcache, in alpha_store_return_value() argument
522 int length = TYPE_LENGTH (valtype); in alpha_store_return_value()
526 switch (TYPE_CODE (valtype)) in alpha_store_return_value()
[all …]
HDvalues.c1222 register_value_being_returned (struct type *valtype, struct regcache *retbuf) in register_value_being_returned() argument
1224 struct value *val = allocate_value (valtype); in register_value_being_returned()
1228 if (TYPE_CODE (valtype) == TYPE_CODE_VOID) in register_value_being_returned()
1237 CHECK_TYPEDEF (valtype); in register_value_being_returned()
1238 EXTRACT_RETURN_VALUE (valtype, retbuf, VALUE_CONTENTS_RAW (val)); in register_value_being_returned()
1243 gdb_assert (gdbarch_return_value (current_gdbarch, valtype, in register_value_being_returned()
1246 gdbarch_return_value (current_gdbarch, valtype, retbuf, in register_value_being_returned()
HDrs6000-tdep.c1344 rs6000_extract_return_value (struct type *valtype, char *regbuf, char *valbuf) in rs6000_extract_return_value() argument
1349 if (TYPE_CODE (valtype) == TYPE_CODE_FLT) in rs6000_extract_return_value()
1358 if (TYPE_LENGTH (valtype) > 4) /* this is a double */ in rs6000_extract_return_value()
1361 TYPE_LENGTH (valtype)); in rs6000_extract_return_value()
1369 else if (TYPE_CODE (valtype) == TYPE_CODE_ARRAY in rs6000_extract_return_value()
1370 && TYPE_LENGTH (valtype) == 16 in rs6000_extract_return_value()
1371 && TYPE_VECTOR (valtype)) in rs6000_extract_return_value()
1374 TYPE_LENGTH (valtype)); in rs6000_extract_return_value()
1380 && TYPE_LENGTH (valtype) < DEPRECATED_REGISTER_RAW_SIZE (3)) in rs6000_extract_return_value()
1381 offset = DEPRECATED_REGISTER_RAW_SIZE (3) - TYPE_LENGTH (valtype); in rs6000_extract_return_value()
[all …]
HDmips-tdep.c2599 return_value_location (struct type *valtype, in return_value_location() argument
2603 int len = TYPE_LENGTH (valtype); in return_value_location()
2606 if (TYPE_CODE (valtype) == TYPE_CODE_FLT in return_value_location()
2661 && (TYPE_CODE (valtype) == TYPE_CODE_STRUCT || in return_value_location()
2662 TYPE_CODE (valtype) == TYPE_CODE_UNION)) in return_value_location()
2996 mips_eabi_extract_return_value (struct type *valtype, in mips_eabi_extract_return_value() argument
3001 return_value_location (valtype, &hi, &lo); in mips_eabi_extract_return_value()
3017 mips_eabi_store_return_value (struct type *valtype, char *valbuf) in mips_eabi_store_return_value() argument
3022 return_value_location (valtype, &hi, &lo); in mips_eabi_store_return_value()
4143 mips_o64_extract_return_value (struct type *valtype, in mips_o64_extract_return_value() argument
[all …]
HDs390-tdep.c318 struct type *valtype, void *out) in s390_register_to_value() argument
321 int len = TYPE_LENGTH (valtype); in s390_register_to_value()
330 struct type *valtype, const void *in) in s390_value_to_register() argument
333 int len = TYPE_LENGTH (valtype); in s390_value_to_register()
HDvalue.h422 extern struct value *register_value_being_returned (struct type *valtype,
HDia64-tdep.c920 struct type *valtype, void *out) in ia64_register_to_value() argument
924 convert_typed_floating (in, builtin_type_ia64_ext, out, valtype); in ia64_register_to_value()
929 struct type *valtype, const void *in) in ia64_value_to_register() argument
932 convert_typed_floating (in, valtype, out, builtin_type_ia64_ext); in ia64_value_to_register()
HDgdbarch.h1396 …tion (gdbarch_return_value_ftype) (struct gdbarch *gdbarch, struct type *valtype, struct regcache …
1397 …e_convention gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache …
HDgdbarch.c4118 gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, voi… in gdbarch_return_value() argument
4124 return gdbarch->return_value (gdbarch, valtype, regcache, readbuf, writebuf); in gdbarch_return_value()
/NextBSD/cddl/contrib/opensolaris/lib/libnvpair/
HDlibnvpair.h141 #define NVLIST_PRINTCTL_SVDECL(funcname, valtype) \ argument
143 int (*)(nvlist_prtctl_t, void *, nvlist_t *, const char *, valtype), \
/NextBSD/contrib/gcc/cp/
HDtypeck.c686 tree valtype = merge_types (TREE_TYPE (t1), TREE_TYPE (t2)); in merge_types() local
692 if (valtype == TREE_TYPE (t1) && ! p2) in merge_types()
694 if (valtype == TREE_TYPE (t2) && ! p1) in merge_types()
700 rval = build_function_type (valtype, p2); in merge_types()
708 rval = build_function_type (valtype, p1); in merge_types()
714 rval = build_function_type (valtype, commonparms (p1, p2)); in merge_types()
6624 tree valtype = TREE_TYPE (DECL_RESULT (current_function_decl)); in maybe_warn_about_returning_address_of_local() local
6643 if (TREE_CODE (valtype) == REFERENCE_TYPE) in maybe_warn_about_returning_address_of_local()
6670 if (TREE_CODE (valtype) == REFERENCE_TYPE) in maybe_warn_about_returning_address_of_local()
6674 else if (TREE_CODE (valtype) == BLOCK_POINTER_TYPE) in maybe_warn_about_returning_address_of_local()
[all …]
/NextBSD/bin/expr/
HDexpr.y31 enum valtype { enum
36 enum valtype type;
/NextBSD/contrib/gcc/
HDc-typeck.c399 tree valtype = composite_type (TREE_TYPE (t1), TREE_TYPE (t2)); in composite_type() local
407 if (valtype == TREE_TYPE (t1) && !TYPE_ARG_TYPES (t2)) in composite_type()
409 if (valtype == TREE_TYPE (t2) && !TYPE_ARG_TYPES (t1)) in composite_type()
415 t1 = build_function_type (valtype, TYPE_ARG_TYPES (t2)); in composite_type()
421 t1 = build_function_type (valtype, TYPE_ARG_TYPES (t1)); in composite_type()
514 t1 = build_function_type (valtype, newargs); in composite_type()
7329 tree valtype; in c_finish_block_return_stmt() local
7370 valtype = TREE_TYPE (retval); in c_finish_block_return_stmt()
7374 if (!types_are_block_compatible (cur_block->return_type, valtype)) in c_finish_block_return_stmt()
7376 valtype, cur_block->return_type); in c_finish_block_return_stmt()
[all …]
HDexplow.c1470 hard_function_value (tree valtype, tree func, tree fntype, in hard_function_value() argument
1475 val = targetm.calls.function_value (valtype, func ? func : fntype, outgoing); in hard_function_value()
1480 unsigned HOST_WIDE_INT bytes = int_size_in_bytes (valtype); in hard_function_value()
HDexpr.c7732 tree valtype = TREE_TYPE (TREE_OPERAND (exp, 0)); in expand_expr_real_1() local
7736 if (mode == BLKmode && TYPE_MODE (valtype) == BLKmode) in expand_expr_real_1()
7757 adjust_address (target, TYPE_MODE (valtype), 0), in expand_expr_real_1()
7770 0, TYPE_MODE (valtype), TREE_OPERAND (exp, 0), in expand_expr_real_1()
/NextBSD/contrib/gcc/config/mips/
HDmips.c7430 mips_fpr_return_fields (tree valtype, tree *fields) in mips_fpr_return_fields() argument
7438 if (TREE_CODE (valtype) != RECORD_TYPE) in mips_fpr_return_fields()
7442 for (field = TYPE_FIELDS (valtype); field != 0; field = TREE_CHAIN (field)) in mips_fpr_return_fields()
7470 mips_return_in_msb (tree valtype) in mips_return_in_msb() argument
7476 && AGGREGATE_TYPE_P (valtype) in mips_return_in_msb()
7477 && mips_fpr_return_fields (valtype, fields) == 0); in mips_return_in_msb()
7515 mips_function_value (tree valtype, tree func ATTRIBUTE_UNUSED, in mips_function_value() argument
7518 if (valtype) in mips_function_value()
7523 mode = TYPE_MODE (valtype); in mips_function_value()
7524 unsignedp = TYPE_UNSIGNED (valtype); in mips_function_value()
[all …]
/NextBSD/contrib/gcc/config/ia64/
HDia64.c4328 ia64_return_in_memory (tree valtype, tree fntype ATTRIBUTE_UNUSED) in ia64_return_in_memory() argument
4334 mode = TYPE_MODE (valtype); in ia64_return_in_memory()
4338 byte_size = int_size_in_bytes (valtype); in ia64_return_in_memory()
4345 hfa_mode = hfa_element_mode (valtype, 0); in ia64_return_in_memory()
4364 ia64_function_value (tree valtype, tree func ATTRIBUTE_UNUSED) in ia64_function_value() argument
4369 mode = TYPE_MODE (valtype); in ia64_function_value()
4370 hfa_mode = hfa_element_mode (valtype, 0); in ia64_function_value()
4382 ? int_size_in_bytes (valtype) : GET_MODE_SIZE (mode)); in ia64_function_value()
4393 else if (FLOAT_TYPE_P (valtype) && mode != TFmode && mode != TCmode) in ia64_function_value()
4403 && (mode == BLKmode || (valtype && AGGREGATE_TYPE_P (valtype)))) in ia64_function_value()
[all …]
/NextBSD/contrib/gcc/config/rs6000/
HDrs6000.c19314 rs6000_function_value (tree valtype, tree func ATTRIBUTE_UNUSED) in rs6000_function_value() argument
19321 && TYPE_MODE (valtype) == BLKmode in rs6000_function_value()
19322 && TREE_CODE (valtype) == RECORD_TYPE in rs6000_function_value()
19323 && int_size_in_bytes (valtype) > 0) in rs6000_function_value()
19333 valret = rs6000_darwin64_record_arg (&valcum, valtype, 1, true); in rs6000_function_value()
19339 if (TARGET_32BIT && TARGET_POWERPC64 && TYPE_MODE (valtype) == DImode) in rs6000_function_value()
19352 if (TARGET_32BIT && TARGET_POWERPC64 && TYPE_MODE (valtype) == DCmode) in rs6000_function_value()
19373 mode = TYPE_MODE (valtype); in rs6000_function_value()
19374 if ((INTEGRAL_TYPE_P (valtype) && GET_MODE_BITSIZE (mode) < BITS_PER_WORD) in rs6000_function_value()
19375 || POINTER_TYPE_P (valtype)) in rs6000_function_value()
[all …]
/NextBSD/contrib/gcc/config/i386/
HDi386.c4203 ix86_function_value (tree valtype, tree fntype_or_decl, in ix86_function_value() argument
4206 enum machine_mode natmode = type_natural_mode (valtype); in ix86_function_value()
4210 rtx ret = construct_container (natmode, TYPE_MODE (valtype), valtype, in ix86_function_value()
4216 ret = gen_rtx_REG (TYPE_MODE (valtype), 0); in ix86_function_value()
4226 return gen_rtx_REG (TYPE_MODE (valtype), in ix86_function_value()
/NextBSD/contrib/gcc/config/arm/
HDarm.c5460 arm_return_in_msb (tree valtype) in arm_return_in_msb() argument
5464 && (AGGREGATE_TYPE_P (valtype) in arm_return_in_msb()
5465 || TREE_CODE (valtype) == COMPLEX_TYPE)); in arm_return_in_msb()
/NextBSD/contrib/gcc/doc/
HDtm.texi4086 @var{valtype} is a scalar type.
4104 @defmac FUNCTION_VALUE (@var{valtype}, @var{func})
4109 @defmac FUNCTION_OUTGOING_VALUE (@var{valtype}, @var{func})

12