Home
last modified time | relevance | path

Searched refs:totype (Results 1 – 25 of 28) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-convert.cc336 Type *totype = TYPE_LANG_FRONTEND (type); in d_convert() local
339 if (totype && etype) in d_convert()
340 return convert_expr (exp, etype, totype); in d_convert()
348 convert_expr (tree exp, Type *etype, Type *totype) in convert_expr() argument
352 gcc_assert (etype && totype); in convert_expr()
354 Type *tbtype = totype->toBasetype (); in convert_expr()
356 if (same_type_p (etype, totype)) in convert_expr()
369 delegate_object (exp), totype); in convert_expr()
380 totype->toChars ()); in convert_expr()
388 if (totype->size () == etype->size ()) in convert_expr()
[all …]
H A Dd-codegen.cc245 build_float_cst (const real_t &value, Type *totype) in build_float_cst() argument
248 TypeBasic *tb = totype->isTypeBasic (); in build_float_cst()
1854 tree totype = build_ctype (Type::tuns8->pointerTo ()); in void_okay_p() local
1855 return fold_convert (totype, t); in void_okay_p()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-convert.cc336 Type *totype = TYPE_LANG_FRONTEND (type); in d_convert() local
339 if (totype && etype) in d_convert()
340 return convert_expr (exp, etype, totype); in d_convert()
348 convert_expr (tree exp, Type *etype, Type *totype) in convert_expr() argument
352 gcc_assert (etype && totype); in convert_expr()
354 Type *tbtype = totype->toBasetype (); in convert_expr()
356 if (same_type_p (etype, totype)) in convert_expr()
369 delegate_object (exp), totype); in convert_expr()
380 totype->toChars ()); in convert_expr()
388 if (totype->size () == etype->size ()) in convert_expr()
[all …]
H A Dd-codegen.cc242 build_float_cst (const real_t& value, Type *totype) in build_float_cst() argument
245 TypeBasic *tb = totype->isTypeBasic (); in build_float_cst()
1725 tree totype = build_ctype (Type::tuns8->pointerTo ()); in void_okay_p() local
1726 return fold_convert (totype, t); in void_okay_p()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dcall.cc2531 tree totype = TREE_TYPE (TREE_TYPE (fn)); in add_conv_candidate() local
2537 for (parmlist = totype; TREE_CODE (parmlist) != FUNCTION_TYPE; ) in add_conv_candidate()
2549 if (*candidates && (*candidates)->fn == totype) in add_conv_candidate()
2566 t = build_conv (ck_user, totype, t); in add_conv_candidate()
2569 convert_type = totype; in add_conv_candidate()
2612 return add_candidate (candidates, totype, obj, arglist, len, convs, in add_conv_candidate()
4068 const vec<tree, va_gc> *args, tree totype, in add_list_candidates() argument
4088 && TYPE_HAS_DEFAULT_CONSTRUCTOR (totype)) in add_list_candidates()
4092 else if (TYPE_HAS_LIST_CTOR (totype)) in add_list_candidates()
4102 && !CP_AGGREGATE_TYPE_P (totype)) in add_list_candidates()
[all …]
H A Dcvt.cc1978 tree totype = c_common_type_for_size (precision, 0); in type_promotes_to() local
1980 && ! int_fits_type_p (TYPE_MAX_VALUE (prom), totype)) in type_promotes_to()
1983 prom = totype; in type_promotes_to()
H A Dtypeck.cc2531 string_conv_p (const_tree totype, const_tree exp, int warn) in string_conv_p() argument
2535 if (!TYPE_PTR_P (totype)) in string_conv_p()
2538 t = TREE_TYPE (totype); in string_conv_p()
2572 totype); in string_conv_p()
2576 totype); in string_conv_p()
H A DChangeLog-20172289 lookup_fnfields_slot if totype is CLASS_TYPE_P.
H A DChangeLog-200066 (add_conv_candidate): Handle totype being ref to ptr to fn.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dcall.c2467 tree totype = TREE_TYPE (TREE_TYPE (fn)); in add_conv_candidate() local
2473 for (parmlist = totype; TREE_CODE (parmlist) != FUNCTION_TYPE; ) in add_conv_candidate()
2485 if (*candidates && (*candidates)->fn == totype) in add_conv_candidate()
2502 t = build_conv (ck_user, totype, t); in add_conv_candidate()
2505 convert_type = totype; in add_conv_candidate()
2548 return add_candidate (candidates, totype, obj, arglist, len, convs, in add_conv_candidate()
3920 const vec<tree, va_gc> *args, tree totype, in add_list_candidates() argument
3940 && TYPE_HAS_DEFAULT_CONSTRUCTOR (totype)) in add_list_candidates()
3944 else if (TYPE_HAS_LIST_CTOR (totype)) in add_list_candidates()
3979 build_user_type_conversion_1 (tree totype, tree expr, int flags, in build_user_type_conversion_1() argument
[all …]
H A Dcvt.c1959 tree totype = c_common_type_for_size (precision, 0); in type_promotes_to() local
1961 && ! int_fits_type_p (TYPE_MAX_VALUE (prom), totype)) in type_promotes_to()
1964 prom = totype; in type_promotes_to()
H A Dtypeck.c2342 string_conv_p (const_tree totype, const_tree exp, int warn) in string_conv_p() argument
2346 if (!TYPE_PTR_P (totype)) in string_conv_p()
2349 t = TREE_TYPE (totype); in string_conv_p()
2383 totype); in string_conv_p()
2387 totype); in string_conv_p()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-types.c2117 tree totype = gfc_nonrestricted_type (TREE_TYPE (t)); in gfc_nonrestricted_type() local
2118 if (totype == TREE_TYPE (t)) in gfc_nonrestricted_type()
2121 ret = build_pointer_type (totype); in gfc_nonrestricted_type()
2123 ret = build_reference_type (totype); in gfc_nonrestricted_type()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-types.cc2177 tree totype = gfc_nonrestricted_type (TREE_TYPE (t)); in gfc_nonrestricted_type() local
2178 if (totype == TREE_TYPE (t)) in gfc_nonrestricted_type()
2181 ret = build_pointer_type (totype); in gfc_nonrestricted_type()
2183 ret = build_reference_type (totype); in gfc_nonrestricted_type()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-common.cc3669 tree totype = TREE_TYPE (expr); in c_common_truthvalue_conversion() local
3672 if (POINTER_TYPE_P (totype) in c_common_truthvalue_conversion()
3689 if (TREE_CODE (totype) == REFERENCE_TYPE in c_common_truthvalue_conversion()
3698 if (TYPE_PRECISION (totype) >= TYPE_PRECISION (fromtype)) in c_common_truthvalue_conversion()
3702 && TREE_CODE (totype) == INTEGER_TYPE) in c_common_truthvalue_conversion()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-common.c3431 tree totype = TREE_TYPE (expr); in c_common_truthvalue_conversion() local
3434 if (POINTER_TYPE_P (totype) in c_common_truthvalue_conversion()
3451 if (TREE_CODE (totype) == REFERENCE_TYPE in c_common_truthvalue_conversion()
3460 if (TYPE_PRECISION (totype) >= TYPE_PRECISION (fromtype)) in c_common_truthvalue_conversion()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/ia64/
H A Dia64.cc11237 ia64_invalid_conversion (const_tree fromtype, const_tree totype) in ia64_invalid_conversion() argument
11241 && TYPE_MODE (totype) != RFmode in ia64_invalid_conversion()
11242 && TYPE_MODE (totype) != VOIDmode) in ia64_invalid_conversion()
11244 if (TYPE_MODE (totype) == RFmode in ia64_invalid_conversion()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/ia64/
H A Dia64.c11237 ia64_invalid_conversion (const_tree fromtype, const_tree totype) in ia64_invalid_conversion() argument
11241 && TYPE_MODE (totype) != RFmode in ia64_invalid_conversion()
11242 && TYPE_MODE (totype) != VOIDmode) in ia64_invalid_conversion()
11244 if (TYPE_MODE (totype) == RFmode in ia64_invalid_conversion()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000.cc28302 rs6000_invalid_conversion (const_tree fromtype, const_tree totype) in rs6000_invalid_conversion() argument
28307 if (TYPE_CANONICAL (totype) != NULL_TREE) in rs6000_invalid_conversion()
28308 totype = TYPE_CANONICAL (totype); in rs6000_invalid_conversion()
28311 machine_mode tomode = TYPE_MODE (totype); in rs6000_invalid_conversion()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/
H A Drs6000.c26873 rs6000_invalid_conversion (const_tree fromtype, const_tree totype) in rs6000_invalid_conversion() argument
26878 if (TYPE_CANONICAL (totype) != NULL_TREE) in rs6000_invalid_conversion()
26879 totype = TYPE_CANONICAL (totype); in rs6000_invalid_conversion()
26882 machine_mode tomode = TYPE_MODE (totype); in rs6000_invalid_conversion()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/aarch64/
H A Daarch64.c23398 aarch64_invalid_conversion (const_tree fromtype, const_tree totype) in aarch64_invalid_conversion() argument
23400 if (element_mode (fromtype) != element_mode (totype)) in aarch64_invalid_conversion()
23405 if (TYPE_MODE (totype) == BFmode) in aarch64_invalid_conversion()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/aarch64/
H A Daarch64.cc27085 aarch64_invalid_conversion (const_tree fromtype, const_tree totype) in aarch64_invalid_conversion() argument
27087 if (element_mode (fromtype) != element_mode (totype)) in aarch64_invalid_conversion()
27092 if (TYPE_MODE (totype) == BFmode) in aarch64_invalid_conversion()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/arm/
H A Darm.c33273 arm_invalid_conversion (const_tree fromtype, const_tree totype) in arm_invalid_conversion() argument
33275 if (element_mode (fromtype) != element_mode (totype)) in arm_invalid_conversion()
33280 if (TYPE_MODE (totype) == BFmode) in arm_invalid_conversion()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/arm/
H A Darm.cc34046 arm_invalid_conversion (const_tree fromtype, const_tree totype) in arm_invalid_conversion() argument
34048 if (element_mode (fromtype) != element_mode (totype)) in arm_invalid_conversion()
34053 if (TYPE_MODE (totype) == BFmode) in arm_invalid_conversion()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtarget.def5285 invalid to convert from @var{fromtype} to @var{totype}, or @code{NULL}\n\
5287 const char *, (const_tree fromtype, const_tree totype),

12