Searched refs:valtype (Results 1 - 24 of 24) sorted by relevance

/freebsd-11-stable/contrib/gdb/gdb/
H A Dppcnbsd-tdep.c212 ppcnbsd_return_value (struct gdbarch *gdbarch, struct type *valtype, argument
216 if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT
217 || TYPE_CODE (valtype) == TYPE_CODE_UNION)
218 && !((TYPE_LENGTH (valtype) == 16 || TYPE_LENGTH (valtype) == 8)
219 && TYPE_VECTOR (valtype))
220 && !(TYPE_LENGTH (valtype) == 1
221 || TYPE_LENGTH (valtype) == 2
222 || TYPE_LENGTH (valtype) == 4
223 || TYPE_LENGTH (valtype)
[all...]
H A Dppc-sysv-tdep.c515 ppc_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, argument
519 return do_ppc_sysv_return_value (gdbarch, valtype, regcache, readbuf,
525 struct type *valtype,
529 return do_ppc_sysv_return_value (gdbarch, valtype, regcache, readbuf,
845 ppc64_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, argument
851 if (TYPE_CODE (valtype) == TYPE_CODE_FLT && TYPE_LENGTH (valtype) <= 8)
857 convert_typed_floating (writebuf, valtype, regval, regtype);
863 convert_typed_floating (regval, regtype, readbuf, valtype);
867 if (TYPE_CODE (valtype)
524 ppc_sysv_abi_broken_return_value(struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) argument
[all...]
H A Dppc-tdep.h38 struct type *valtype,
43 struct type *valtype,
69 struct type *valtype,
H A Dppcfbsd-tdep.c495 ppcfbsd_return_value (struct gdbarch *gdbarch, struct type *valtype, argument
499 if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT
500 || TYPE_CODE (valtype) == TYPE_CODE_UNION)
501 && !((TYPE_LENGTH (valtype) == 16 || TYPE_LENGTH (valtype) == 8))
502 && !(TYPE_LENGTH (valtype) == 1
503 || TYPE_LENGTH (valtype) == 2
504 || TYPE_LENGTH (valtype) == 4
505 || TYPE_LENGTH (valtype) == 8))
508 return ppc_sysv_abi_broken_return_value (gdbarch, valtype, regcach
[all...]
H A Dalpha-tdep.c217 struct type *valtype, void *out)
221 switch (TYPE_LENGTH (valtype))
236 struct type *valtype, const void *in)
239 switch (TYPE_LENGTH (valtype))
443 alpha_extract_return_value (struct type *valtype, struct regcache *regcache,
446 int length = TYPE_LENGTH (valtype);
450 switch (TYPE_CODE (valtype))
521 alpha_store_return_value (struct type *valtype, struct regcache *regcache,
524 int length = TYPE_LENGTH (valtype);
528 switch (TYPE_CODE (valtype))
215 alpha_register_to_value(struct frame_info *frame, int regnum, struct type *valtype, void *out) argument
234 alpha_value_to_register(struct frame_info *frame, int regnum, struct type *valtype, const void *in) argument
441 alpha_extract_return_value(struct type *valtype, struct regcache *regcache, void *valbuf) argument
519 alpha_store_return_value(struct type *valtype, struct regcache *regcache, const void *valbuf) argument
[all...]
H A Dvalues.c1231 register_value_being_returned (struct type *valtype, struct regcache *retbuf)
1233 struct value *val = allocate_value (valtype);
1237 if (TYPE_CODE (valtype) == TYPE_CODE_VOID)
1246 CHECK_TYPEDEF (valtype);
1247 EXTRACT_RETURN_VALUE (valtype, retbuf, VALUE_CONTENTS_RAW (val));
1252 gdb_assert (gdbarch_return_value (current_gdbarch, valtype,
1255 gdbarch_return_value (current_gdbarch, valtype, retbuf,
1222 register_value_being_returned(struct type *valtype, struct regcache *retbuf) argument
H A Drs6000-tdep.c1344 rs6000_extract_return_value (struct type *valtype, char *regbuf, char *valbuf) argument
1349 if (TYPE_CODE (valtype) == TYPE_CODE_FLT)
1358 if (TYPE_LENGTH (valtype) > 4) /* this is a double */
1361 TYPE_LENGTH (valtype));
1369 else if (TYPE_CODE (valtype) == TYPE_CODE_ARRAY
1370 && TYPE_LENGTH (valtype) == 16
1371 && TYPE_VECTOR (valtype))
1374 TYPE_LENGTH (valtype));
1380 && TYPE_LENGTH (valtype) < DEPRECATED_REGISTER_RAW_SIZE (3))
1381 offset = DEPRECATED_REGISTER_RAW_SIZE (3) - TYPE_LENGTH (valtype);
[all...]
H A Dmips-tdep.c2588 file, given the return type `valtype'. */
2599 return_value_location (struct type *valtype, argument
2603 int len = TYPE_LENGTH (valtype);
2606 if (TYPE_CODE (valtype) == TYPE_CODE_FLT
2661 && (TYPE_CODE (valtype) == TYPE_CODE_STRUCT ||
2662 TYPE_CODE (valtype) == TYPE_CODE_UNION))
2992 /* Given a return value in `regbuf' with a type `valtype', extract and
2996 mips_eabi_extract_return_value (struct type *valtype, argument
3001 return_value_location (valtype, &hi, &lo);
3013 /* Given a return value in `valbuf' with a type `valtype', writ
3017 mips_eabi_store_return_value(struct type *valtype, char *valbuf) argument
4143 mips_o64_extract_return_value(struct type *valtype, char regbuf[], char *valbuf) argument
4161 mips_o64_store_return_value(struct type *valtype, char *valbuf) argument
[all...]
H A Dvalue.h423 extern struct value *register_value_being_returned (struct type *valtype,
H A Dia64-tdep.c920 struct type *valtype, void *out)
924 convert_typed_floating (in, builtin_type_ia64_ext, out, valtype);
929 struct type *valtype, const void *in)
932 convert_typed_floating (in, valtype, out, builtin_type_ia64_ext);
919 ia64_register_to_value(struct frame_info *frame, int regnum, struct type *valtype, void *out) argument
928 ia64_value_to_register(struct frame_info *frame, int regnum, struct type *valtype, const void *in) argument
H A Ds390-tdep.c318 struct type *valtype, void *out)
321 int len = TYPE_LENGTH (valtype);
330 struct type *valtype, const void *in)
333 int len = TYPE_LENGTH (valtype);
317 s390_register_to_value(struct frame_info *frame, int regnum, struct type *valtype, void *out) argument
329 s390_value_to_register(struct frame_info *frame, int regnum, struct type *valtype, const void *in) argument
H A Dgdbarch.h1396 typedef enum return_value_convention (gdbarch_return_value_ftype) (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf);
1397 extern enum return_value_convention gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf);
H A Dgdbarch.c4118 gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) argument
4124 return gdbarch->return_value (gdbarch, valtype, regcache, readbuf, writebuf);
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libnvpair/
H A Dlibnvpair.h134 * valtype Value of the member to render
141 #define NVLIST_PRINTCTL_SVDECL(funcname, valtype) \
143 int (*)(nvlist_prtctl_t, void *, nvlist_t *, const char *, valtype), \
/freebsd-11-stable/contrib/gcc/cp/
H A Dtypeck.c687 tree valtype = merge_types (TREE_TYPE (t1), TREE_TYPE (t2));
693 if (valtype == TREE_TYPE (t1) && ! p2)
695 if (valtype == TREE_TYPE (t2) && ! p1)
701 rval = build_function_type (valtype, p2);
709 rval = build_function_type (valtype, p1);
715 rval = build_function_type (valtype, commonparms (p1, p2));
6639 tree valtype = TREE_TYPE (DECL_RESULT (current_function_decl));
6658 if (TREE_CODE (valtype) == REFERENCE_TYPE)
6685 if (TREE_CODE (valtype) == REFERENCE_TYPE)
6689 else if (TREE_CODE (valtype)
686 tree valtype = merge_types (TREE_TYPE (t1), TREE_TYPE (t2)); local
6624 tree valtype = TREE_TYPE (DECL_RESULT (current_function_decl)); local
6705 tree valtype; local
[all...]
/freebsd-11-stable/bin/expr/
H A Dexpr.y31 enum valtype {
36 enum valtype type;
/freebsd-11-stable/contrib/gcc/
H A Dexplow.c1481 hard_function_value (tree valtype, tree func, tree fntype,
1486 val = targetm.calls.function_value (valtype, func ? func : fntype, outgoing);
1491 unsigned HOST_WIDE_INT bytes = int_size_in_bytes (valtype);
1470 hard_function_value(tree valtype, tree func, tree fntype, int outgoing ATTRIBUTE_UNUSED) argument
H A Dc-typeck.c402 tree valtype = composite_type (TREE_TYPE (t1), TREE_TYPE (t2));
410 if (valtype == TREE_TYPE (t1) && !TYPE_ARG_TYPES (t2))
412 if (valtype == TREE_TYPE (t2) && !TYPE_ARG_TYPES (t1))
418 t1 = build_function_type (valtype, TYPE_ARG_TYPES (t2));
424 t1 = build_function_type (valtype, TYPE_ARG_TYPES (t1));
517 t1 = build_function_type (valtype, newargs);
7384 tree valtype;
7425 valtype = TREE_TYPE (retval);
7429 if (!types_are_block_compatible (cur_block->return_type, valtype))
7431 valtype, cur_bloc
399 tree valtype = composite_type (TREE_TYPE (t1), TREE_TYPE (t2)); local
7350 tree valtype; local
7409 tree valtype, ret_stmt; local
[all...]
H A Dexpr.c7752 tree valtype = TREE_TYPE (TREE_OPERAND (exp, 0));
7756 if (mode == BLKmode && TYPE_MODE (valtype) == BLKmode)
7777 adjust_address (target, TYPE_MODE (valtype), 0),
7790 0, TYPE_MODE (valtype), TREE_OPERAND (exp, 0),
7732 tree valtype = TREE_TYPE (TREE_OPERAND (exp, 0)); local
/freebsd-11-stable/contrib/gcc/config/mips/
H A Dmips.c7476 mips_fpr_return_fields (tree valtype, tree *fields)
7484 if (TREE_CODE (valtype) != RECORD_TYPE)
7488 for (field = TYPE_FIELDS (valtype); field != 0; field = TREE_CHAIN (field))
7516 mips_return_in_msb (tree valtype) argument
7522 && AGGREGATE_TYPE_P (valtype)
7523 && mips_fpr_return_fields (valtype, fields) == 0);
7561 mips_function_value (tree valtype, tree func ATTRIBUTE_UNUSED,
7564 if (valtype)
7569 mode = TYPE_MODE (valtype);
7570 unsignedp = TYPE_UNSIGNED (valtype);
7431 mips_fpr_return_fields(tree valtype, tree *fields) argument
7471 mips_return_in_msb(tree valtype) argument
[all...]
/freebsd-11-stable/contrib/gcc/config/ia64/
H A Dia64.c4337 ia64_return_in_memory (tree valtype, tree fntype ATTRIBUTE_UNUSED)
4343 mode = TYPE_MODE (valtype);
4347 byte_size = int_size_in_bytes (valtype);
4354 hfa_mode = hfa_element_mode (valtype, 0);
4373 ia64_function_value (tree valtype, tree func ATTRIBUTE_UNUSED)
4378 mode = TYPE_MODE (valtype);
4379 hfa_mode = hfa_element_mode (valtype, 0);
4391 ? int_size_in_bytes (valtype) : GET_MODE_SIZE (mode));
4402 else if (FLOAT_TYPE_P (valtype) && mode != TFmode && mode != TCmode)
4412 && (mode == BLKmode || (valtype
4328 ia64_return_in_memory(tree valtype, tree fntype ATTRIBUTE_UNUSED) argument
4364 ia64_function_value(tree valtype, tree func ATTRIBUTE_UNUSED) argument
[all...]
/freebsd-11-stable/contrib/gcc/config/rs6000/
H A Drs6000.c19360 rs6000_function_value (tree valtype, tree func ATTRIBUTE_UNUSED)
19367 && TYPE_MODE (valtype) == BLKmode
19368 && TREE_CODE (valtype) == RECORD_TYPE
19369 && int_size_in_bytes (valtype) > 0)
19379 valret = rs6000_darwin64_record_arg (&valcum, valtype, 1, true);
19385 if (TARGET_32BIT && TARGET_POWERPC64 && TYPE_MODE (valtype) == DImode)
19398 if (TARGET_32BIT && TARGET_POWERPC64 && TYPE_MODE (valtype) == DCmode)
19419 mode = TYPE_MODE (valtype);
19420 if ((INTEGRAL_TYPE_P (valtype) && GET_MODE_BITSIZE (mode) < BITS_PER_WORD)
19421 || POINTER_TYPE_P (valtype))
19314 rs6000_function_value(tree valtype, tree func ATTRIBUTE_UNUSED) argument
[all...]
/freebsd-11-stable/contrib/gcc/config/i386/
H A Di386.c4211 ix86_function_value (tree valtype, tree fntype_or_decl,
4214 enum machine_mode natmode = type_natural_mode (valtype);
4218 rtx ret = construct_container (natmode, TYPE_MODE (valtype), valtype,
4224 ret = gen_rtx_REG (TYPE_MODE (valtype), 0);
4234 return gen_rtx_REG (TYPE_MODE (valtype),
4203 ix86_function_value(tree valtype, tree fntype_or_decl, bool outgoing ATTRIBUTE_UNUSED) argument
/freebsd-11-stable/contrib/gcc/config/arm/
H A Darm.c5471 arm_return_in_msb (tree valtype)
5475 && (AGGREGATE_TYPE_P (valtype)
5476 || TREE_CODE (valtype) == COMPLEX_TYPE));
5460 arm_return_in_msb(tree valtype) argument

Completed in 613 milliseconds