Searched refs:SliceExp (Results 1 - 25 of 46) sorted by relevance

12

/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dctfeexpr.c348 SliceExp *se = (SliceExp *)e;
367 new(&ue) SliceExp(e->loc, se->e1, se->lwr, se->upr);
447 SliceExp *se = (SliceExp *)lit;
448 new(&ue) SliceExp(lit->loc, se->e1, se->lwr, se->upr);
457 new(&ue) SliceExp(lit->loc, lit,
463 new(&ue) SliceExp(lit->loc, lit,
489 * If e is a SliceExp, constant fold it.
500 SliceExp *s
[all...]
H A Dclone.c857 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t),
860 ((SliceExp *)ex)->upperIsInBounds = true;
861 ((SliceExp *)ex)->lowerIsLessThanUpper = true;
909 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t),
912 ((SliceExp *)ex)->upperIsInBounds = true;
913 ((SliceExp *)ex)->lowerIsLessThanUpper = true;
1055 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t),
1058 ((SliceExp *)ex)->upperIsInBounds = true;
1059 ((SliceExp *)ex)->lowerIsLessThanUpper = true;
H A Dapply.c109 void visit(SliceExp *e)
H A Ddelegatize.c98 void visit(SliceExp *e)
H A Ddinterpret.c374 void visit(SliceExp *e)
1968 SliceExp *se = new SliceExp(e->loc, val, elwr, eupr);
2003 aggregate = ((SliceExp *)val)->e1;
2005 Expression *lwr = interpret(&uelwr, ((SliceExp *)val)->lwr, istate);
3157 e = ((SliceExp *)e)->e1;
3599 Expression *e1x = interpret(((SliceExp*)e->e1)->e1, istate, ctfeNeedLvalue);
3855 SliceExp *se = (SliceExp *)e1;
3901 SliceExp *olds
[all...]
H A Darrayop.c146 return isNonAssignmentArrayOp(((SliceExp *)e)->e1);
298 void visit(SliceExp *e)
451 void visit(SliceExp *e)
H A Dcanthrow.c203 t = ((SliceExp *)ae->e1)->e1->type;
H A Doptimize.c1056 void visit(SliceExp *e)
1058 //printf("SliceExp::optimize(result = %d) %s\n", result, e->toChars());
1096 //printf("-SliceExp::optimize() %s\n", ret->toChars());
1223 SliceExp *se1 = (SliceExp *)e->e1;
1229 SliceExp *se2 = (SliceExp *)e->e2;
H A Dexpression.h49 class SliceExp;
100 Type *toStaticArrayType(SliceExp *e);
983 class SliceExp : public UnaExp class in inherits:UnaExp
993 SliceExp(Loc loc, Expression *e1, IntervalExp *ie);
994 SliceExp(Loc loc, Expression *e1, Expression *lwr, Expression *upr);
1531 char sliceexp [sizeof(SliceExp)];
H A Dexpression.c1514 arg = new SliceExp(loc, arg, NULL, NULL);
5805 SliceExp::SliceExp(Loc loc, Expression *e1, IntervalExp *ie) function in class:SliceExp
5806 : UnaExp(loc, TOKslice, sizeof(SliceExp), e1)
5816 SliceExp::SliceExp(Loc loc, Expression *e1, Expression *lwr, Expression *upr) function in class:SliceExp
5817 : UnaExp(loc, TOKslice, sizeof(SliceExp), e1)
5827 Expression *SliceExp::syntaxCopy()
5829 SliceExp *se = new SliceExp(lo
[all...]
H A Dexpressionsem.c2253 ((SliceExp *)exp->e1)->arrayop = true;
4395 void visit(SliceExp *exp)
4440 SliceExp *se = (SliceExp *)exp->e1;
5378 ((SliceExp *)e1x)->arrayop = true;
5837 // SliceExp cannot have static array type without context inference.
5859 SliceExp *sle = new SliceExp(e1x->loc, e1x, NULL, NULL);
5882 Type *tx = toStaticArrayType((SliceExp *)e2x);
5901 SliceExp *sl
[all...]
H A Dvisitor.h232 class SliceExp;
526 virtual void visit(SliceExp *e) { visit((UnaExp *)e); }
H A Ddsymbol.c1646 SliceExp *se = (SliceExp *)exp;
H A Ddcast.c138 void visit(SliceExp *e)
144 e = (SliceExp *)result;
1250 void visit(SliceExp *e)
1252 //printf("SliceExp::implicitConvTo e = %s, type = %s\n", e->toChars(), e->type->toChars());
1312 Type *toStaticArrayType(SliceExp *e)
2296 void visit(SliceExp *e)
2298 //printf("SliceExp::castTo e = %s, type = %s, t = %s\n", e->toChars(), e->type->toChars(), t->toChars());
2332 * If a SliceExp has Tsarray, it will become lvalue.
2333 * That's handled in SliceExp::isLvalue and toLvalue
2358 e = (SliceExp *)
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dapply.d155 override void visit(SliceExp e)
H A Dvisitor.d80 void visit(ASTCodegen.SliceExp e) { visit(cast(ASTCodegen.UnaExp)e); }
202 override void visit(ASTCodegen.SliceExp e)
H A Ddelegatize.d136 override void visit(SliceExp e)
H A Dforeachvar.d95 override void visit(SliceExp e)
H A Dexpression.h182 SliceExp* isSliceExp();
924 class SliceExp : public UnaExp class in inherits:UnaExp
934 SliceExp *syntaxCopy();
1389 char sliceexp [sizeof(SliceExp)];
H A Dctfeexpr.d388 emplaceExp!(SliceExp)(&ue, e.loc, se.e1, se.lwr, se.upr);
464 emplaceExp!(SliceExp)(&ue, lit.loc, se.e1, se.lwr, se.upr);
472 emplaceExp!(SliceExp)(&ue, lit.loc, lit, ctfeEmplaceExp!IntegerExp(Loc.initial, 0, Type.tsize_t), ArrayLength(Type.tsize_t, lit).copy());
477 emplaceExp!(SliceExp)(&ue, lit.loc, lit, ctfeEmplaceExp!IntegerExp(Loc.initial, 0, Type.tsize_t), ArrayLength(Type.tsize_t, lit).copy());
501 * If e is a SliceExp, constant fold it.
510 SliceExp se = e.isSliceExp();
898 auto se = ctfeEmplaceExp!SliceExp(loc, agg1,
1911 const SliceExp se = newval.isSliceExp();
H A Dclone.d946 SliceExp se = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type.tsize_t),
1300 auto se = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type.tsize_t),
1377 auto se = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type.tsize_t),
H A Darrayop.d210 override void visit(SliceExp e)
H A Dvisitor.h241 class SliceExp;
643 virtual void visit(SliceExp *e) { visit((UnaExp *)e); }
H A Ddinterpret.d1912 auto se = ctfeEmplaceExp!SliceExp(e.loc, val, elwr, eupr);
4121 auto retslice = ctfeEmplaceExp!SliceExp(e.loc, existingSE,
4327 auto retslice = ctfeEmplaceExp!SliceExp(e.loc, existingAE,
5430 override void visit(SliceExp e)
5434 printf("%s SliceExp::interpret() %s\n", e.loc.toChars(), e.toChars());
5502 emplaceExp!(SliceExp)(pue, e.loc, agg, lwr, upr);
5603 emplaceExp!(SliceExp)(pue, e.loc, se.e1,
5619 emplaceExp!(SliceExp)(pue, e.loc, e1, lwr, upr);
5930 auto er = ctfeEmplaceExp!SliceExp(e.loc, ie.e1, lwr, upr);
5979 SliceExp s
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/d/
H A Dd-tree.h35 class SliceExp;
587 extern tree build_bounds_slice_condition (SliceExp *, tree, tree, tree);

Completed in 186 milliseconds

12