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

12

/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dsideeffect.c203 CastExp *ce = (CastExp *)e;
233 CastExp *ce = (CastExp *)e;
H A Darrayop.c281 void visit(CastExp *e)
430 void visit(CastExp *e)
471 ex2 = new CastExp(Loc(), ex2, e->e1->type->nextOf());
H A Dclone.c832 ex = new CastExp(loc, ex, v->type->mutableOf()->pointerTo());
853 ex = new CastExp(loc, ex, sdv->type->pointerTo());
884 ex = new CastExp(loc, ex, v->type->mutableOf()->pointerTo());
905 ex = new CastExp(loc, ex, sdv->type->pointerTo());
1030 ex = new CastExp(loc, ex, v->type->mutableOf()->pointerTo());
1051 ex = new CastExp(loc, ex, sdv->type->pointerTo());
H A Doptimize.c542 void visit(CastExp *e)
544 //printf("CastExp::optimize(result = %d) %s\n", result, e->toChars());
1112 ret = new CastExp(e->loc, ret, Type::tvoid);
1135 ret = new CastExp(e->loc, e->e2, e->type);
1155 ret = new CastExp(e->loc, ret, Type::tvoid);
1178 ret = new CastExp(e->loc, e->e2, e->type);
H A Dopover.c83 void visit(CastExp *) { id = Id::_cast; }
531 void visit(CastExp *e)
533 //printf("CastExp::op_overload() (%s)\n", e->toChars());
978 e1x = new CastExp(e->loc, e->e1, t1->isMutable() ? to : to->constOf());
980 e2x = new CastExp(e->loc, e->e2, t2->isMutable() ? to : to->constOf());
H A Dexpression.c1680 a = ((CastExp *)a)->e1;
2756 e = new CastExp(loc, e, Type::tbool);
5742 CastExp::CastExp(Loc loc, Expression *e, Type *t) function in class:CastExp
5743 : UnaExp(loc, TOKcast, sizeof(CastExp), e)
5751 CastExp::CastExp(Loc loc, Expression *e, unsigned char mod) function in class:CastExp
5752 : UnaExp(loc, TOKcast, sizeof(CastExp), e)
5758 Expression *CastExp::syntaxCopy()
5760 return to ? new CastExp(lo
[all...]
H A Dstatementsem.c1158 tmp_length = new CastExp(loc, tmp_length, fs->key->type);
1593 flde = new CastExp(loc, flde, flde->type);
1652 flde = new CastExp(loc, flde, flde->type);
1707 e = new CastExp(loc, e, Type::tvoid); // Bugzilla 13899
1910 ie = new ExpInitializer(loc, new CastExp(loc, new VarExp(loc, fs->key), fs->prm->type));
2401 e = ((CastExp *)e)->e1;
2792 rs->exp = new CastExp(rs->loc, rs->exp, Type::tvoid);
3209 ss->exp = new CastExp(ss->loc, ss->exp, t);
H A Dvisitor.h229 class CastExp;
523 virtual void visit(CastExp *e) { visit((UnaExp *)e); }
H A Ddcast.c65 /* Do not emit CastExp for const conversions and
1043 void visit(CastExp *e)
1387 * The result of these checks should be consistent with CastExp::toElem().
1432 result = new CastExp(e->loc, e, tv->elementType());
1562 result = new CastExp(e->loc, e, t);
1887 result = new CastExp(e->loc, se, t);
3413 void visit(CastExp *e)
H A Dexpression.h947 class CastExp : public UnaExp class in inherits:UnaExp
954 CastExp(Loc loc, Expression *e, Type *t);
955 CastExp(Loc loc, Expression *e, unsigned char mod);
H A Descape.c858 void visit(CastExp *e)
/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dsideeffect.d216 CastExp ce = cast(CastExp)e;
244 CastExp ce = cast(CastExp)e;
H A Dclone.d922 ex = new CastExp(loc, ex, MODFlags.none);
942 ex = new CastExp(loc, ex, sdv.type.pointerTo());
1086 stmts.push(new ReturnStatement(loc, new CastExp(loc, new ThisExp(loc), Type.tvoidptr)));
1273 ex = new CastExp(loc, ex, sf.type.mutableOf().pointerTo());
1296 ex = new CastExp(loc, ex, sdv.type.pointerTo());
1352 ex = new CastExp(loc, ex, structField.type.mutableOf().pointerTo());
1373 ex = new CastExp(loc, ex, sdv.type.pointerTo());
H A Dimportc.d252 return new CastExp(ce.loc, e, t);
H A Dprintast.d125 override void visit(CastExp e)
H A Dexpression.h179 CastExp* isCastExp();
889 class CastExp : public UnaExp class in inherits:UnaExp
896 CastExp *syntaxCopy();
H A Darrayop.d215 override void visit(CastExp e)
H A Dstatementsem.d1092 tmp_length = new CastExp(loc, tmp_length, fs.key.type);
1493 fexp = new CastExp(loc, flde, flde.type);
1566 fexp = new CastExp(fs.loc, flde, flde.type);
1582 e = new CastExp(loc, e, Type.tvoid); // https://issues.dlang.org/show_bug.cgi?id=13899
1840 ie = new ExpInitializer(loc, new CastExp(loc, new VarExp(loc, fs.key), fs.prm.type));
2490 e = (cast(CastExp)e).e1;
2913 rs.exp = new CastExp(rs.loc, rs.exp, Type.tvoid);
3363 ss.exp = new CastExp(ss.loc, ss.exp, t);
H A Dvisitor.h238 class CastExp;
511 virtual void visit(CastExp *e) { visit((UnaExp *)e); }
H A Dopover.d549 Expression visitCast(CastExp e)
551 //printf("CastExp::op_overload() (%s)\n", e.toChars());
942 e1x = new CastExp(e.loc, e.e1, t1.isMutable() ? to : to.constOf());
944 e2x = new CastExp(e.loc, e.e2, t2.isMutable() ? to : to.constOf());
H A Doptimize.d752 void visitCast(CastExp e)
754 //printf("CastExp::optimize(result = %d) %s\n", result, e.toChars());
1203 ret = new CastExp(e.loc, ret, Type.tvoid);
1225 ret = new CastExp(e.loc, e.e2, e.type);
H A Ddcast.d75 /* Do not emit CastExp for const conversions and
104 auto result = new CastExp(e.loc, e, t);
1132 MATCH visitCast(CastExp e)
1136 printf("CastExp::implicitConvTo(this=%s, type=%s, t=%s)\n", e.toChars(), e.type.toChars(), t.toChars());
1580 * The result of these checks should be consistent with CastExp::toElem().
1636 Expression result = new CastExp(e.loc, e, tv.elementType());
1788 auto result = new CastExp(e.loc, e, t);
1860 auto result = new CastExp(e.loc, se, t);
2108 auto result = new CastExp(e.loc, se, t);
3725 IntRange visitCast(CastExp
[all...]
H A Dexpression.d1675 inout(CastExp) isCastExp() { return op == EXP.cast_ ? cast(typeof(return))this : null; }
5361 extern (C++) final class CastExp : UnaExp
5368 super(loc, EXP.cast_, __traits(classInstanceSize, CastExp), e);
5376 super(loc, EXP.cast_, __traits(classInstanceSize, CastExp), e);
5380 override CastExp syntaxCopy()
5382 return to ? new CastExp(loc, e1.syntaxCopy(), to.syntaxCopy()) : new CastExp(loc, e1.syntaxCopy(), mod);
/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/
H A Dexpr.cc179 CastExp *ce = (CastExp *) e1b;
817 CastExp *ce = (CastExp *) e1b;
1461 void visit (CastExp *e)
/netbsd-current/external/gpl3/gcc/dist/gcc/d/
H A Dexpr.cc88 CastExp *ce = e->isCastExp ();
168 CastExp *ce = e1b->isCastExp ();
803 CastExp *ce = e1b->isCastExp ();
1424 void visit (CastExp *e)

Completed in 238 milliseconds

12