Lines Matching refs:tspec_t

96 portable_rank_cmp(tspec_t t1, tspec_t t2)
339 block_derive_type(type_t *tp, tspec_t t)
353 expr_derive_type(type_t *tp, tspec_t t)
376 tspec_t t = ln->tn_type->t_subt->t_tspec;
397 build_integer_constant(tspec_t t, int64_t si)
598 const tnode_t *ln, tspec_t lt,
599 const tnode_t *rn, tspec_t rt)
627 tspec_t lt = ln->tn_type->t_tspec;
628 tspec_t rt = rn->tn_type->t_tspec;
678 static const tspec_t arith_rank[] = {
689 static tspec_t
690 usual_arithmetic_conversion_trad(tspec_t lt, tspec_t rt)
698 tspec_t t = arith_rank[i];
705 static tspec_t
706 usual_arithmetic_conversion_c90(tspec_t lt, tspec_t rt)
741 apply_usual_arithmetic_conversions(op_t op, tnode_t *tn, tspec_t t)
761 tspec_t lt = (*lnp)->tn_type->t_tspec;
762 tspec_t rt = (*rnp)->tn_type->t_tspec;
766 tspec_t t = allow_c90
795 tspec_t t;
982 tspec_t t = tn->u.ops.left->tn_type->t_tspec;
1204 tspec_t lt = ln->tn_type->t_tspec;
1205 tspec_t rt = rn->tn_type->t_tspec;
1213 tspec_t szt = elsz->tn_type->t_tspec;
1258 tspec_t t = tn->tn_type->t_tspec;
1297 tspec_t lt = ln->tn_type->t_tspec;
1298 tspec_t rt = rn->tn_type->t_tspec;
1350 tspec_t nt = ntp->t_tspec, ot = otp->t_tspec;
1408 tspec_t lt = ln->tn_type->t_tspec;
1409 tspec_t rt = rn->tn_type->t_tspec;
1485 tspec_t t;
1608 floating_error_value(tspec_t t, long double lv)
1637 is_floating_overflow(tspec_t t, long double val)
1654 tspec_t t = tn->tn_type->t_tspec;
2146 typeok_point(const tnode_t *ln, const type_t *ltp, tspec_t lt)
2173 typeok_arrow(tspec_t lt)
2211 typeok_address(op_t op, const tnode_t *tn, const type_t *tp, tspec_t t)
2243 typeok_indir(const type_t *tp, tspec_t t)
2256 const type_t *ltp, tspec_t lt,
2257 const type_t *rtp, tspec_t rt)
2279 const type_t *ltp, tspec_t lt,
2280 const type_t *rtp, tspec_t rt)
2292 const type_t *ltp, tspec_t lt,
2293 const type_t *rtp, tspec_t rt)
2311 const tnode_t *ln, tspec_t lt,
2312 const tnode_t *rn, tspec_t rt)
2314 tspec_t olt = before_conversion(ln)->tn_type->t_tspec;
2315 tspec_t ort = before_conversion(rn)->tn_type->t_tspec;
2351 typeok_shl(op_t op, tspec_t lt, tspec_t rt)
2372 typeok_shift(const type_t *ltp, tspec_t lt, const tnode_t *rn, tspec_t rt)
2392 is_typeok_eq(const tnode_t *ln, tspec_t lt, const tnode_t *rn, tspec_t rt)
2407 tspec_t lt = ltp->t_subt->t_tspec;
2408 tspec_t rt = rtp->t_subt->t_tspec;
2435 tspec_t lst = ltp->t_subt->t_tspec, rst = rtp->t_subt->t_tspec;
2466 const tnode_t *ln, const type_t *ltp, tspec_t lt,
2467 const tnode_t *rn, const type_t *rtp, tspec_t rt)
2490 typeok_quest(tspec_t lt, const tnode_t *rn)
2506 tspec_t lst = lstp->t_tspec;
2507 tspec_t rst = rstp->t_tspec;
2526 typeok_colon(const tnode_t *ln, const type_t *ltp, tspec_t lt,
2527 const tnode_t *rn, const type_t *rtp, tspec_t rt)
2589 typeok_assign(op_t op, const tnode_t *ln, const type_t *ltp, tspec_t lt)
2613 const type_t *ltp, tspec_t lt,
2614 const type_t *rtp, tspec_t rt)
2646 tspec_t lt, tspec_t lst,
2647 tspec_t rt, tspec_t rst)
2762 const type_t *ltp, tspec_t lt,
2763 const type_t *lstp, tspec_t lst,
2765 const type_t *rtp, tspec_t rt,
2766 const type_t *rstp, tspec_t rst)
2805 const type_t *ltp, tspec_t lt,
2806 const type_t *rtp, tspec_t rt)
2837 const type_t *ltp, tspec_t lt,
2838 const type_t *rtp, tspec_t rt)
2853 const type_t *ltp, tspec_t lt,
2854 const type_t *rtp, tspec_t rt)
2884 tspec_t lt, rt, lst = NO_TSPEC, rst = NO_TSPEC;
2998 const tnode_t *ln, const type_t *ltp, tspec_t lt,
2999 const tnode_t *rn, const type_t *rtp, tspec_t rt)
3199 tspec_t lt = ltp->t_tspec;
3202 tspec_t rt = mp->m_binary ? rtp->t_tspec : NO_TSPEC;
3217 static tspec_t
3218 promote_trad(tspec_t t)
3238 static tspec_t
3239 promote_c90(const tnode_t *tn, tspec_t t, bool farg)
3279 tspec_t ot = otp->t_tspec;
3283 tspec_t nt = allow_c90 ? promote_c90(tn, ot, farg) : promote_trad(ot);
3336 should_warn_about_prototype_conversion(tspec_t nt,
3337 tspec_t ot, const tnode_t *ptn)
3382 check_prototype_conversion(int arg, tspec_t nt, tspec_t ot, type_t *tp,
3437 should_warn_about_integer_conversion(const type_t *ntp, tspec_t nt,
3438 const tnode_t *otn, tspec_t ot)
3458 convert_integer_from_integer(op_t op, int arg, tspec_t nt, tspec_t ot,
3505 convert_integer_from_pointer(op_t op, tspec_t nt, type_t *tp, tnode_t *tn)
3553 should_warn_about_pointer_cast(const type_t *nstp, tspec_t nst,
3554 const type_t *ostp, tspec_t ost)
3615 tspec_t nst = nstp->t_tspec;
3616 tspec_t ost = ostp->t_tspec;
3669 tspec_t nt = tp->t_tspec;
3670 tspec_t ot = tn->tn_type->t_tspec;
3721 tspec_t nt, val_t *nv, val_t *ov)
3789 convert_constant_to_floating(tspec_t nt, val_t *nv,
3790 tspec_t ot, const val_t *v)
3823 tspec_t ot, const val_t *v,
3873 tspec_t ot)
3900 tspec_t ot)
3920 convert_constant_check_range(tspec_t ot, const type_t *tp, tspec_t nt,
3957 tspec_t ot = ov->v_tspec;
3958 tspec_t nt = nv->v_tspec = ntp->t_tspec;
4185 tspec_t nt = tp->t_tspec;
4186 tspec_t ot = tn->tn_type->t_tspec;
4313 tspec_t at = arg->tn_type->t_tspec;
4426 is_constcond_false(const tnode_t *tn, tspec_t t)
4730 tspec_t t, ot;