Home
last modified time | relevance | path

Searched refs:arrayOf (Results 1 – 25 of 39) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Druntime.cc161 libcall_types[type] = Type::tvoid->arrayOf (); in get_libcall_type()
165 libcall_types[type] = Type::tsize_t->arrayOf (); in get_libcall_type()
169 libcall_types[type] = Type::tint8->arrayOf (); in get_libcall_type()
173 libcall_types[type] = Type::tstring->arrayOf (); in get_libcall_type()
177 libcall_types[type] = Type::twstring->arrayOf (); in get_libcall_type()
181 libcall_types[type] = Type::tdstring->arrayOf (); in get_libcall_type()
185 libcall_types[type] = Type::tint8->arrayOf ()->arrayOf (); in get_libcall_type()
193 libcall_types[type] = Type::tvoidptr->arrayOf (); in get_libcall_type()
197 libcall_types[type] = Type::tvoid->arrayOf ()->pointerTo (); in get_libcall_type()
201 libcall_types[type] = Type::tint8->arrayOf ()->pointerTo (); in get_libcall_type()
H A Dexpr.cc426 Type *t1array = t1elem->arrayOf (); in visit()
698 Type *targselem = Type::tint8->arrayOf (); in visit()
727 tree arrs = d_array_value (build_ctype (targselem->arrayOf ()), in visit()
1174 ? etype->arrayOf () : e->type; in visit()
2220 gcc_assert (e->type == Type::tvoid->arrayOf ()->constOf ()); in visit()
2469 tree dims = d_array_value (build_ctype (Type::tsize_t->arrayOf ()), in visit()
2744 build_typeinfo (e, etype->arrayOf ()), in visit()
2793 tree keys = d_array_value (build_ctype (ta->index->arrayOf ()), in visit()
2796 tree vals = d_array_value (build_ctype (ta->next->arrayOf ()), in visit()
H A Dd-convert.cc961 Type *totype = tb->nextOf ()->arrayOf (); in d_array_convert()
990 return d_array_value (build_ctype (exp->type->arrayOf ()), in d_array_convert()
H A Dtypeinfo.cc411 value = d_array_value (build_ctype (Type::tchar->arrayOf ()), in layout_string()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Druntime.cc160 libcall_types[type] = Type::tvoid->arrayOf (); in get_libcall_type()
164 libcall_types[type] = Type::tsize_t->arrayOf (); in get_libcall_type()
168 libcall_types[type] = Type::tint8->arrayOf (); in get_libcall_type()
172 libcall_types[type] = Type::tstring->arrayOf (); in get_libcall_type()
176 libcall_types[type] = Type::twstring->arrayOf (); in get_libcall_type()
180 libcall_types[type] = Type::tdstring->arrayOf (); in get_libcall_type()
184 libcall_types[type] = Type::tint8->arrayOf ()->arrayOf (); in get_libcall_type()
192 libcall_types[type] = Type::tvoidptr->arrayOf (); in get_libcall_type()
196 libcall_types[type] = Type::tvoid->arrayOf ()->pointerTo (); in get_libcall_type()
200 libcall_types[type] = Type::tint8->arrayOf ()->pointerTo (); in get_libcall_type()
H A Dexpr.cc423 Type *t1array = t1elem->arrayOf (); in visit()
536 build_typeinfo (e->loc, telem->arrayOf ())); in visit()
712 Type *targselem = Type::tint8->arrayOf (); in visit()
741 tree arrs = d_array_value (build_ctype (targselem->arrayOf ()), in visit()
1157 Type *arrtype = (e->type->ty == Tsarray) ? etype->arrayOf () : e->type; in visit()
2532 tree dims = d_array_value (build_ctype (Type::tsize_t->arrayOf ()), in visit()
2785 build_typeinfo (e->loc, etype->arrayOf ()), in visit()
2853 tree keys = d_array_value (build_ctype (ta->index->arrayOf ()), in visit()
2855 tree vals = d_array_value (build_ctype (ta->next->arrayOf ()), in visit()
H A Dd-convert.cc857 Type *totype = tb->nextOf ()->arrayOf (); in d_array_convert()
885 return d_array_value (build_ctype (exp->type->arrayOf ()), in d_array_convert()
H A Dtoir.cc864 decl = d_array_value (build_ctype (condtype->arrayOf ()), in visit()
H A Dtypeinfo.cc392 value = d_array_value (build_ctype (Type::tchar->arrayOf ()), in layout_string()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddcast.d196 : tb.nextOf().arrayOf(); in implicitCastTo()
288 tprime = t.nextOf().castMod(mod).arrayOf(); in implicitConvTo()
1401 tx = tbn.arrayOf(); in implicitConvTo()
2597 t1b = tb.nextOf().arrayOf(); in visitSlice()
3087 return coerce(t1.nextOf().arrayOf()); in typeMerge()
3099 return coerce(t2.nextOf().arrayOf()); in typeMerge()
3147 t1 = t1n.castMod(mod).arrayOf(); in typeMerge()
3152 t2 = t2n.castMod(mod).arrayOf(); in typeMerge()
3357 if (t1.ty == Tsarray && t2.ty == Tsarray && e2.implicitConvTo(t1.nextOf().arrayOf())) in typeMerge()
3358 return coerce(t1.nextOf().arrayOf()); in typeMerge()
[all …]
H A Dsafe.d156 tfromb = tfromb.nextOf().arrayOf(); in isSafeCast()
H A Dcond.d371 auto aty = ety.arrayOf(); in lowerNonArrayAggregate()
420 aggr = new ArrayLiteralExp(aloc, indexty.arrayOf(), exps); in lowerNonArrayAggregate()
H A Dexpressionsem.d2171 Type ta = ts.next.arrayOf(); in functionParameters()
3002 e.type = Type.tdchar.immutableOf().arrayOf(); in visit()
3027 e.type = Type.twchar.immutableOf().arrayOf(); in visit()
3039 e.type = Type.tchar.immutableOf().arrayOf(); in visit()
3121 e.type = t0.arrayOf(); in visit()
3508 exp.type = exp.type.arrayOf(); in visit()
6352 exp.msg = exp.msg.implicitCastTo(sc, Type.tchar.constOf().arrayOf()); in visit()
7775 Expression e = new TypeExp(exp.loc, exp.e1.type.arrayOf()); in visit()
7789 e.type = t1b.nextOf().arrayOf(); in visit()
8013 exp.type = t1b.nextOf().arrayOf(); in visit()
[all …]
H A Dmtype.h282 Type *arrayOf();
H A Dmtype.d868 tstring = tchar.immutableOf().arrayOf(); in _init()
869 twstring = twchar.immutableOf().arrayOf(); in _init()
870 tdstring = tdchar.immutableOf().arrayOf(); in _init()
1980 final Type arrayOf() in arrayOf() function
2283 t = t.arrayOf(); in substWildTo()
2355 t = utn.arrayOf(); in unqualify()
H A Dstatementsem.d1076 tmp = new VarDeclaration(loc, tab.nextOf().arrayOf(), id, ie); in package()
1478 params.push(new Parameter(STC.in_, tn.arrayOf(), null, null, null)); in package()
1488 fs.aggr = fs.aggr.castTo(sc2, tn.arrayOf()); in package()
2188 … ss.condition = ss.condition.implicitCastTo(sc, ss.condition.type.nextOf().arrayOf()); in package()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddcast.c153 tx = tb->nextOf()->arrayOf(); in implicitCastTo()
239 tprime = t->nextOf()->castMod(mod)->arrayOf(); in implicitConvTo()
1282 tx = tbn->arrayOf(); in implicitConvTo()
2349 t1b = tb->nextOf()->arrayOf(); in castTo()
2887 t1 = t1n->castMod(mod)->arrayOf(); in typeMerge()
2892 t2 = t2n->castMod(mod)->arrayOf(); in typeMerge()
3095 e2->implicitConvTo(t1->nextOf()->arrayOf())) in typeMerge()
3098 t = t1->nextOf()->arrayOf(); // T[] in typeMerge()
3103 e1->implicitConvTo(t2->nextOf()->arrayOf())) in typeMerge()
3106 t = t2->nextOf()->arrayOf(); in typeMerge()
[all …]
H A Dsafe.c122 tfrom = tfrom->nextOf()->arrayOf(); in isSafeCast()
H A Dcond.c315 Type *aty = ety->arrayOf(); in lowerNonArrayAggregate()
365 aggr = new ArrayLiteralExp(aloc, indexty->arrayOf(), exps); in lowerNonArrayAggregate()
H A Dexpressionsem.c706 e->type = t0->arrayOf(); in visit()
1048 exp->type = exp->type->arrayOf(); in visit()
2436 exp->msg = exp->msg->implicitCastTo(sc, Type::tchar->constOf()->arrayOf()); in visit()
4418 Expression *e = new TypeExp(exp->loc, exp->e1->type->arrayOf()); in visit()
4432 e->type = t1b->nextOf()->arrayOf(); in visit()
4649 exp->type = t1b->nextOf()->arrayOf(); in visit()
5871 if (e2x->implicitConvTo(t1->nextOf()->arrayOf()) > MATCHnomatch) in visit()
6147 exp->e1->type = exp->e1->type->nextOf()->mutableOf()->arrayOf(); in visit()
6683 if (exp->e1->op == TOKarrayliteral && exp->e1->implicitConvTo(tb2->arrayOf())) in visit()
6685 exp->e1 = exp->e1->implicitCastTo(sc, tb2->arrayOf()); in visit()
[all …]
H A Dinitsem.c478 i->exp->implicitConvTo(tb->nextOf()->arrayOf()) > MATCHnomatch) in visit()
H A Dstatementsem.c1144 tmp = new VarDeclaration(loc, tab->nextOf()->arrayOf(), id, ie); in visit()
1638 params->push(new Parameter(STCin, tn->arrayOf(), NULL, NULL)); in visit()
1648 fs->aggr = fs->aggr->castTo(sc2, tn->arrayOf()); in visit()
2211 … ss->condition = ss->condition->implicitCastTo(sc, ss->condition->type->nextOf()->arrayOf()); in visit()
H A Dmtype.h295 Type *arrayOf();
H A Dmtype.c262 tstring = tchar->immutableOf()->arrayOf(); in _init()
263 twstring = twchar->immutableOf()->arrayOf(); in _init()
264 tdstring = tdchar->immutableOf()->arrayOf(); in _init()
1199 Type *Type::arrayOf() in arrayOf() function
1890 t = utn->arrayOf(); in unqualify()
1930 t = t->arrayOf(); in substWildTo()
H A Doptimize.c1068 ret = e->e1->castTo(NULL, tn->arrayOf()); in Expression_optimize()

12