Home
last modified time | relevance | path

Searched refs:StructLiteralExp (Results 1 – 25 of 57) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dinit.c221 StructLiteralExp *se = (StructLiteralExp *)e; in hasNonConstPointers()
246 StructLiteralExp *se = (StructLiteralExp *)ae->e1; in hasNonConstPointers()
H A Dctfeexpr.c28 ClassReferenceExp::ClassReferenceExp(Loc loc, StructLiteralExp *lit, Type *type) in ClassReferenceExp()
201 return ((StructLiteralExp *)expr)->ownedByCtfe == OWNEDcode; in needToCopyLiteral()
288 StructLiteralExp *sle = (StructLiteralExp *)e; in copyLiteral()
324 new(&ue) StructLiteralExp(e->loc, sle->sd, newelems, sle->stype); in copyLiteral()
325 StructLiteralExp *r = (StructLiteralExp *)ue.exp(); in copyLiteral()
328 r->origin = ((StructLiteralExp *)e)->origin; in copyLiteral()
718StructLiteralExp *se = ex->op == TOKclassreference ? ((ClassReferenceExp *)ex)->value : (StructLit… in getAggregateFromPointer()
1311 StructLiteralExp *es1 = (StructLiteralExp *)e1; in ctfeRawCmp()
1312 StructLiteralExp *es2 = (StructLiteralExp *)e2; in ctfeRawCmp()
1681 oldelems = ((StructLiteralExp *)dest)->elements; in assignInPlace()
[all …]
H A Dctfe.h39 StructLiteralExp *value;
40 ClassReferenceExp(Loc loc, StructLiteralExp *lit, Type *type);
H A Ddinterpret.c274 static Expression *scrubStructLiteral(Loc loc, StructLiteralExp *sle);
277 static Expression *scrubStructLiteralCache(StructLiteralExp *sle);
1192 StructLiteralExp *se = (StructLiteralExp *)e; in stopPointersEscaping()
2630 void visit(StructLiteralExp *e) in visit()
2702 new(pue) StructLiteralExp(e->loc, e->sd, expsx); in visit()
2703 StructLiteralExp *sle = (StructLiteralExp *)pue->exp(); in visit()
2806 StructLiteralExp *se = new StructLiteralExp(e->loc, sd, exps, e->newtype); in visit()
2856StructLiteralExp *se = new StructLiteralExp(e->loc, (StructDeclaration *)cd, elems, e->newtype); in visit()
3604 StructLiteralExp *sle = ex->op == TOKstructliteral ? ((StructLiteralExp *)ex)
3632 void stompOverlappedFields(StructLiteralExp *sle, VarDeclaration *v) in stompOverlappedFields()
[all …]
H A Doptimize.c274 void visit(StructLiteralExp *e) in Expression_optimize()
452 StructLiteralExp *sle = (StructLiteralExp *)ex; in Expression_optimize()
482 StructLiteralExp *sle = (StructLiteralExp *)ex; in Expression_optimize()
H A Dapply.c124 void visit(StructLiteralExp *e) in visit()
H A Dconstfold.c897 StructLiteralExp *es1 = (StructLiteralExp *)e1; in Equal()
898 StructLiteralExp *es2 = (StructLiteralExp *)e2; in Equal()
1248 new(&ue) StructLiteralExp(loc, sd, elements); in Cast()
1909 StructLiteralExp *se = (StructLiteralExp *)ade->e1; in Ptr()
H A Dexpression.h457 class StructLiteralExp : public Expression
473 StructLiteralExp *origin;
476 StructLiteralExp *inlinecopy;
484 StructLiteralExp(Loc loc, StructDeclaration *sd, Expressions *elements, Type *stype = NULL);
485 …static StructLiteralExp *create(Loc loc, StructDeclaration *sd, void *elements, Type *stype = NULL…
1526 char structliteralexp [sizeof(StructLiteralExp)];
H A Dinitsem.c168 StructLiteralExp *sle = new StructLiteralExp(i->loc, sd, elements, t); in visit()
445 e = new StructLiteralExp(i->loc, sd, NULL); in visit()
H A Dexpression.c3980 StructLiteralExp::StructLiteralExp(Loc loc, StructDeclaration *sd, Expressions *elements, Type *sty… in StructLiteralExp() function
3981 : Expression(loc, TOKstructliteral, sizeof(StructLiteralExp)) in StructLiteralExp()
3997 StructLiteralExp *StructLiteralExp::create(Loc loc, StructDeclaration *sd, void *elements, Type *st… in create()
3999 return new StructLiteralExp(loc, sd, (Expressions *)elements, stype); in create()
4002 bool StructLiteralExp::equals(RootObject *o) in equals()
4009 StructLiteralExp *se = (StructLiteralExp *)o; in equals()
4027 Expression *StructLiteralExp::syntaxCopy() in syntaxCopy()
4029StructLiteralExp *exp = new StructLiteralExp(loc, sd, arraySyntaxCopy(elements), type ? type : sty… in syntaxCopy()
4034 Expression *StructLiteralExp::addDtorHook(Scope *sc) in addDtorHook()
4066 Expression *StructLiteralExp::getField(Type *type, unsigned offset) in getField()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A DChangeLog-2016191 * expr.cc (ExprVisitor::visit(StructLiteralExp)): Likewise.
370 (StructLiteralExp::toSymbol): Remove function. Inline into caller ...
393 (StructLiteralExp::toSymbol): Don't handle sinit.
402 (ExprVisitor::visit(StructLiteralExp)): Likewise.
493 (StructLiteralExp::toSymbol): Likewise.
660 (ExprVisitor::visit(StructLiteralExp)): Likewise.
772 (ExprVisitor::visit(StructLiteralExp)): Likewise.
808 * d-todt.cc (StructLiteralExp::toDt): Update call to build_expr.
816 (ExprVisitor::visit(StructLiteralExp)): Don't return static
831 * expr.cc (ExprVisitor::visit(StructLiteralExp)): Use it.
[all …]
H A DChangeLog-201371 * d-todt.cc (StructLiteralExp::toDt): Update for frontend changes.
164 (StructLiteralExp::toElem): Update for frontend changes.
168 * d-todt.cc (StructLiteralExp::toDt): Literal initialisers override
404 * d-decls.cc (StructLiteralExp::toSymbol): Implement correctly to
411 (AddrExp::toElem): Handle taking the address of StructLiteralExp and
417 (StructLiteralExp::toElem): Remove code generation of postblit calls,
433 (StructLiteralExp::toSymbol): New function.
577 (StructLiteralExp::toElem): Handle fillHoles here, creating a
630 (StructLiteralExp::toDt): Likewise.
687 (StructLiteralExp::toElem): Likewise.
[all …]
H A DChangeLog-2014129 (StructLiteralExp::toElem): Likewise.
136 (StructLiteralExp::toElem): Build static initialiser if a symbol was
156 (StructLiteralExp::toElem): Likewise.
573 (StructLiteralExp::toSymbol): Likewise.
H A DChangeLog-2012218 (StructLiteralExp::toElem): Use IRState::arraySetExpr.
370 (StructLiteralExp::toElem): Update for new frontend.
519 (StructLiteralExp::toElem): Assert instead that basetype is a struct.
621 * d-glue.cc (StructLiteralExp::toElem): Stop after first assignment for
736 (StructLiteralExp::toElem): Likewise.
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dctfe.h23 StructLiteralExp *value;
H A Dexpression.h147 StructLiteralExp* isStructLiteralExp();
447 class StructLiteralExp : public Expression
461 StructLiteralExp *origin;
464 StructLiteralExp *inlinecopy;
477 …static StructLiteralExp *create(const Loc &loc, StructDeclaration *sd, void *elements, Type *stype…
479 StructLiteralExp *syntaxCopy();
1384 char structliteralexp [sizeof(StructLiteralExp)];
H A Dvisitor.d68 void visit(ASTCodegen.StructLiteralExp e) { visit(cast(ASTCodegen.Expression)e); }
149 override void visit(ASTCodegen.StructLiteralExp e)
H A Dctfeexpr.d45 StructLiteralExp value;
47 extern (D) this(const ref Loc loc, StructLiteralExp lit, Type type) in this()
353 emplaceExp!(StructLiteralExp)(&ue, e.loc, sle.sd, newelems, sle.stype); in copyLiteral()
726 StructLiteralExp se = (ex.op == EXP.classReference) in getAggregateFromPointer()
1294 StructLiteralExp es1 = e1.isStructLiteralExp();
1295 StructLiteralExp es2 = e2.isStructLiteralExp();
2100 emplaceExp!(StructLiteralExp)(&ue, var.loc, ts.sym, exps); in voidInitLiteral()
2101 StructLiteralExp se = ue.exp().isStructLiteralExp(); in voidInitLiteral()
H A Dapply.d170 override void visit(StructLiteralExp e) in visit()
H A Dprintast.d70 override void visit(StructLiteralExp e) in visit()
H A Dinitsem.d244 auto sle = new StructLiteralExp(i.loc, sd, elements, t); in initializerSemantic()
540 e = new StructLiteralExp(i.loc, sd, null); in initializerSemantic()
724 auto sle = new StructLiteralExp(ci.loc, sd, elements, tx); in initializerSemantic()
H A Dlambdacomp.d447 override void visit(StructLiteralExp e) { in visit()
H A Doptimize.d369 void visitStructLiteral(StructLiteralExp e) in Expression_optimize()
672 StructLiteralExp sle = ex.isStructLiteralExp(); in Expression_optimize()
698 StructLiteralExp sle = ex.isStructLiteralExp(); in Expression_optimize()
H A Ddstruct.d534 auto sle = cast(StructLiteralExp) exp; in _isZeroInit()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dexpr.cc1700 StructLiteralExp *sle = ((StructLiteralExp *) e->e1)->origin; in visit()
1752 StructLiteralExp *sle = (StructLiteralExp *) dve->e1; in visit()
2458 StructLiteralExp *se = StructLiteralExp::create (e->loc, sd, in visit()
2873 void visit (StructLiteralExp *e) in visit()

123