Home
last modified time | relevance | path

Searched refs:ArrayLiteralExp (Results 1 – 25 of 70) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dconstfold.c789 ArrayLiteralExp *es2 = (ArrayLiteralExp *)e2; in Equal()
807 ArrayLiteralExp *es1 = (ArrayLiteralExp *)e1; in Equal()
835 ArrayLiteralExp *es1 = (ArrayLiteralExp *)e1; in Equal()
836 ArrayLiteralExp *es2 = (ArrayLiteralExp *)e2; in Equal()
872 ArrayLiteralExp *es2 = (ArrayLiteralExp *)e2; in Equal()
1278 ArrayLiteralExp *ale = (ArrayLiteralExp *)e1; in ArrayLength()
1337 ArrayLiteralExp *ale = (ArrayLiteralExp *)e1; in Index()
1355 ArrayLiteralExp *ale = (ArrayLiteralExp *)e1; in Index()
1444 ArrayLiteralExp *es1 = (ArrayLiteralExp *)e1; in Slice()
1460 new(&ue) ArrayLiteralExp(e1->loc, type, elements); in Slice()
[all …]
H A Dctfeexpr.c197 return ((ArrayLiteralExp *)expr)->ownedByCtfe == OWNEDcode; in needToCopyLiteral()
264 ArrayLiteralExp *ale = (ArrayLiteralExp *)e; in copyLiteral()
267 new(&ue) ArrayLiteralExp(e->loc, e->type, elements); in copyLiteral()
269 ArrayLiteralExp *r = (ArrayLiteralExp *)ue.exp(); in copyLiteral()
359 ArrayLiteralExp *r = (ArrayLiteralExp *)ue.exp(); in copyLiteral()
536 ArrayLiteralExp *ale = (ArrayLiteralExp *)e; in resolveArrayLength()
560 ArrayLiteralExp *createBlockDuplicatedArrayLiteral(UnionExp *pue, Loc loc, Type *type, in createBlockDuplicatedArrayLiteral()
584 new(pue) ArrayLiteralExp(loc, type, elements); in createBlockDuplicatedArrayLiteral()
585 ArrayLiteralExp *ale = (ArrayLiteralExp *)pue->exp(); in createBlockDuplicatedArrayLiteral()
1124 ArrayLiteralExp *ae1 = (x->op == TOKarrayliteral) ? (ArrayLiteralExp *)x : NULL; in ctfeCmpArrays()
[all …]
H A Ddinterpret.c1197 return stopPointersEscapingFromArray(loc, ((ArrayLiteralExp *)e)->elements); in stopPointersEscaping()
2469 void visit(ArrayLiteralExp *e) in visit()
2530 new(pue) ArrayLiteralExp(e->loc, e->type, basis, expsx); in visit()
2531 ArrayLiteralExp *ale = (ArrayLiteralExp *)pue->exp(); in visit()
2737 new(pue) ArrayLiteralExp(loc, newtype, elements); in recursivelyCreateArrayLiteral()
2738 ArrayLiteralExp *ae = (ArrayLiteralExp *)pue->exp(); in recursivelyCreateArrayLiteral()
2906 ArrayLiteralExp *ae = new ArrayLiteralExp(e->loc, e->newtype->arrayOf(), elements); in visit()
3735 ArrayLiteralExp *existingAE = (ArrayLiteralExp *)aggregate; in assignToLvalue()
3777 Expressions *oldelems = ((ArrayLiteralExp *)oldval)->elements; in assignToLvalue()
3778 Expressions *newelems = ((ArrayLiteralExp *)newval)->elements; in assignToLvalue()
[all …]
H A Dinitsem.c484 ArrayLiteralExp *ale = (ArrayLiteralExp *)i->exp; in visit()
615 Expression *e = new ArrayLiteralExp(init->loc, NULL, elements); in visit()
860 e = new ArrayLiteralExp(e->loc, tn, elements2); in visit()
879 Expression *e = new ArrayLiteralExp(init->loc, init->type, elements); in visit()
903 ArrayLiteralExp *ae = new ArrayLiteralExp(e->loc, itype, elements); in visit()
H A Dinit.c228 ArrayLiteralExp *ae = (ArrayLiteralExp *)e; in hasNonConstPointers()
H A Dexpression.h408 class ArrayLiteralExp : public Expression
415 ArrayLiteralExp(Loc loc, Type *type, Expressions *elements);
416 ArrayLiteralExp(Loc loc, Type *type, Expression *e);
417 ArrayLiteralExp(Loc loc, Type *type, Expression *basis, Expressions *elements);
418 static ArrayLiteralExp *create(Loc loc, Expressions *elements);
1524 char arrayliteralexp [sizeof(ArrayLiteralExp)];
1577 void sliceAssignArrayLiteralFromString(ArrayLiteralExp *existingAE, StringExp *newval, size_t first…
1578 void sliceAssignStringFromArrayLiteral(StringExp *existingSE, ArrayLiteralExp *newae, size_t firstI…
1582 int sliceCmpStringWithArray(StringExp *se1, ArrayLiteralExp *ae2, size_t lo1, size_t lo2, size_t le…
H A Dexpression.c1511 arg = new ArrayLiteralExp(loc, tbn->sarrayOf(nargs - i), elements); in functionParameters()
3750 ArrayLiteralExp::ArrayLiteralExp(Loc loc, Type *type, Expressions *elements) in ArrayLiteralExp() function
3751 : Expression(loc, TOKarrayliteral, sizeof(ArrayLiteralExp)) in ArrayLiteralExp()
3759 ArrayLiteralExp::ArrayLiteralExp(Loc loc, Type *type, Expression *e) in ArrayLiteralExp() function
3760 : Expression(loc, TOKarrayliteral, sizeof(ArrayLiteralExp)) in ArrayLiteralExp()
3769 ArrayLiteralExp::ArrayLiteralExp(Loc loc, Type *type, Expression *basis, Expressions *elements) in ArrayLiteralExp() function
3770 : Expression(loc, TOKarrayliteral, sizeof(ArrayLiteralExp)) in ArrayLiteralExp()
3778 ArrayLiteralExp *ArrayLiteralExp::create(Loc loc, Expressions *elements) in create()
3780 return new ArrayLiteralExp(loc, NULL, elements); in create()
3783 bool ArrayLiteralExp::equals(RootObject *o) in equals()
[all …]
H A Dcond.c99 ArrayLiteralExp *ale = (ArrayLiteralExp *)aggr; in lowerArrayAggregate()
365 aggr = new ArrayLiteralExp(aloc, indexty->arrayOf(), exps); in lowerNonArrayAggregate()
H A Ddcast.c129 void visit(ArrayLiteralExp *e) in implicitCastTo()
147 ArrayLiteralExp *ale = (ArrayLiteralExp *)e->e1; in implicitCastTo()
648 void visit(ArrayLiteralExp *e) in implicitConvTo()
2002 void visit(ArrayLiteralExp *e) in castTo()
2009 ArrayLiteralExp *ae = e; in castTo()
2032 ae = (ArrayLiteralExp *)e->copy(); in castTo()
2054 ae = (ArrayLiteralExp *)e->copy(); in castTo()
2070 ae = (ArrayLiteralExp *)e->copy(); in castTo()
2406 void visit(ArrayLiteralExp *ale) in inferType()
2558 && (((ArrayLiteralExp *)e)->elements->dim == 1)) in isVoidArrayLiteral()
[all …]
H A Dapply.c114 void visit(ArrayLiteralExp *e) in visit()
H A Dnogc.c79 void visit(ArrayLiteralExp *e) in visit()
H A Darrayop.c292 void visit(ArrayLiteralExp *e) in buildArrayIdent()
441 void visit(ArrayLiteralExp *e) in buildArrayLoop()
H A Dctfe.h147 ArrayLiteralExp *createBlockDuplicatedArrayLiteral(UnionExp *pue, Loc loc, Type *type,
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dconstfold.d735 else if (ArrayLiteralExp es2 = e2.isArrayLiteralExp()) in Equal()
751 else if (ArrayLiteralExp es1 = e1.isArrayLiteralExp()) in Equal()
780 ArrayLiteralExp es1 = e1.isArrayLiteralExp(); in Equal()
781 ArrayLiteralExp es2 = e2.isArrayLiteralExp(); in Equal()
815 ArrayLiteralExp es2 = e2.isArrayLiteralExp(); in Equal()
1201 else if (ArrayLiteralExp ale = e1.isArrayLiteralExp()) in ArrayLength()
1254 else if (ArrayLiteralExp ale = e1.isArrayLiteralExp()) in Index()
1270 if (ArrayLiteralExp ale = e1.isArrayLiteralExp()) in Index()
1360 ArrayLiteralExp es1 = e1.isArrayLiteralExp(); in Slice()
1369 emplaceExp!(ArrayLiteralExp)(&ue, e1.loc, type, elements); in Slice()
[all …]
H A Dctfeexpr.d300 emplaceExp!(ArrayLiteralExp)(&ue, e.loc, e.type, elements); in copyLiteral()
302 ArrayLiteralExp r = ue.exp().isArrayLiteralExp(); in copyLiteral()
578 ArrayLiteralExp createBlockDuplicatedArrayLiteral(UnionExp* pue, const ref Loc loc, Type type, Expr… in createBlockDuplicatedArrayLiteral()
599 emplaceExp!(ArrayLiteralExp)(pue, loc, type, elements); in createBlockDuplicatedArrayLiteral()
1447 ArrayLiteralExp es2 = e1.isArrayLiteralExp(); in ctfeCat()
1477 ArrayLiteralExp es2 = e2.isArrayLiteralExp(); in ctfeCat()
1506 ArrayLiteralExp es1 = e1.isArrayLiteralExp(); in ctfeCat()
1507 ArrayLiteralExp es2 = e2.isArrayLiteralExp(); in ctfeCat()
1508 emplaceExp!(ArrayLiteralExp)(&ue, es1.loc, type, copyLiteralArray(es1.elements)); in ctfeCat()
1804 ArrayLiteralExp ae = oldval.isArrayLiteralExp(); in changeArrayLiteralLength()
[all …]
H A Dexpression.h145 ArrayLiteralExp* isArrayLiteralExp();
414 class ArrayLiteralExp : public Expression
421 static ArrayLiteralExp *create(const Loc &loc, Expressions *elements);
423 ArrayLiteralExp *syntaxCopy();
1382 char arrayliteralexp [sizeof(ArrayLiteralExp)];
H A Dapply.d160 override void visit(ArrayLiteralExp e) in visit()
H A Dnogc.d89 override void visit(ArrayLiteralExp e) in visit()
H A Dinitsem.d1017 Expression e = new ArrayLiteralExp(init.loc, null, elements); in inferType()
1259 e = new ArrayLiteralExp(e.loc, tn, elements2); in visitArray()
1275 Expression e = new ArrayLiteralExp(init.loc, init.type, elements); in visitArray()
1293 auto ae = new ArrayLiteralExp(e.loc, itype, elements); in visitExp()
H A Dlambdacomp.d469 override void visit(ArrayLiteralExp) { buf.setsize(0); } in visit() argument
H A Ddinterpret.d552 thisarg = ctfeEmplaceExp!ArrayLiteralExp(loc, t2, elements); in interpretFunction()
2468 override void visit(ArrayLiteralExp e) in visit()
2533 emplaceExp!(ArrayLiteralExp)(pue, e.loc, e.type, basis, expsx); in visit()
2749 emplaceExp!(ArrayLiteralExp)(pue, loc, newtype, elements); in recursivelyCreateArrayLiteral()
2915 auto ae = ctfeEmplaceExp!ArrayLiteralExp(e.loc, e.newtype.arrayOf(), elements); in visit()
3084 emplaceExp!ArrayLiteralExp(&ue, loc, type, cast(Expressions*) null); in interpretCommon()
3090 emplaceExp!ArrayLiteralExp(&ue, loc, type, elements); in interpretCommon()
3878 ArrayLiteralExp existingAE = aggregate.isArrayLiteralExp(); in assignToLvalue()
4262 extern (C++) Expression assignTo(ArrayLiteralExp ae) in interpretAssignToSlice()
4267 extern (C++) Expression assignTo(ArrayLiteralExp ae, size_t lwr, size_t upr) in interpretAssignToSlice()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A DChangeLog-201626 * expr.cc (ExprVisitor::visit(ArrayLiteralExp)): Use getElement to
298 * expr.cc (ExprVisitor::visit(ArrayLiteralExp)): Send finished decl to
658 (ExprVisitor::visit(ArrayLiteralExp)): Evaluate elements before
770 * expr.cc (ExprVisitor::visit(ArrayLiteralExp)): Don't check
842 (ArrayLiteralExp::toDt): Likewise.
850 (ExprVisitor::visit(ArrayLiteralExp)): Likewise.
898 (ExprVisitor::visit(ArrayLiteralExp)): Likewise.
976 (ArrayLiteralExp::toElem): Likewise.
H A DChangeLog-201369 (ArrayLiteralExp::toElem): Ensure array literal elements have no side
162 (ArrayLiteralExp::toElem): Use TypeSArray::makeType to generate
229 * d-elem.cc (ArrayLiteralExp::toElem): Build empty constructor for zero
236 (ArrayLiteralExp::toElem): Do not allocate static or const array
319 * d-elem.cc (ArrayLiteralExp::toElem): Return null for zero length
415 (ArrayLiteralExp::toElem): Implicitly convert static arrays of void to
685 (ArrayLiteralExp::toElem): Likewise.
807 (ArrayLiteralExp::toElem): Always generate literals on heap.
H A DChangeLog-2012216 (ArrayLiteralExp::toElem): Don't call ARRAYLITERALTX library function
327 (ArrayLiteralExp::toElem): Likewise.
464 (ArrayLiteralExp::toElem): Likewise.
669 * d-glue.cc (ArrayLiteralExp::toElem): Always generate code for
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-frontend.cc464 Expressions *elements = ((ArrayLiteralExp *) expr)->elements; in paintAsType()

123