Home
last modified time | relevance | path

Searched refs:TypeSArray (Results 1 – 25 of 58) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dinitsem.c317 uinteger_t edim = ((TypeSArray *)t)->dim->toInteger(); in visit()
428 se->numberOfCodeUnits(tynto) < ((TypeSArray *)tb)->dim->toInteger()) in visit()
480 uinteger_t dim1 = ((TypeSArray *)tb)->dim->toInteger(); in visit()
491 dim2 = ((TypeSArray *)tx)->dim->toInteger(); in visit()
768 uinteger_t adim = ((TypeSArray *)t)->dim->toInteger(); in visit()
849 size_t dim = ((TypeSArray *)tn)->dim->toInteger(); in visit()
897 TypeSArray *tsa = (TypeSArray *)tb; in visit()
H A Ddcast.c551 if (((TypeSArray *)e->type)->dim->toInteger() == in implicitConvTo()
552 ((TypeSArray *)t)->dim->toInteger()) in implicitConvTo()
563 size_t tolen = (size_t)((TypeSArray *)t)->dim->toInteger(); in implicitConvTo()
587 size_t tolen = (size_t)((TypeSArray *)t)->dim->toInteger(); in implicitConvTo()
660 TypeSArray *tsa = (TypeSArray *)tb; in implicitConvTo()
703 TypeSArray *tbase = (TypeSArray *)tv->basetype; in implicitConvTo()
1499 dinteger_t dim = ((TypeSArray *)t1b)->dim->toInteger(); in castTo()
1688 se->len = (size_t)((TypeSArray *)tb)->dim->toInteger(); in castTo()
1864 size_t dim2 = (size_t)((TypeSArray *)tb)->dim->toInteger(); in castTo()
2027 TypeSArray *tsa = (TypeSArray *)tb; in castTo()
[all …]
H A Dmtype.c186 sizeTy[Tsarray] = sizeof(TypeSArray); in _init()
1215 Type *t = new TypeSArray(this, new IntegerExp(Loc(), dim, Type::tsize_t)); in sarrayOf()
1892 t = new TypeSArray(utn, ((TypeSArray *)this)->dim); in unqualify()
1932 t = new TypeSArray(t, ((TypeSArray *)this)->dim->syntaxCopy()); in substWildTo()
2479 t = ((TypeSArray *)t)->next->toBasetype(); in baseElemOf()
2540 n = mulu(n, ((TypeSArray *)tb)->dim->toUInteger(), overflow); in numberOfElems()
2546 tb = ((TypeSArray *)tb)->next; in numberOfElems()
3734 TypeSArray *t = (TypeSArray *)basetype; in semantic()
3758 TypeSArray *t = (TypeSArray *)basetype; in elementType()
3910 TypeSArray::TypeSArray(Type *t, Expression *dim) in TypeSArray() function
[all …]
H A Dtypesem.c34 void visit(TypeSArray *t) in visit()
H A Dctfeexpr.c314 TypeSArray *tsa = (TypeSArray *)v->type; in copyLiteral()
566 TypeSArray *tsa = (TypeSArray *)type->nextOf(); in createBlockDuplicatedArrayLiteral()
867 len = ((TypeSArray *)((SymOffExp *)agg1)->var->type)->dim->toInteger(); in pointerArithmetic()
908 dinteger_t dim = ((TypeSArray *)eptr->type->toBasetype())->dim->toInteger(); in pointerArithmetic()
2088 TypeSArray *tsa = (TypeSArray *)t; in voidInitLiteral()
H A Dcppmangle.c909 assert(((TypeSArray *)t->basetype)->dim); in visit()
915 void visit(TypeSArray *t) in visit()
H A Dargtypes.c152 void visit(TypeSArray *t) in toArgTypes()
H A Doptimize.c389 TypeSArray *ts = (TypeSArray *)ve->type; in Expression_optimize()
1026 len = (size_t)((TypeSArray *)t)->dim->toInteger(); in Expression_optimize()
H A Ddstruct.c757 telem = ((TypeSArray *)telem->toBasetype())->next; in fill()
1388 se->numberOfCodeUnits(tynto) < ((TypeSArray *)tb)->dim->toInteger()) in fit()
H A Dmtype.h454 class TypeSArray : public TypeArray
459 TypeSArray(Type *t, Expression *dim);
H A Dvisitor.h66 class TypeSArray; variable
360 virtual void visit(TypeSArray *t) { visit((TypeArray *)t); } in visit()
H A Dconstfold.c1292 Expression *e = ((TypeSArray *)e1->type->toBasetype())->dim; in ArrayLength()
1326 TypeSArray *tsa = (TypeSArray *)e1->type->toBasetype(); in Index()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-convert.cc470 dinteger_t dim = ((TypeSArray *) ebtype)->dim->toInteger (); in convert_expr()
672 uinteger_t dim = ((TypeSArray *)tbtype)->dim->toUInteger (); in convert_for_rvalue()
709 TypeSArray *sa_type = (TypeSArray *) tbtype; in convert_for_assignment()
H A Dd-frontend.cc487 int nunits = ((TypeSArray *) expr->type)->dim->toUInteger (); in paintAsType()
503 int nunits = ((TypeSArray *) type)->dim->toUInteger (); in paintAsType()
H A Dtypes.cc657 void visit (TypeSArray *t) in visit()
676 int nunits = ((TypeSArray *) t->basetype)->dim->toUInteger (); in visit()
H A Dtypeinfo.cc692 TypeSArray *ti = (TypeSArray *) d->tinfo; in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dinitsem.d526 … auto ts = new TypeSArray(tb.nextOf(), new IntegerExp(Loc.initial, se.len + 1, Type.tsize_t)); in initializerSemantic()
873 tsa = new TypeSArray(tn, new IntegerExp(Loc.initial, newdim, Type.tsize_t)); in initializerSemantic()
1250 const dim = cast(size_t)(cast(TypeSArray)tn).dim.toInteger(); in visitArray()
1288 TypeSArray tsa = cast(TypeSArray)tb; in visitExp()
H A Dmtype.d432 sizeTy[Tsarray] = __traits(classInstanceSize, TypeSArray);
1996 Type t = new TypeSArray(this, new IntegerExp(Loc.initial, dim, Type.tsize_t)); in sarrayOf()
2285 t = new TypeSArray(t, (cast(TypeSArray)this).dim.syntaxCopy()); in substWildTo()
2357 t = new TypeSArray(utn, (cast(TypeSArray)this).dim); in unqualify()
2497 TypeSArray tsa; in baseElemOf()
2519 n = mulu(n, (cast(TypeSArray)tb).dim.toUInteger(), overflow); in numberOfElems()
2525 tb = (cast(TypeSArray)tb).next; in numberOfElems()
2703 …inout(TypeSArray) isTypeSArray() { return ty == Tsarray ? cast(typeof(return))this : nu… in isTypeSArray()
3588 TypeSArray t = cast(TypeSArray)basetype; in elementType()
3623 extern (C++) final class TypeSArray : TypeArray
[all …]
H A Dmtype.h330 TypeSArray *isTypeSArray();
444 class TypeSArray : public TypeArray
450 TypeSArray *syntaxCopy();
H A Dtypesem.d557 static Expression visitSArray(TypeSArray t) in typeToExpression()
694 TypeSArray t = mtype.basetype.isTypeSArray(); in typeSemantic()
720 Type visitSArray(TypeSArray mtype) in typeSemantic()
921 auto tsa = new TypeSArray(mtype.next, e); in typeSemantic()
2865 void visitSArray(TypeSArray mt) in visitSArray()
2977 auto tsa = new TypeSArray(mt.next, e); in visitAArray()
3604 Expression visitSArray(TypeSArray mt) in dotExp()
4718 Expression visitSArray(TypeSArray mt) in visitSArray()
H A Dctfeexpr.d859 len = (cast(TypeSArray)agg1.isSymOffExp().var.type).dim.toInteger(); in pointerArithmetic()
896 dinteger_t dim = (cast(TypeSArray)eptr.type.toBasetype()).dim.toInteger(); in pointerArithmetic()
2075 TypeSArray tsa = cast(TypeSArray)t; in voidInitLiteral()
H A Daggregate.d481 TypeSArray tsa; in fill()
H A Dvisitor.h66 class TypeSArray; variable
460 virtual void visit(TypeSArray *t) { visit((TypeArray *)t); } in visit()
H A Dconstfold.d1213 Expression e = (cast(TypeSArray)e1.type.toBasetype()).dim; in ArrayLength()
1245 TypeSArray tsa = cast(TypeSArray)e1.type.toBasetype(); in Index()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A DChangeLog-2013142 * d-decls.cc (ClassDeclaration::toVtblSymbol): Use TypeSArray::makeType
154 * d-builtins.cc (gcc_type_to_d_type): Use TypeSArray::makeType to
162 (ArrayLiteralExp::toElem): Use TypeSArray::makeType to generate
361 * d-todt.cc (TypeSArray::toDtElem): Get underlying vector basetype when
1112 (TypeSArray::toCtype): Likewise.
1205 * d-ctype.cc (TypeSArray::toCtype): Remove SARRAYVALUE condition.

123