Searched refs:CommaExp (Results 1 - 25 of 41) sorted by relevance

12

/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dsideeffect.c348 CommaExp *ce = (CommaExp *)e;
354 CommaExp *firstComma = ce;
356 firstComma = (CommaExp *)firstComma->e1;
H A Doptimize.c159 if (e->op == TOKcomma && ((CommaExp *)e)->e1->op == TOKdeclaration)
342 CommaExp *ce = (CommaExp *)e->e1;
344 ret = new CommaExp(ce->loc, ce->e1, ae);
832 ret = new CommaExp(e->loc, e->e2, e->e1);
856 ret = new CommaExp(e->loc, e->e1, ret);
917 void visit(CommaExp *e)
919 //printf("CommaExp::optimize(result = %d) %s\n", result, e->toChars());
938 //printf("-CommaExp::optimize(result = %d) %s\n", result, e->e->toChars());
H A Dexpression.c503 e = ((CommaExp *)e)->e2;
1248 * BUG: if e is a CommaExp, we should go down the right side.
1259 CommaExp *comma = (CommaExp *)dve->e1;
2093 * Combine e1 and e2 by CommaExp if both are not NULL.
2101 e1 = new CommaExp(e1->loc, e1, e2);
2124 CommaExp *ce = (CommaExp *)e;
2135 while (((CommaExp *)(*pce))->e2->op == TOKcomma)
2137 pce = &((CommaExp *)(*pc
6063 CommaExp::CommaExp(Loc loc, Expression *e1, Expression *e2, bool generated) function in class:CommaExp
[all...]
H A Dexpressionsem.c1430 Expression *c = new CommaExp(e->loc, d, n);
1890 e = new CommaExp(exp->loc, ea, e); // execute ea
2658 e = new CommaExp(exp->loc, exp->e1, e);
2751 CommaExp *ce = (CommaExp *)exp->e1;
3388 Expression *e = new CommaExp(exp->loc, dve->e1, exp);
3708 e = new CommaExp(exp->loc, dve->e1, new AddrExp(exp->loc, new VarExp(exp->loc, f, dve->hasOverloads)));
4821 void visit(CommaExp *e)
4833 ((CommaExp *)e->e1)->allowCommaExp = true;
4835 ((CommaExp *)
[all...]
H A Descape.c918 void visit(CommaExp *e)
1118 void visit(CommaExp *e)
H A Dvisitor.h239 class CommaExp;
533 virtual void visit(CommaExp *e) { visit((BinExp *)e); }
H A Ddcast.c1038 void visit(CommaExp *e)
2280 void visit(CommaExp *e)
2286 result = new CommaExp(e->loc, e->e1, e2c);
3542 void visit(CommaExp *e)
H A Ddeclaration.c1093 (*exps)[0] = new CommaExp(loc, new DeclarationExp(loc, v), e0);
1494 ex = ((CommaExp *)ex)->e2;
H A Dexpression.h1072 class CommaExp : public BinExp class in inherits:BinExp
1077 CommaExp(Loc loc, Expression *e1, Expression *e2, bool generated = true);
H A Ddsymbol.c1667 ce = ((CommaExp *)ce)->e2;
H A Dstatementsem.c92 // Allow CommaExp in ExpStatement because return isn't used
94 ((CommaExp *)s->exp)->allowCommaExp = true;
472 ((CommaExp *)fs->increment)->allowCommaExp = true;
1965 ifs->condition = new CommaExp(ifs->loc, de, ve);
/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dsideeffect.d342 CommaExp ce = cast(CommaExp)e;
348 // This is concretely done in expressionSemantic, if a CommaExp has Tvoid as type
H A Dimportc.d248 arg = arg ? new CommaExp(a.loc, arg, a) : a;
H A Dexpression.d125 ex = (cast(CommaExp)ex).e1;
142 ex = (cast(CommaExp)ex).e2;
418 * BUG: if ex is a CommaExp, we should go down the right side.
859 * Combine e1 and e2 by CommaExp if both are not NULL.
867 e1 = new CommaExp(e1.loc, e1, e2);
899 CommaExp ce = cast(CommaExp)e;
910 while ((cast(CommaExp)(*pce)).e2.op == EXP.comma)
912 pce = &(cast(CommaExp)(*pce)).e2;
915 ce = cast(CommaExp)(*pc
[all...]
H A Dexpressionsem.d1574 e = new CommaExp(exp.loc, new DeclarationExp(ale.loc, tmp), e);
1979 ev = new CommaExp(arg.loc, ev, new VarExp(arg.loc, v));
1997 ev = new CommaExp(arg.loc, ev, new VarExp(arg.loc, v));
2070 arg = CommaExp.combine(declareTmp, castToSlice);
3902 Expression c = new CommaExp(e.loc, d, n);
4911 Expression e = new CommaExp(exp.loc, dve.e1, exp);
5150 auto declareTmps = new CommaExp(loc, declareVptrTmp, declareSuperTmp);
5154 Expression e = new CommaExp(loc, declareTmps, new CommaExp(loc, restoreVptr, new VarExp(loc, superTmpDecl)));
5429 e = new CommaExp(ex
[all...]
H A Dvisitor.h248 class CommaExp;
528 virtual void visit(CommaExp *e) { visit((BinExp *)e); }
H A Dexpression.h186 CommaExp* isCommaExp();
1001 class CommaExp : public BinExp class in inherits:BinExp
H A Doptimize.d435 ret = new CommaExp(ce.loc, ce.e1, ae);
1052 void visitComma(CommaExp e)
1054 //printf("CommaExp::optimize(result = %d) %s\n", result, e.toChars());
1070 //printf("-CommaExp::optimize(result = %d) %s\n", result, e.e.toChars());
H A Descape.d1666 override void visit(CommaExp e)
1969 override void visit(CommaExp e)
H A Ddcast.d1127 MATCH visitComma(CommaExp e)
2526 Expression visitComma(CommaExp e)
2532 auto result = new CommaExp(e.loc, e.e1, e2c);
3852 IntRange visitComma(CommaExp e)
H A Dparsetimevisitor.d236 void visit(AST.CommaExp e) { visit(cast(AST.BinExp)e); }
H A Dtypesem.d4006 ve = new CommaExp(e.loc, e, ve);
4113 e = unreal ? ve : new CommaExp(e.loc, e, ve);
4618 e = unreal ? ve : new CommaExp(e.loc, e, ve);
H A Dstatementsem.d202 // Allow CommaExp in ExpStatement because return isn't used
203 CommaExp.allow(s.exp);
645 CommaExp.allow(fs.increment);
1891 ifs.condition = new CommaExp(ifs.loc, de, ve);
/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-codegen.cc1895 CommaExp *ce = (CommaExp *) arg;
/netbsd-current/external/gpl3/gcc/dist/gcc/d/
H A Dtoir.cc1000 if (CommaExp *ce = dve->e1->isCommaExp ())

Completed in 484 milliseconds

12