Lines Matching refs:tspec_t
134 portable_rank_cmp(tspec_t t1, tspec_t t2)
594 block_derive_type(type_t *tp, tspec_t t)
608 expr_derive_type(type_t *tp, tspec_t t)
653 tspec_t t = ln->tn_type->t_subt->t_tspec;
674 build_integer_constant(tspec_t t, int64_t si)
885 const tnode_t *ln, tspec_t lt,
886 const tnode_t *rn, tspec_t rt)
914 tspec_t lt = ln->tn_type->t_tspec;
915 tspec_t rt = rn->tn_type->t_tspec;
965 static const tspec_t arith_rank[] = {
976 static tspec_t
977 usual_arithmetic_conversion_trad(tspec_t lt, tspec_t rt)
985 tspec_t t = arith_rank[i];
992 static tspec_t
993 usual_arithmetic_conversion_c90(tspec_t lt, tspec_t rt)
1028 apply_usual_arithmetic_conversions(op_t op, tnode_t *tn, tspec_t t)
1048 tspec_t lt = (*lnp)->tn_type->t_tspec;
1049 tspec_t rt = (*rnp)->tn_type->t_tspec;
1053 tspec_t t = allow_c90
1258 tspec_t t = tn->u.ops.left->tn_type->t_tspec;
1490 tspec_t lt = ln->tn_type->t_tspec;
1491 tspec_t rt = rn->tn_type->t_tspec;
1499 tspec_t szt = elsz->tn_type->t_tspec;
1544 tspec_t t = tn->tn_type->t_tspec;
1583 tspec_t lt = ln->tn_type->t_tspec;
1584 tspec_t rt = rn->tn_type->t_tspec;
1636 tspec_t nt = ntp->t_tspec, ot = otp->t_tspec;
1694 tspec_t lt = ln->tn_type->t_tspec;
1695 tspec_t rt = rn->tn_type->t_tspec;
1769 tspec_t t;
1879 floating_error_value(tspec_t t, long double lv)
1908 is_floating_overflow(tspec_t t, long double val)
1925 tspec_t t = tn->tn_type->t_tspec;
2420 typeok_point(const tnode_t *ln, const type_t *ltp, tspec_t lt)
2447 typeok_arrow(tspec_t lt)
2485 typeok_address(op_t op, const tnode_t *tn, const type_t *tp, tspec_t t)
2517 typeok_indir(const type_t *tp, tspec_t t)
2530 const type_t *ltp, tspec_t lt,
2531 const type_t *rtp, tspec_t rt)
2553 const type_t *ltp, tspec_t lt,
2554 const type_t *rtp, tspec_t rt)
2566 const type_t *ltp, tspec_t lt,
2567 const type_t *rtp, tspec_t rt)
2584 typeok_shr(const tnode_t *ln, tspec_t lt,
2585 const tnode_t *rn, tspec_t rt)
2587 tspec_t olt = before_conversion(ln)->tn_type->t_tspec;
2588 tspec_t ort = before_conversion(rn)->tn_type->t_tspec;
2648 typeok_shl(const tnode_t *ln, tspec_t lt, const tnode_t *rn, tspec_t rt)
2662 typeok_shift(const tnode_t *ln, tspec_t lt, const tnode_t *rn, tspec_t rt)
2683 is_typeok_eq(const tnode_t *ln, tspec_t lt, const tnode_t *rn, tspec_t rt)
2698 tspec_t lt = ltp->t_subt->t_tspec;
2699 tspec_t rt = rtp->t_subt->t_tspec;
2726 tspec_t lst = ltp->t_subt->t_tspec, rst = rtp->t_subt->t_tspec;
2757 const tnode_t *ln, const type_t *ltp, tspec_t lt,
2758 const tnode_t *rn, const type_t *rtp, tspec_t rt)
2781 typeok_quest(tspec_t lt, const tnode_t *rn)
2797 tspec_t lst = lstp->t_tspec;
2798 tspec_t rst = rstp->t_tspec;
2817 typeok_colon(const tnode_t *ln, const type_t *ltp, tspec_t lt,
2818 const tnode_t *rn, const type_t *rtp, tspec_t rt)
2880 typeok_assign(op_t op, const tnode_t *ln, const type_t *ltp, tspec_t lt)
2904 const type_t *ltp, tspec_t lt,
2905 const type_t *rtp, tspec_t rt)
2937 tspec_t lt, tspec_t lst,
2938 tspec_t rt, tspec_t rst)
3053 tspec_t lt,
3054 const type_t *lstp, tspec_t lst,
3056 const type_t *rtp, tspec_t rt,
3057 const type_t *rstp, tspec_t rst)
3098 const type_t *ltp, tspec_t lt,
3099 const type_t *rtp, tspec_t rt)
3131 const type_t *ltp, tspec_t lt,
3132 const type_t *rtp, tspec_t rt)
3147 const type_t *ltp, tspec_t lt,
3148 const type_t *rtp, tspec_t rt)
3178 tspec_t lt, rt, lst = NO_TSPEC, rst = NO_TSPEC;
3290 const tnode_t *ln, const type_t *ltp, tspec_t lt,
3291 const tnode_t *rn, const type_t *rtp, tspec_t rt)
3493 tspec_t lt = ltp->t_tspec;
3496 tspec_t rt = mp->m_binary ? rtp->t_tspec : NO_TSPEC;
3511 static tspec_t
3512 promote_trad(tspec_t t)
3532 static tspec_t
3533 promote_c90(const tnode_t *tn, tspec_t t, bool farg)
3573 tspec_t ot = otp->t_tspec;
3577 tspec_t nt = allow_c90 ? promote_c90(tn, ot, farg) : promote_trad(ot);
3623 should_warn_about_prototype_conversion(tspec_t nt,
3624 tspec_t ot, const tnode_t *ptn)
3669 check_prototype_conversion(int arg, tspec_t nt, tspec_t ot, type_t *tp,
3724 should_warn_about_integer_conversion(const type_t *ntp, tspec_t nt,
3725 const tnode_t *otn, tspec_t ot)
3745 convert_integer_from_integer(op_t op, int arg, tspec_t nt, tspec_t ot,
3789 convert_integer_from_pointer(op_t op, tspec_t nt, type_t *tp, tnode_t *tn)
3837 should_warn_about_pointer_cast(const type_t *nstp, tspec_t nst,
3838 const type_t *ostp, tspec_t ost)
3899 tspec_t nst = nstp->t_tspec;
3900 tspec_t ost = ostp->t_tspec;
3952 tspec_t nt = tp->t_tspec;
3953 tspec_t ot = tn->tn_type->t_tspec;
4004 tspec_t nt, val_t *nv, val_t *ov)
4072 convert_constant_to_floating(tspec_t nt, val_t *nv,
4073 tspec_t ot, const val_t *v)
4116 tspec_t ot, const val_t *v,
4165 tspec_t ot)
4192 tspec_t ot)
4212 convert_constant_check_range(tspec_t ot, const type_t *tp, tspec_t nt,
4247 tspec_t ot = ov->v_tspec;
4248 tspec_t nt = nv->v_tspec = ntp->t_tspec;
4475 tspec_t nt = tp->t_tspec;
4476 tspec_t ot = tn->tn_type->t_tspec;
4601 tspec_t at = arg->tn_type->t_tspec;
5039 tspec_t t, ot;