Home
last modified time | relevance | path

Searched refs:telem (Results 1 – 21 of 21) sorted by relevance

/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/
H A Daggregate.d473 Type telem = vx.type; in fill() local
474 if (telem.ty == Tsarray) in fill()
482 while ((tsa = telem.toBasetype().isTypeSArray()) !is null) in fill()
483 telem = tsa.next; in fill()
484 if (telem.ty == Tvoid) in fill()
485 telem = Type.tuns8.addMod(telem.mod); in fill()
487 if (telem.needsNested() && ctorinit) in fill()
488 e = telem.defaultInit(loc); in fill()
490 e = telem.defaultInitLiteral(loc); in fill()
H A Ddstruct.c748 Type *telem = vx->type; in fill() local
749 if (telem->ty == Tsarray) in fill()
756 while (telem->toBasetype()->ty == Tsarray) in fill()
757 telem = ((TypeSArray *)telem->toBasetype())->next; in fill()
759 if (telem->ty == Tvoid) in fill()
760 telem = Type::tuns8->addMod(telem->mod); in fill()
762 if (telem->needsNested() && ctorinit) in fill()
763 e = telem->defaultInit(loc); in fill()
765 e = telem->defaultInitLiteral(loc); in fill()
H A Dexpression.c3883 TY telem = type->nextOf()->toBasetype()->ty; in toStringExp() local
3885 if (telem == Tchar || telem == Twchar || telem == Tdchar || in toStringExp()
3886 (telem == Tvoid && (!elements || elements->dim == 0))) in toStringExp()
3889 if (telem == Twchar) sz = 2; in toStringExp()
3890 else if (telem == Tdchar) sz = 4; in toStringExp()
H A Dexpression.d3028 TY telem = type.nextOf().toBasetype().ty; in toStringExp() local
3029 if (telem.isSomeChar || (telem == Tvoid && (!elements || elements.dim == 0))) in toStringExp()
3032 if (telem == Twchar) in toStringExp()
3034 else if (telem == Tdchar) in toStringExp()
H A Dexpressionsem.c5992 Type *telem = t1; in visit() local
5993 while (telem->ty == Tarray) in visit()
5994 telem = telem->nextOf(); in visit()
5997 t1->nextOf() && (telem->ty != Tvoid || e2x->op == TOKnull) && in visit()
H A Dstatementsem.c1132 Type *telem = (*fs->parameters)[dim - 1]->type; in visit() local
1136 fs->aggr = fs->aggr->implicitCastTo(sc, telem->sarrayOf(edim)); in visit()
H A Dstatementsem.d1062 auto telem = (*fs.parameters)[dim - 1].type; in package() local
1067 fs.aggr = fs.aggr.implicitCastTo(sc, telem.sarrayOf(edim)); in package()
H A Dtypesem.d836 Type telem = (*tt.arguments)[cast(size_t)d].type; in typeSemantic() local
837 return telem.addMod(mtype.mod); in typeSemantic()
H A Dexpressionsem.d9685 Type telem = t1; in visit() local
9686 while (telem.ty == Tarray) in visit()
9687 telem = telem.nextOf(); in visit()
9690 (telem.ty != Tvoid || e2x.op == EXP.null_) && in visit()
H A Dmtype.c4188 Type *telem = (*tt->arguments)[(size_t)d]->type; in semantic() local
4189 return telem->addMod(this->mod); in semantic()
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddstruct.c748 Type *telem = vx->type; in fill() local
749 if (telem->ty == Tsarray) in fill()
756 while (telem->toBasetype()->ty == Tsarray) in fill()
757 telem = ((TypeSArray *)telem->toBasetype())->next; in fill()
759 if (telem->ty == Tvoid) in fill()
760 telem = Type::tuns8->addMod(telem->mod); in fill()
762 if (telem->needsNested() && ctorinit) in fill()
763 e = telem->defaultInit(loc); in fill()
765 e = telem->defaultInitLiteral(loc); in fill()
H A Dexpression.c3883 TY telem = type->nextOf()->toBasetype()->ty; in toStringExp() local
3885 if (telem == Tchar || telem == Twchar || telem == Tdchar || in toStringExp()
3886 (telem == Tvoid && (!elements || elements->dim == 0))) in toStringExp()
3889 if (telem == Twchar) sz = 2; in toStringExp()
3890 else if (telem == Tdchar) sz = 4; in toStringExp()
H A Dexpressionsem.c5992 Type *telem = t1; in visit() local
5993 while (telem->ty == Tarray) in visit()
5994 telem = telem->nextOf(); in visit()
5997 t1->nextOf() && (telem->ty != Tvoid || e2x->op == TOKnull) && in visit()
H A Dstatementsem.c1132 Type *telem = (*fs->parameters)[dim - 1]->type; in visit() local
1136 fs->aggr = fs->aggr->implicitCastTo(sc, telem->sarrayOf(edim)); in visit()
H A Dmtype.c4188 Type *telem = (*tt->arguments)[(size_t)d]->type; in semantic() local
4189 return telem->addMod(this->mod); in semantic()
/netbsd/external/gpl3/gcc/dist/gcc/d/
H A Dd-compiler.cc80 Type *telem = expr->type->nextOf (); in paintAsType() local
81 tree vectype = build_vector_type (build_ctype (telem), nunits); in paintAsType()
H A Dd-convert.cc707 Type *telem = tbtype->nextOf ()->baseElemOf (); in convert_for_assignment() local
709 if (same_type_p (telem, ebtype)) in convert_for_assignment()
H A Dexpr.cc2452 Type *telem = e->newtype->toBasetype (); in visit() local
2458 gcc_assert (telem->ty == TY::Tarray); in visit()
2459 telem = telem->toBasetype ()->nextOf (); in visit()
2460 gcc_assert (telem); in visit()
2469 libcall_fn libcall = telem->isZeroInit () in visit()
/netbsd/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-frontend.cc488 Type *telem = expr->type->nextOf (); in paintAsType() local
489 tree vectype = build_vector_type (build_ctype (telem), nunits); in paintAsType()
H A Dexpr.cc531 Type *telem = tb1->nextOf ()->toBasetype (); in visit() local
536 build_typeinfo (e->loc, telem->arrayOf ())); in visit()
1512 Type *telem = tb1->nextOf ()->baseElemOf (); in visit() local
1515 if (telem->ty == Tstruct) in visit()
1518 TypeStruct *ts = (TypeStruct *) telem; in visit()
2511 Type *telem = e->newtype->toBasetype (); in visit() local
2517 gcc_assert (telem->ty == Tarray); in visit()
2518 telem = telem->toBasetype ()->nextOf (); in visit()
2519 gcc_assert (telem); in visit()
2528 libcall_fn libcall = telem->isZeroInit () in visit()
H A Dd-convert.cc705 Type *telem = tbtype->nextOf ()->baseElemOf (); in convert_for_assignment() local
707 if (same_type_p (telem, ebtype)) in convert_for_assignment()