Home
last modified time | relevance | path

Searched refs:tsize_t (Results 1 – 25 of 69) sorted by relevance

123

/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dargtypes.c282 unsigned offset = (unsigned)Type::tsize_t->size(Loc()); in toArgTypes()
283 Type *t = argtypemerge(Type::tsize_t, Type::tvoidptr, offset); in toArgTypes()
290 result = new TypeTuple(Type::tsize_t, Type::tvoidptr); in toArgTypes()
301 unsigned offset = (unsigned)Type::tsize_t->size(Loc()); in toArgTypes()
302 Type *t = argtypemerge(Type::tsize_t, Type::tvoidptr, offset); in toArgTypes()
H A Ddsymbol.c1614 VarDeclaration *v = new VarDeclaration(loc, Type::tsize_t, Id::dollar, NULL); in search()
1615 Expression *e = new IntegerExp(Loc(), td->objects->dim, Type::tsize_t); in search()
1626 VarDeclaration *v = new VarDeclaration(loc, Type::tsize_t, Id::dollar, NULL); in search()
1627 Expression *e = new IntegerExp(Loc(), type->arguments->dim, Type::tsize_t); in search()
1697 Expression *e = new IntegerExp(Loc(), ((TupleExp *)ce)->exps->dim, Type::tsize_t); in search()
1698 … v = new VarDeclaration(loc, Type::tsize_t, Id::dollar, new ExpInitializer(Loc(), e)); in search()
1733 Expression *edim = new IntegerExp(Loc(), dim, Type::tsize_t); in search()
1771 e->type = Type::tsize_t; in search()
1772 v = new VarDeclaration(loc, Type::tsize_t, Id::dollar, e); in search()
H A Dclone.c857 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildPostBlit()
858 new IntegerExp(loc, n, Type::tsize_t)); in buildPostBlit()
909 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildPostBlit()
910 new IntegerExp(loc, n, Type::tsize_t)); in buildPostBlit()
1055 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildDtor()
1056 new IntegerExp(loc, n, Type::tsize_t)); in buildDtor()
H A Dctfeexpr.c458 new IntegerExp(Loc(), 0, Type::tsize_t), ArrayLength(Type::tsize_t, lit).copy()); in paintTypeOntoLiteralCopy()
464 new IntegerExp(Loc(), 0, Type::tsize_t), ArrayLength(Type::tsize_t, lit).copy()); in paintTypeOntoLiteralCopy()
871 Expression *dollar = ArrayLength(Type::tsize_t, agg1).copy(); in pointerArithmetic()
912 new IntegerExp(loc, indx, Type::tsize_t), in pointerArithmetic()
913 new IntegerExp(loc, indx + dim, Type::tsize_t)); in pointerArithmetic()
921 IntegerExp *ofs = new IntegerExp(loc, indx, Type::tsize_t); in pointerArithmetic()
H A Dtraits.c354 const d_uns64 sz_size_t = Type::tsize_t->size(e->loc); in pointerBitmap()
478 exps->push(new IntegerExp(e->loc, sz, Type::tsize_t)); in pointerBitmap()
480 exps->push(new IntegerExp(e->loc, data[(size_t)i], Type::tsize_t)); in pointerBitmap()
482 ArrayLiteralExp* ale = new ArrayLiteralExp(e->loc, Type::tsize_t->sarrayOf(cntdata + 1), exps); in pointerBitmap()
872 return new IntegerExp(e->loc, cd->structsize, Type::tsize_t); in semanticTraits()
H A Ddinterpret.c2011 IntegerExp *ofs = new IntegerExp(e->loc, indx, Type::tsize_t); in visit()
4015 new IntegerExp(e->loc, firstIndex, Type::tsize_t), in interpretAssignToSlice()
4231 new IntegerExp(e->loc, firstIndex, Type::tsize_t), in interpretAssignToSlice()
5096 Expression *dollarExp = new IntegerExp(e->loc, len, Type::tsize_t); in resolveIndexing()
5232 Expression *e2 = new IntegerExp(e->e2->loc, indexToAccess, Type::tsize_t); in visit()
5307 dinteger_t len = ArrayLength(Type::tsize_t, agg).exp()->toInteger(); in visit()
5353 IntegerExp *dollarExp = new IntegerExp(e->loc, dollar, Type::tsize_t); in visit()
6469 new(pue) IntegerExp(earg->loc, len, Type::tsize_t); in interpret_length()
6548 new(pue) IntegerExp(deleg->loc, 0, Type::tsize_t); in interpret_aaApply()
6575 return new IntegerExp(deleg->loc, 0, Type::tsize_t); in interpret_aaApply()
[all …]
/netbsd/external/gpl3/gcc/dist/gcc/d/
H A Dd-target.cc142 Type::tsize_t = Type::basic[(int)TY::Tuns64]; in _init()
147 Type::tsize_t = Type::basic[(int)TY::Tuns32]; in _init()
152 Type::tsize_t = Type::basic[(int)TY::Tuns16]; in _init()
158 Type::thash_t = Type::tsize_t; in _init()
H A Druntime.cc133 libcall_types[type] = Type::tsize_t; in get_libcall_type()
165 libcall_types[type] = Type::tsize_t->arrayOf (); in get_libcall_type()
H A DChangeLog-2007853 (dt2node): use Type::tsize_t for DT_word and DT_xoff
858 (AssignExp::toElem): Use tsize_t for _d_arraycopy arg
870 (convertTo): Use Type::tsize_t for _d_arraycat arguments
921 (Type::dotExp): use Type::tsize_t for .offsetof property
922 (TypeArray::dotExp): use Type::tsize_t for _adReverse args
924 (TypeStruct::dotExp): use Type::tsize_t for offset
/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddsymbol.c1614 VarDeclaration *v = new VarDeclaration(loc, Type::tsize_t, Id::dollar, NULL); in search()
1615 Expression *e = new IntegerExp(Loc(), td->objects->dim, Type::tsize_t); in search()
1626 VarDeclaration *v = new VarDeclaration(loc, Type::tsize_t, Id::dollar, NULL); in search()
1627 Expression *e = new IntegerExp(Loc(), type->arguments->dim, Type::tsize_t); in search()
1697 Expression *e = new IntegerExp(Loc(), ((TupleExp *)ce)->exps->dim, Type::tsize_t); in search()
1698 … v = new VarDeclaration(loc, Type::tsize_t, Id::dollar, new ExpInitializer(Loc(), e)); in search()
1733 Expression *edim = new IntegerExp(Loc(), dim, Type::tsize_t); in search()
1771 e->type = Type::tsize_t; in search()
1772 v = new VarDeclaration(loc, Type::tsize_t, Id::dollar, e); in search()
H A Ddsymbol.d1946 auto v = new VarDeclaration(loc, Type.tsize_t, Id.dollar, null); in dollarFromTypeTuple()
1947 Expression e = new IntegerExp(Loc.initial, tt.arguments.dim, Type.tsize_t); in dollarFromTypeTuple()
1960 auto v = new VarDeclaration(loc, Type.tsize_t, Id.dollar, null);
1961 Expression e = new IntegerExp(Loc.initial, td.objects.dim, Type.tsize_t);
2024 Expression e = new IntegerExp(Loc.initial, tupexp.exps.dim, Type.tsize_t);
2025 … v = new VarDeclaration(loc, Type.tsize_t, Id.dollar, new ExpInitializer(Loc.initial, e));
2056 Expression edim = new IntegerExp(Loc.initial, dim, Type.tsize_t);
2094 e.type = Type.tsize_t;
2095 v = new VarDeclaration(loc, Type.tsize_t, Id.dollar, e);
H A Dclone.c857 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildPostBlit()
858 new IntegerExp(loc, n, Type::tsize_t)); in buildPostBlit()
909 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildPostBlit()
910 new IntegerExp(loc, n, Type::tsize_t)); in buildPostBlit()
1055 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildDtor()
1056 new IntegerExp(loc, n, Type::tsize_t)); in buildDtor()
H A Dctfeexpr.c458 new IntegerExp(Loc(), 0, Type::tsize_t), ArrayLength(Type::tsize_t, lit).copy()); in paintTypeOntoLiteralCopy()
464 new IntegerExp(Loc(), 0, Type::tsize_t), ArrayLength(Type::tsize_t, lit).copy()); in paintTypeOntoLiteralCopy()
871 Expression *dollar = ArrayLength(Type::tsize_t, agg1).copy(); in pointerArithmetic()
912 new IntegerExp(loc, indx, Type::tsize_t), in pointerArithmetic()
913 new IntegerExp(loc, indx + dim, Type::tsize_t)); in pointerArithmetic()
921 IntegerExp *ofs = new IntegerExp(loc, indx, Type::tsize_t); in pointerArithmetic()
H A Dclone.d946 SliceExp se = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type.tsize_t), in buildDtors()
947 new IntegerExp(loc, n, Type.tsize_t)); in buildDtors()
1300 auto se = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type.tsize_t), in buildPostBlit()
1301 new IntegerExp(loc, length, Type.tsize_t)); in buildPostBlit()
1377 auto se = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type.tsize_t), in buildPostBlit()
1378 new IntegerExp(loc, length, Type.tsize_t)); in buildPostBlit()
H A Dctfeexpr.d472 …t.loc, lit, ctfeEmplaceExp!IntegerExp(Loc.initial, 0, Type.tsize_t), ArrayLength(Type.tsize_t, lit… in paintTypeOntoLiteralCopy()
477 …t.loc, lit, ctfeEmplaceExp!IntegerExp(Loc.initial, 0, Type.tsize_t), ArrayLength(Type.tsize_t, lit… in paintTypeOntoLiteralCopy()
863 Expression dollar = ArrayLength(Type.tsize_t, agg1).copy(); in pointerArithmetic()
899 ctfeEmplaceExp!IntegerExp(loc, indx, Type.tsize_t), in pointerArithmetic()
900 ctfeEmplaceExp!IntegerExp(loc, indx + dim, Type.tsize_t)); in pointerArithmetic()
907 auto ofs = ctfeEmplaceExp!IntegerExp(loc, indx, Type.tsize_t); in pointerArithmetic()
H A Dtraits.c354 const d_uns64 sz_size_t = Type::tsize_t->size(e->loc); in pointerBitmap()
478 exps->push(new IntegerExp(e->loc, sz, Type::tsize_t)); in pointerBitmap()
480 exps->push(new IntegerExp(e->loc, data[(size_t)i], Type::tsize_t)); in pointerBitmap()
482 ArrayLiteralExp* ale = new ArrayLiteralExp(e->loc, Type::tsize_t->sarrayOf(cntdata + 1), exps); in pointerBitmap()
872 return new IntegerExp(e->loc, cd->structsize, Type::tsize_t); in semanticTraits()
H A Ddinterpret.c2011 IntegerExp *ofs = new IntegerExp(e->loc, indx, Type::tsize_t); in visit()
4015 new IntegerExp(e->loc, firstIndex, Type::tsize_t), in interpretAssignToSlice()
4231 new IntegerExp(e->loc, firstIndex, Type::tsize_t), in interpretAssignToSlice()
5096 Expression *dollarExp = new IntegerExp(e->loc, len, Type::tsize_t); in resolveIndexing()
5232 Expression *e2 = new IntegerExp(e->e2->loc, indexToAccess, Type::tsize_t); in visit()
5307 dinteger_t len = ArrayLength(Type::tsize_t, agg).exp()->toInteger(); in visit()
5353 IntegerExp *dollarExp = new IntegerExp(e->loc, dollar, Type::tsize_t); in visit()
6469 new(pue) IntegerExp(earg->loc, len, Type::tsize_t); in interpret_length()
6548 new(pue) IntegerExp(deleg->loc, 0, Type::tsize_t); in interpret_aaApply()
6575 return new IntegerExp(deleg->loc, 0, Type::tsize_t); in interpret_aaApply()
[all …]
H A Ddinterpret.d1954 auto ofs = ctfeEmplaceExp!IntegerExp(e.loc, indx, Type.tsize_t); in visit()
4125 ctfeEmplaceExp!IntegerExp(e.loc, firstIndex, Type.tsize_t), in interpretAssignToSlice()
4331 ctfeEmplaceExp!IntegerExp(e.loc, firstIndex, Type.tsize_t), in interpretAssignToSlice()
4808 ale.type = Type.tsize_t; in visit()
5274 Expression dollarExp = ctfeEmplaceExp!IntegerExp(e.loc, len, Type.tsize_t); in resolveIndexing()
5492 dinteger_t len = ArrayLength(Type.tsize_t, agg).exp().toInteger(); in visit()
5555 auto dollarExp = ctfeEmplaceExp!IntegerExp(e.loc, dollar, Type.tsize_t); in visit()
6843 emplaceExp!(IntegerExp)(pue, earg.loc, len, Type.tsize_t); in interpret_length()
6931 emplaceExp!(IntegerExp)(pue, deleg.loc, 0, Type.tsize_t); in interpret_aaApply()
6957 return ctfeEmplaceExp!IntegerExp(deleg.loc, 0, Type.tsize_t); in interpret_aaApply()
[all …]
H A Dtraits.d181 const sz_size_t = Type.tsize_t.size(loc);
415 (*exps)[0] = new IntegerExp(e.loc, sz, Type.tsize_t); in pointerBitmap()
417 (*exps)[i] = new IntegerExp(e.loc, data[cast(size_t) (i - 1)], Type.tsize_t); in pointerBitmap()
419 auto ale = new ArrayLiteralExp(e.loc, Type.tsize_t.sarrayOf(data.dim + 1), exps); in pointerBitmap()
1237 return new IntegerExp(e.loc, cd.structsize, Type.tsize_t); in semanticTraits()
H A Dtypesem.d776 mtype.dim = mtype.dim.implicitCastTo(sc, Type.tsize_t); in typeSemantic()
2392 e = new IntegerExp(loc, sz, Type.tsize_t); in getProperty()
2399 e = new IntegerExp(loc, actualAlignment, Type.tsize_t); in getProperty()
2751 e = new IntegerExp(loc, mt.arguments.dim, Type.tsize_t); in getProperty()
3399 return new IntegerExp(e.loc, v.offset, Type.tsize_t); in dotExp()
3648 exps.push(new IndexExp(e.loc, ev, new IntegerExp(e.loc, i, Type.tsize_t))); in dotExp()
3677 return new IntegerExp(se.loc, se.len, Type.tsize_t); in dotExp()
3681 return new IntegerExp(e.loc, 0, Type.tsize_t); in dotExp()
3688 e.type = Type.tsize_t; in dotExp()
3716 fd_aaLen = FuncDeclaration.genCfunc(fparams, Type.tsize_t, Id.aaLen); in dotExp()
H A Doptimize.d236 Expression dollar = new IntegerExp(Loc.initial, len, Type.tsize_t); in setLengthVarIfKnown()
257 Expression dollar = new IntegerExp(Loc.initial, len, Type.tsize_t); in setLengthVarIfKnown()
628 ret = new AddExp(e.loc, pe, new IntegerExp(e.loc, offset, Type.tsize_t)); in Expression_optimize()
H A Dstatementsem.d954 !Type.tsize_t.implicitConvTo(tindex)) in package()
1087 fs.key = new VarDeclaration(loc, Type.tsize_t, idkey, null); in package()
1090 else if (fs.key.type.ty != Type.tsize_t.ty) in package()
1545 params.push(new Parameter(STC.const_, Type.tsize_t, null, null, null)); in package()
1569 exps.push(new IntegerExp(Loc.initial, keysize, Type.tsize_t)); in package()
4334 p.type = Type.tsize_t; in makeTupleForeach()
4347 IntRange dimrange = IntRange(SignExtendedNumber(length))._cast(Type.tsize_t); in makeTupleForeach()
4530 … Expression init_ = new IndexExp(loc, access, new IntegerExp(loc, l, Type.tsize_t)); in makeTupleForeach()
H A Dmtype.c104 Type *Type::tsize_t;
278 tsize_t = basic[Tsize_t]; in _init()
280 thash_t = tsize_t; in _init()
2059 e = new IntegerExp(loc, sz, Type::tsize_t); in getProperty()
2066 e = new IntegerExp(loc, actualAlignment, Type::tsize_t); in getProperty()
2154 e = new IntegerExp(e->loc, v->offset, Type::tsize_t); in dotExp()
4132 dim = dim->implicitCastTo(sc, tsize_t); in semantic()
4489 return new IntegerExp(se->loc, se->len, Type::tsize_t); in dotExp()
4492 return new IntegerExp(e->loc, 0, Type::tsize_t); in dotExp()
4496 e->type = Type::tsize_t; in dotExp()
[all …]
/netbsd/external/gpl3/gcc.old/dist/gcc/d/
H A Druntime.cc132 libcall_types[type] = Type::tsize_t; in get_libcall_type()
164 libcall_types[type] = Type::tsize_t->arrayOf (); in get_libcall_type()
H A Dd-target.cc168 Type::tsize_t = Type::basic[Tsize_t]; in _init()
170 Type::thash_t = Type::tsize_t; in _init()

123