Home
last modified time | relevance | path

Searched refs:CommaExp (Results 1 – 25 of 43) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dsideeffect.c348 CommaExp *ce = (CommaExp *)e; in discardValue()
354 CommaExp *firstComma = ce; in discardValue()
356 firstComma = (CommaExp *)firstComma->e1; in discardValue()
H A Doptimize.c159 if (e->op == TOKcomma && ((CommaExp *)e)->e1->op == TOKdeclaration) in fromConstInitializer()
342 CommaExp *ce = (CommaExp *)e->e1; in Expression_optimize()
344 ret = new CommaExp(ce->loc, ce->e1, ae); in Expression_optimize()
832 ret = new CommaExp(e->loc, e->e2, e->e1); in Expression_optimize()
856 ret = new CommaExp(e->loc, e->e1, ret); in Expression_optimize()
917 void visit(CommaExp *e) in Expression_optimize()
H A Dexpression.c503 e = ((CommaExp *)e)->e2; in checkPropertyCall()
1259 CommaExp *comma = (CommaExp *)dve->e1; in valueNoDtor()
2101 e1 = new CommaExp(e1->loc, e1, e2); in combine()
2124 CommaExp *ce = (CommaExp *)e; in extractLast()
2135 while (((CommaExp *)(*pce))->e2->op == TOKcomma) in extractLast()
2137 pce = &((CommaExp *)(*pce))->e2; in extractLast()
2140 ce = (CommaExp *)(*pce); in extractLast()
4054 Expression *e = new CommaExp(loc, ae, new VarExp(loc, tmp)); in addDtorHook()
5096 e2 = new CommaExp(loc, e2, new RealExp(loc, CTFloat::zero, t1)); in checkOpAssignTypes()
5592 Expression *e = new CommaExp(loc, de, ve); in addDtorHook()
[all …]
H A Dexpressionsem.c1430 Expression *c = new CommaExp(e->loc, d, n); in visit()
1890 e = new CommaExp(exp->loc, ea, e); // execute ea in visit()
2658 e = new CommaExp(exp->loc, exp->e1, e); in visit()
2751 CommaExp *ce = (CommaExp *)exp->e1; in visit()
3388 Expression *e = new CommaExp(exp->loc, dve->e1, exp); in visit()
3708 …e = new CommaExp(exp->loc, dve->e1, new AddrExp(exp->loc, new VarExp(exp->loc, f, dve->hasOverload… in visit()
4821 void visit(CommaExp *e) in visit()
4833 ((CommaExp *)e->e1)->allowCommaExp = true; in visit()
4835 ((CommaExp *)e->e2)->allowCommaExp = true; in visit()
5129 ea = new CommaExp(exp->loc, de, ea); in visit()
[all …]
H A Descape.c918 void visit(CommaExp *e) in escapeByValue()
1118 void visit(CommaExp *e) in escapeByRef()
H A Dvisitor.h239 class CommaExp; variable
533 virtual void visit(CommaExp *e) { visit((BinExp *)e); } in visit()
H A Ddcast.c1038 void visit(CommaExp *e) in implicitConvTo()
2280 void visit(CommaExp *e) in castTo()
2286 result = new CommaExp(e->loc, e->e1, e2c); in castTo()
3542 void visit(CommaExp *e) in getIntRange()
H A Dexpression.h1072 class CommaExp : public BinExp
1077 CommaExp(Loc loc, Expression *e1, Expression *e2, bool generated = true);
H A Ddeclaration.c1093 (*exps)[0] = new CommaExp(loc, new DeclarationExp(loc, v), e0); in semantic()
1494 ex = ((CommaExp *)ex)->e2; in semantic()
H A Ddsymbol.c1667 ce = ((CommaExp *)ce)->e2; in search()
H A Dstatementsem.c94 ((CommaExp *)s->exp)->allowCommaExp = true; in visit()
472 ((CommaExp *)fs->increment)->allowCommaExp = true; in visit()
1965 ifs->condition = new CommaExp(ifs->loc, de, ve); in visit()
H A Dstatement.c79 ec = ((CommaExp *)ec)->e2; in checkAssignmentAsCondition()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dsideeffect.d342 CommaExp ce = cast(CommaExp)e; in discardValue()
H A Dexpression.d125 ex = (cast(CommaExp)ex).e1; in firstComma()
142 ex = (cast(CommaExp)ex).e2; in lastComma()
867 e1 = new CommaExp(e1.loc, e1, e2); in combine()
899 CommaExp ce = cast(CommaExp)e; in extractLast()
910 while ((cast(CommaExp)(*pce)).e2.op == EXP.comma) in extractLast()
912 pce = &(cast(CommaExp)(*pce)).e2; in extractLast()
915 ce = cast(CommaExp)(*pce); in extractLast()
1682 … inout(CommaExp) isCommaExp() { return op == EXP.comma ? cast(typeof(return))this : null; } in isCommaExp()
3342 Expression e = new CommaExp(loc, ae, new VarExp(loc, tmp)); in addDtorHook()
4448 e2 = new CommaExp(loc, e2, new RealExp(loc, CTFloat.zero, t1)); in checkOpAssignTypes()
[all …]
H A Dimportc.d248 arg = arg ? new CommaExp(a.loc, arg, a) : a; in castCallAmbiguity()
H A Dexpressionsem.d1574 e = new CommaExp(exp.loc, new DeclarationExp(ale.loc, tmp), e); in rewriteOpAssign()
1979 ev = new CommaExp(arg.loc, ev, new VarExp(arg.loc, v)); in functionParameters()
1997 ev = new CommaExp(arg.loc, ev, new VarExp(arg.loc, v)); in functionParameters()
2070 arg = CommaExp.combine(declareTmp, castToSlice); in functionParameters()
3902 Expression c = new CommaExp(e.loc, d, n); in visit()
4911 Expression e = new CommaExp(exp.loc, dve.e1, exp); in visit()
5150 auto declareTmps = new CommaExp(loc, declareVptrTmp, declareSuperTmp); in visit()
5154 …Expression e = new CommaExp(loc, declareTmps, new CommaExp(loc, restoreVptr, new VarExp(loc, super… in visit()
5429 e = new CommaExp(exp.loc, ea, e); // execute ea in visit()
6670 e = new CommaExp(exp.loc, exp.e1, e); in visit()
[all …]
H A Dexpression.h186 CommaExp* isCommaExp();
1001 class CommaExp : public BinExp
H A Dvisitor.h248 class CommaExp; variable
528 virtual void visit(CommaExp *e) { visit((BinExp *)e); } in visit()
H A Doptimize.d435 ret = new CommaExp(ce.loc, ce.e1, ae); in Expression_optimize()
1052 void visitComma(CommaExp e) in Expression_optimize()
H A Descape.d1666 override void visit(CommaExp e) in visit()
1969 override void visit(CommaExp e) in visit()
H A Ddcast.d1127 MATCH visitComma(CommaExp e) in implicitConvTo()
2526 Expression visitComma(CommaExp e) in visitComma()
2532 auto result = new CommaExp(e.loc, e.e1, e2c); in visitComma()
3852 IntRange visitComma(CommaExp e) in getIntRange()
H A Dparsetimevisitor.d236 void visit(AST.CommaExp e) { visit(cast(AST.BinExp)e); } in ParseTimeVisitor()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-codegen.cc1895 CommaExp *ce = (CommaExp *) arg; in d_build_call()
H A Dexpr.cc1304 void visit (CommaExp *e) in visit()
1738 e1b = ((CommaExp *) e1b)->e2; in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dtoir.cc1000 if (CommaExp *ce = dve->e1->isCommaExp ()) in visit()

12