| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | ppc-sysv-tdep.c | 518 ppc_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, in ppc_sysv_abi_return_value() argument 522 return do_ppc_sysv_return_value (gdbarch, valtype, regcache, readbuf, in ppc_sysv_abi_return_value() 528 struct type *valtype, in ppc_sysv_abi_broken_return_value() argument 532 return do_ppc_sysv_return_value (gdbarch, valtype, regcache, readbuf, in ppc_sysv_abi_broken_return_value() 850 ppc64_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, in ppc64_sysv_abi_return_value() argument 862 if (TYPE_CODE (valtype) == TYPE_CODE_FLT && TYPE_LENGTH (valtype) <= 8) in ppc64_sysv_abi_return_value() 868 convert_typed_floating (writebuf, valtype, regval, regtype); in ppc64_sysv_abi_return_value() 874 convert_typed_floating (regval, regtype, readbuf, valtype); in ppc64_sysv_abi_return_value() 878 if (TYPE_CODE (valtype) == TYPE_CODE_INT && TYPE_LENGTH (valtype) <= 8) in ppc64_sysv_abi_return_value() 885 unpack_long (valtype, writebuf)); in ppc64_sysv_abi_return_value() [all …]
|
| H A D | ppcnbsd-tdep.c | 248 ppcnbsd_return_value (struct gdbarch *gdbarch, struct type *valtype, in ppcnbsd_return_value() argument 252 if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT in ppcnbsd_return_value() 253 || TYPE_CODE (valtype) == TYPE_CODE_UNION) in ppcnbsd_return_value() 254 && !((TYPE_LENGTH (valtype) == 16 || TYPE_LENGTH (valtype) == 8) in ppcnbsd_return_value() 255 && TYPE_VECTOR (valtype)) in ppcnbsd_return_value() 256 && !(TYPE_LENGTH (valtype) == 1 in ppcnbsd_return_value() 257 || TYPE_LENGTH (valtype) == 2 in ppcnbsd_return_value() 258 || TYPE_LENGTH (valtype) == 4 in ppcnbsd_return_value() 259 || TYPE_LENGTH (valtype) == 8)) in ppcnbsd_return_value() 262 return ppc_sysv_abi_broken_return_value (gdbarch, valtype, regcache, in ppcnbsd_return_value()
|
| H A D | arch-utils.c | 70 legacy_return_value (struct gdbarch *gdbarch, struct type *valtype, in legacy_return_value() argument 76 int struct_return = ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT in legacy_return_value() 77 || TYPE_CODE (valtype) == TYPE_CODE_UNION in legacy_return_value() 78 || TYPE_CODE (valtype) == TYPE_CODE_ARRAY) in legacy_return_value() 79 && DEPRECATED_USE_STRUCT_CONVENTION (0, valtype)); in legacy_return_value() 87 gdb_assert (TYPE_CODE (valtype) != TYPE_CODE_STRUCT in legacy_return_value() 88 && TYPE_CODE (valtype) != TYPE_CODE_UNION); in legacy_return_value() 89 STORE_RETURN_VALUE (valtype, regcache, writebuf); in legacy_return_value() 95 EXTRACT_RETURN_VALUE (valtype, regcache, readbuf); in legacy_return_value()
|
| H A D | d10v-tdep.c | 374 d10v_return_value (struct gdbarch *gdbarch, struct type *valtype, in d10v_return_value() argument 378 if (TYPE_LENGTH (valtype) > 8) in d10v_return_value() 381 if (TYPE_LENGTH (valtype) == 5 in d10v_return_value() 382 || TYPE_LENGTH (valtype) == 6) in d10v_return_value() 387 if (TYPE_LENGTH (valtype) == 1) in d10v_return_value() 399 store_unsigned_integer (readbuf, TYPE_LENGTH (valtype), regval); in d10v_return_value() 405 if (TYPE_CODE (valtype) == TYPE_CODE_INT) in d10v_return_value() 409 regval = unpack_long (valtype, writebuf); in d10v_return_value() 418 if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT in d10v_return_value() 419 || TYPE_CODE (valtype) == TYPE_CODE_UNION) in d10v_return_value() [all …]
|
| H A D | ns32k-tdep.c | 457 ns32k_extract_return_value (struct type *valtype, char *regbuf, char *valbuf) in ns32k_extract_return_value() argument 460 regbuf + DEPRECATED_REGISTER_BYTE (TYPE_CODE (valtype) == TYPE_CODE_FLT ? in ns32k_extract_return_value() 461 FP0_REGNUM : 0), TYPE_LENGTH (valtype)); in ns32k_extract_return_value() 465 ns32k_store_return_value (struct type *valtype, char *valbuf) in ns32k_store_return_value() argument 467 deprecated_write_register_bytes (TYPE_CODE (valtype) == TYPE_CODE_FLT in ns32k_store_return_value() 469 TYPE_LENGTH (valtype)); in ns32k_store_return_value()
|
| H A D | alpha-tdep.c | 205 struct type *valtype, void *out) in alpha_register_to_value() argument 209 switch (TYPE_LENGTH (valtype)) in alpha_register_to_value() 224 struct type *valtype, const void *in) in alpha_value_to_register() argument 227 switch (TYPE_LENGTH (valtype)) in alpha_value_to_register() 431 alpha_extract_return_value (struct type *valtype, struct regcache *regcache, in alpha_extract_return_value() argument 434 int length = TYPE_LENGTH (valtype); in alpha_extract_return_value() 438 switch (TYPE_CODE (valtype)) in alpha_extract_return_value() 509 alpha_store_return_value (struct type *valtype, struct regcache *regcache, in alpha_store_return_value() argument 512 int length = TYPE_LENGTH (valtype); in alpha_store_return_value() 516 switch (TYPE_CODE (valtype)) in alpha_store_return_value() [all …]
|
| H A D | ppc-linux-tdep.c | 486 ppc_linux_return_value (struct gdbarch *gdbarch, struct type *valtype, in ppc_linux_return_value() argument 490 if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT in ppc_linux_return_value() 491 || TYPE_CODE (valtype) == TYPE_CODE_UNION) in ppc_linux_return_value() 492 && !((TYPE_LENGTH (valtype) == 16 || TYPE_LENGTH (valtype) == 8) in ppc_linux_return_value() 493 && TYPE_VECTOR (valtype))) in ppc_linux_return_value() 496 return ppc_sysv_abi_return_value (gdbarch, valtype, regcache, readbuf, in ppc_linux_return_value()
|
| H A D | ppc-tdep.h | 34 struct type *valtype, 39 struct type *valtype, 69 struct type *valtype,
|
| H A D | m32r-tdep.c | 793 m32r_return_value (struct gdbarch *gdbarch, struct type *valtype, in m32r_return_value() argument 797 if (TYPE_LENGTH (valtype) > 8) in m32r_return_value() 802 m32r_extract_return_value (valtype, regcache, readbuf); in m32r_return_value() 804 m32r_store_return_value (valtype, regcache, writebuf); in m32r_return_value()
|
| H A D | m68hc11-tdep.c | 1336 m68hc11_return_value (struct gdbarch *gdbarch, struct type *valtype, in m68hc11_return_value() argument 1340 if (TYPE_CODE (valtype) == TYPE_CODE_STRUCT in m68hc11_return_value() 1341 || TYPE_CODE (valtype) == TYPE_CODE_UNION in m68hc11_return_value() 1342 || TYPE_CODE (valtype) == TYPE_CODE_ARRAY in m68hc11_return_value() 1343 || TYPE_LENGTH (valtype) > 4) in m68hc11_return_value() 1348 m68hc11_extract_return_value (valtype, regcache, readbuf); in m68hc11_return_value() 1350 m68hc11_store_return_value (valtype, regcache, writebuf); in m68hc11_return_value()
|
| H A D | arch-utils.h | 39 struct type *valtype,
|
| H A D | rs6000-tdep.c | 1653 rs6000_extract_return_value (struct type *valtype, char *regbuf, char *valbuf) in rs6000_extract_return_value() argument 1663 if (TYPE_CODE (valtype) == TYPE_CODE_FLT) in rs6000_extract_return_value() 1674 valtype); in rs6000_extract_return_value() 1676 else if (TYPE_CODE (valtype) == TYPE_CODE_ARRAY in rs6000_extract_return_value() 1677 && TYPE_LENGTH (valtype) == 16 in rs6000_extract_return_value() 1678 && TYPE_VECTOR (valtype)) in rs6000_extract_return_value() 1681 TYPE_LENGTH (valtype)); in rs6000_extract_return_value() 1687 && TYPE_LENGTH (valtype) < register_size (current_gdbarch, 3)) in rs6000_extract_return_value() 1688 offset = register_size (current_gdbarch, 3) - TYPE_LENGTH (valtype); in rs6000_extract_return_value() 1692 TYPE_LENGTH (valtype)); in rs6000_extract_return_value()
|
| /openbsd-src/usr.sbin/bgpctl/ |
| H A D | ometric.c | 57 enum ovalue_type valtype; member 316 switch (ov->valtype) { in ometric_output_value() 395 ov->valtype = OVT_INTEGER; in ometric_set_int_value() 428 ov->valtype = OVT_DOUBLE; in ometric_set_float() 450 ov->valtype = OVT_TIMESPEC; in ometric_set_timespec()
|
| /openbsd-src/usr.sbin/rpki-client/ |
| H A D | ometric.c | 57 enum ovalue_type valtype; member 318 switch (ov->valtype) { in ometric_output_value() 397 ov->valtype = OVT_INTEGER; in ometric_set_int_value() 430 ov->valtype = OVT_DOUBLE; in ometric_set_float() 452 ov->valtype = OVT_TIMESPEC; in ometric_set_timespec()
|
| /openbsd-src/sys/dev/pv/ |
| H A D | hypervic.c | 544 uint32_t vallen, uint32_t valtype) in kvp_pool_insert() argument 569 if ((kpe->kpe_valtype = valtype) == HV_KVP_REG_SZ) in kvp_pool_insert() 585 uint32_t vallen, uint32_t valtype) in kvp_pool_update() argument 604 if ((kpe->kpe_valtype = valtype) == HV_KVP_REG_SZ) in kvp_pool_update() 616 const char *val, uint32_t vallen, uint32_t valtype) in kvp_pool_import() argument 646 kpe->kpe_valtype = valtype; in kvp_pool_import() 655 uint32_t *keylen, char *val, uint32_t *vallen, uint32_t *valtype) in kvp_pool_export() argument 674 *valtype = kpe->kpe_valtype; in kvp_pool_export()
|
| /openbsd-src/gnu/gcc/gcc/config/score/ |
| H A D | score-protos.h | 59 rtx score_function_value (tree valtype, tree func, enum machine_mode mode);
|
| H A D | score.c | 734 score_function_value (tree valtype, tree func ATTRIBUTE_UNUSED, in score_function_value() argument 737 if (valtype) in score_function_value() 740 mode = TYPE_MODE (valtype); in score_function_value() 741 unsignedp = TYPE_UNSIGNED (valtype); in score_function_value() 742 mode = promote_mode (valtype, mode, &unsignedp, 1); in score_function_value()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | explow.c | 1660 hard_function_value (valtype, func, outgoing) in hard_function_value() argument 1661 tree valtype; in hard_function_value() 1669 val = FUNCTION_OUTGOING_VALUE (valtype, func); 1672 val = FUNCTION_VALUE (valtype, func); 1677 unsigned HOST_WIDE_INT bytes = int_size_in_bytes (valtype);
|
| H A D | c-typeck.c | 356 tree valtype = common_type (TREE_TYPE (t1), TREE_TYPE (t2)); local 364 if (valtype == TREE_TYPE (t1) && ! TYPE_ARG_TYPES (t2)) 366 if (valtype == TREE_TYPE (t2) && ! TYPE_ARG_TYPES (t1)) 372 t1 = build_function_type (valtype, TYPE_ARG_TYPES (t2)); 377 t1 = build_function_type (valtype, TYPE_ARG_TYPES (t1)); 448 t1 = build_function_type (valtype, newargs); 7074 tree valtype = TREE_TYPE (TREE_TYPE (current_function_decl)); local 7083 && valtype != 0 && TREE_CODE (valtype) != VOID_TYPE) 7086 else if (valtype == 0 || TREE_CODE (valtype) == VOID_TYPE) 7094 tree t = convert_for_assignment (valtype, retval, _("return"),
|
| /openbsd-src/gnu/gcc/gcc/cp/ |
| H A D | typeck.c | 669 tree valtype = merge_types (TREE_TYPE (t1), TREE_TYPE (t2)); in merge_types() local 675 if (valtype == TREE_TYPE (t1) && ! p2) in merge_types() 677 if (valtype == TREE_TYPE (t2) && ! p1) in merge_types() 683 rval = build_function_type (valtype, p2); in merge_types() 691 rval = build_function_type (valtype, p1); in merge_types() 697 rval = build_function_type (valtype, commonparms (p1, p2)); in merge_types() 6381 tree valtype = TREE_TYPE (DECL_RESULT (current_function_decl)); in maybe_warn_about_returning_address_of_local() local 6400 if (TREE_CODE (valtype) == REFERENCE_TYPE) in maybe_warn_about_returning_address_of_local() 6427 if (TREE_CODE (valtype) == REFERENCE_TYPE) in maybe_warn_about_returning_address_of_local() 6450 tree valtype; in check_return_expr() local [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/cp/ |
| H A D | typeck.c | 642 tree valtype = merge_types (TREE_TYPE (t1), TREE_TYPE (t2)); local 648 if (valtype == TREE_TYPE (t1) && ! p2) 650 if (valtype == TREE_TYPE (t2) && ! p1) 656 rval = build_function_type (valtype, p2); 664 rval = build_function_type (valtype, p1); 670 rval = build_function_type (valtype, commonparms (p1, p2)); 6171 tree valtype = TREE_TYPE (DECL_RESULT (current_function_decl)); local 6190 if (TREE_CODE (valtype) == REFERENCE_TYPE) 6215 if (TREE_CODE (valtype) == REFERENCE_TYPE) 6237 tree valtype; local [all …]
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | explow.c | 1470 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()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/stormy16/ |
| H A D | stormy16.c | 1352 xstormy16_function_value (valtype, func) in xstormy16_function_value() argument 1353 tree valtype; in xstormy16_function_value() 1357 mode = TYPE_MODE (valtype); 1358 PROMOTE_MODE (mode, 0, valtype);
|
| /openbsd-src/gnu/gcc/gcc/config/pa/ |
| H A D | pa.c | 8991 function_value (tree valtype, tree func ATTRIBUTE_UNUSED) in function_value() argument 8995 if (AGGREGATE_TYPE_P (valtype) in function_value() 8996 || TREE_CODE (valtype) == COMPLEX_TYPE in function_value() 8997 || TREE_CODE (valtype) == VECTOR_TYPE) in function_value() 9007 int ub = int_size_in_bytes (valtype) <= UNITS_PER_WORD ? 1 : 2; in function_value() 9019 else if (int_size_in_bytes (valtype) > UNITS_PER_WORD) in function_value() 9033 if ((INTEGRAL_TYPE_P (valtype) in function_value() 9034 && TYPE_PRECISION (valtype) < BITS_PER_WORD) in function_value() 9035 || POINTER_TYPE_P (valtype)) in function_value() 9038 valmode = TYPE_MODE (valtype); in function_value() [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/ia64/ |
| H A D | ia64.c | 3682 ia64_return_in_memory (valtype) in ia64_return_in_memory() argument 3683 tree valtype; in ia64_return_in_memory() 3689 mode = TYPE_MODE (valtype); 3693 byte_size = int_size_in_bytes (valtype); 3700 hfa_mode = hfa_element_mode (valtype, 0); 3719 ia64_function_value (valtype, func) in ia64_function_value() argument 3720 tree valtype; in ia64_function_value() 3726 mode = TYPE_MODE (valtype); 3727 hfa_mode = hfa_element_mode (valtype, 0); 3739 ? int_size_in_bytes (valtype) : GET_MODE_SIZE (mode)); [all …]
|