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

/freebsd-9.3-release/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.c1230 register_value_being_returned (struct type *valtype, struct regcache *retbuf)
1232 struct value *val = allocate_value (valtype);
1236 if (TYPE_CODE (valtype) == TYPE_CODE_VOID)
1245 CHECK_TYPEDEF (valtype);
1246 EXTRACT_RETURN_VALUE (valtype, retbuf, VALUE_CONTENTS_RAW (val));
1251 gdb_assert (gdbarch_return_value (current_gdbarch, valtype,
1254 gdbarch_return_value (current_gdbarch, valtype, retbuf,
1221 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.h420 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-9.3-release/cddl/contrib/opensolaris/lib/libnvpair/
H A Dlibnvpair.h132 * valtype Value of the member to render
139 #define NVLIST_PRINTCTL_SVDECL(funcname, valtype) \
141 int (*)(nvlist_prtctl_t, void *, nvlist_t *, const char *, valtype), \
/freebsd-9.3-release/contrib/gcc/cp/
H A Dtypeck.c670 tree valtype = merge_types (TREE_TYPE (t1), TREE_TYPE (t2));
676 if (valtype == TREE_TYPE (t1) && ! p2)
678 if (valtype == TREE_TYPE (t2) && ! p1)
684 rval = build_function_type (valtype, p2);
692 rval = build_function_type (valtype, p1);
698 rval = build_function_type (valtype, commonparms (p1, p2));
6447 tree valtype = TREE_TYPE (DECL_RESULT (current_function_decl));
6466 if (TREE_CODE (valtype) == REFERENCE_TYPE)
6493 if (TREE_CODE (valtype) == REFERENCE_TYPE)
6516 tree valtype;
669 tree valtype = merge_types (TREE_TYPE (t1), TREE_TYPE (t2)); local
6431 tree valtype = TREE_TYPE (DECL_RESULT (current_function_decl)); local
6500 tree valtype; local
[all...]
/freebsd-9.3-release/bin/expr/
H A Dexpr.y31 enum valtype {
36 enum valtype type;
/freebsd-9.3-release/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.c398 tree valtype = composite_type (TREE_TYPE (t1), TREE_TYPE (t2));
406 if (valtype == TREE_TYPE (t1) && !TYPE_ARG_TYPES (t2))
408 if (valtype == TREE_TYPE (t2) && !TYPE_ARG_TYPES (t1))
414 t1 = build_function_type (valtype, TYPE_ARG_TYPES (t2));
420 t1 = build_function_type (valtype, TYPE_ARG_TYPES (t1));
513 t1 = build_function_type (valtype, newargs);
6986 tree valtype = TREE_TYPE (TREE_TYPE (current_function_decl)), ret_stmt;
6996 && valtype != 0 && TREE_CODE (valtype) != VOID_TYPE)
7003 else if (valtype
395 tree valtype = composite_type (TREE_TYPE (t1), TREE_TYPE (t2)); local
6952 tree valtype = TREE_TYPE (TREE_TYPE (current_function_decl)), ret_stmt; local
[all...]
H A Dexpr.c7743 tree valtype = TREE_TYPE (TREE_OPERAND (exp, 0));
7747 if (mode == BLKmode && TYPE_MODE (valtype) == BLKmode)
7768 adjust_address (target, TYPE_MODE (valtype), 0),
7781 0, TYPE_MODE (valtype), TREE_OPERAND (exp, 0),
7723 tree valtype = TREE_TYPE (TREE_OPERAND (exp, 0)); local
/freebsd-9.3-release/contrib/gcc/config/mips/
H A Dmips.c7451 mips_fpr_return_fields (tree valtype, tree *fields)
7459 if (TREE_CODE (valtype) != RECORD_TYPE)
7463 for (field = TYPE_FIELDS (valtype); field != 0; field = TREE_CHAIN (field))
7491 mips_return_in_msb (tree valtype) argument
7497 && AGGREGATE_TYPE_P (valtype)
7498 && mips_fpr_return_fields (valtype, fields) == 0);
7536 mips_function_value (tree valtype, tree func ATTRIBUTE_UNUSED,
7539 if (valtype)
7544 mode = TYPE_MODE (valtype);
7545 unsignedp = TYPE_UNSIGNED (valtype);
7406 mips_fpr_return_fields(tree valtype, tree *fields) argument
7446 mips_return_in_msb(tree valtype) argument
[all...]
/freebsd-9.3-release/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-9.3-release/contrib/gcc/config/rs6000/
H A Drs6000.c19359 rs6000_function_value (tree valtype, tree func ATTRIBUTE_UNUSED)
19366 && TYPE_MODE (valtype) == BLKmode
19367 && TREE_CODE (valtype) == RECORD_TYPE
19368 && int_size_in_bytes (valtype) > 0)
19378 valret = rs6000_darwin64_record_arg (&valcum, valtype, 1, true);
19384 if (TARGET_32BIT && TARGET_POWERPC64 && TYPE_MODE (valtype) == DImode)
19397 if (TARGET_32BIT && TARGET_POWERPC64 && TYPE_MODE (valtype) == DCmode)
19418 mode = TYPE_MODE (valtype);
19419 if ((INTEGRAL_TYPE_P (valtype) && GET_MODE_BITSIZE (mode) < BITS_PER_WORD)
19420 || POINTER_TYPE_P (valtype))
19313 rs6000_function_value(tree valtype, tree func ATTRIBUTE_UNUSED) argument
[all...]
/freebsd-9.3-release/contrib/gcc/config/i386/
H A Di386.c4197 ix86_function_value (tree valtype, tree fntype_or_decl,
4200 enum machine_mode natmode = type_natural_mode (valtype);
4204 rtx ret = construct_container (natmode, TYPE_MODE (valtype), valtype,
4210 ret = gen_rtx_REG (TYPE_MODE (valtype), 0);
4220 return gen_rtx_REG (TYPE_MODE (valtype),
4189 ix86_function_value(tree valtype, tree fntype_or_decl, bool outgoing ATTRIBUTE_UNUSED) argument
/freebsd-9.3-release/contrib/gcc/config/arm/
H A Darm.c5469 arm_return_in_msb (tree valtype)
5473 && (AGGREGATE_TYPE_P (valtype)
5474 || TREE_CODE (valtype) == COMPLEX_TYPE));
5458 arm_return_in_msb(tree valtype) argument

Completed in 637 milliseconds