Home
last modified time | relevance | path

Searched refs:IndexExp (Results 1 – 25 of 47) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddinterpret.c368 void visit(IndexExp *e) in onExpression()
2012 IndexExp *ei = new IndexExp(e->loc, aggregate, ofs); in visit()
2497 assert(exp->op != TOKindex || ((IndexExp *)exp)->e1 != e); in visit()
2909 IndexExp *ei = new IndexExp(e->loc, ae, new IntegerExp(Loc(), 0, Type::tsize_t)); in visit()
3151 e = ((IndexExp *)e)->e1; in findParentVar()
3243 if (e1->op == TOKindex && ((IndexExp *)e1)->e1->type->toBasetype()->ty == Taarray)
3255 IndexExp *ie = (IndexExp *)e1;
3258 ((IndexExp *)ie->e1)->e1->type->toBasetype()->ty == Taarray)
3261 ie = (IndexExp *)ie->e1;
3276 lastIndex = interpret(((IndexExp *)e1)->e2, istate);
[all …]
H A Dctfeexpr.c379 new(&ue) IndexExp(e->loc, ((IndexExp *)e)->e1, ((IndexExp *)e)->e2); in copyLiteral()
452 IndexExp *ie = (IndexExp *)lit; in paintTypeOntoLiteralCopy()
453 new(&ue) IndexExp(lit->loc, ie->e1, ie->e2); in paintTypeOntoLiteralCopy()
729 IndexExp *ie = (IndexExp *)e; in getAggregateFromPointer()
922 Expression *ie = new IndexExp(loc, agg1, ofs); in pointerArithmetic()
1952 Expression *eagg = ((IndexExp *)newval)->e1; in isCtfeReferenceValid()
H A Ddelegatize.c89 void visit(IndexExp *e) in lambdaSetParent()
H A Dnogc.c170 void visit(IndexExp* e) in visit()
H A Dexpression.c6117 IndexExp::IndexExp(Loc loc, Expression *e1, Expression *e2) in IndexExp() function
6118 : BinExp(loc, TOKindex, sizeof(IndexExp), e1, e2) in IndexExp()
6126 Expression *IndexExp::syntaxCopy() in syntaxCopy()
6128 IndexExp *ie = new IndexExp(loc, e1->syntaxCopy(), e2->syntaxCopy()); in syntaxCopy()
6133 bool IndexExp::isLvalue() in isLvalue()
6138 Expression *IndexExp::toLvalue(Scope *, Expression *) in toLvalue()
6143 int IndexExp::checkModifiable(Scope *sc, int flag) in checkModifiable()
6155 Expression *IndexExp::modifiableLvalue(Scope *sc, Expression *e) in modifiableLvalue()
6165 Expression *IndexExp::markSettingAAElem() in markSettingAAElem()
6179 Expression *ex = ((IndexExp *)e1)->markSettingAAElem(); in markSettingAAElem()
[all …]
H A Descape.c218 IndexExp *ie = (IndexExp *)e1; in checkAssignEscape()
1074 void visit(IndexExp *e) in escapeByRef()
H A Doptimize.c380 IndexExp *ae = (IndexExp *)e->e1; in Expression_optimize()
1036 void visit(IndexExp *e) in Expression_optimize()
H A Dexpression.h1088 class IndexExp : public BinExp
1095 IndexExp(Loc loc, Expression *e1, Expression *e2);
1530 char indexexp [sizeof(IndexExp)];
H A Dvisitor.h240 class IndexExp; variable
534 virtual void visit(IndexExp *e) { visit((BinExp *)e); } in visit()
H A Ddsymbol.c1638 IndexExp *ie = (IndexExp *)exp; in search()
H A Dcond.c110 Expression *value = new IndexExp(aggr->loc, aggr, index); in lowerArrayAggregate()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dimportc.d163 return new IndexExp(ae.loc, e1, e2, true).expressionSemantic(sc); in carraySemantic()
171 return new IndexExp(ae.loc, e2, e1, true).expressionSemantic(sc); // swap operands in carraySemantic()
H A Dvisitor.d85 void visit(ASTCodegen.IndexExp e) { visit(cast(ASTCodegen.BinExp)e); }
232 override void visit(ASTCodegen.IndexExp e)
H A Dexpression.h190 IndexExp* isIndexExp();
1014 class IndexExp : public BinExp
1021 IndexExp *syntaxCopy();
1388 char indexexp [sizeof(IndexExp)];
H A Dnogc.d151 override void visit(IndexExp e) in visit()
H A Dprintast.d191 override void visit(IndexExp e) in visit()
H A Ddelegatize.d126 override void visit(IndexExp e) in lambdaSetParent()
H A Ddinterpret.d1770 result = ctfeEmplaceExp!IndexExp(e.loc, result, IntegerExp.literal!0); in visit()
1955 auto ei = ctfeEmplaceExp!IndexExp(e.loc, aggregate, ofs); in visit()
2918 …auto ei = ctfeEmplaceExp!IndexExp(e.loc, ae, ctfeEmplaceExp!IntegerExp(Loc.initial, 0, Type.tsize_… in visit()
3387 IndexExp ie = e1.isIndexExp();
3413 IndexExp xe = e1.isIndexExp();
3536 IndexExp ie = e1.isIndexExp();
5182 …static bool resolveIndexing(IndexExp e, InterState* istate, Expression* pagg, uinteger_t* pidx, bo… in resolveIndexing()
5314 override void visit(IndexExp e) in visit()
5335 …emplaceExp!(IndexExp)(pue, e.loc, agg, ctfeEmplaceExp!IntegerExp(e.e2.loc, indexToAccess, e.e2.typ… in visit()
5380 emplaceExp!(IndexExp)(pue, e.loc, e1, e2); in visit()
[all …]
H A Dforeachvar.d89 override void visit(IndexExp e) in foreachVar()
H A Dexpression.d579 char[__traits(classInstanceSize, IndexExp)] indexexp;
639 IndexExp ei = cast(IndexExp)e; in expToVariable()
1686 … inout(IndexExp) isIndexExp() { return op == EXP.index ? cast(typeof(return))this : null; } in isIndexExp()
5821 extern (C++) final class IndexExp : BinExp
5829 super(loc, EXP.index, __traits(classInstanceSize, IndexExp), e1, e2); in this()
5835 super(loc, EXP.index, __traits(classInstanceSize, IndexExp), e1, e2); in this()
5840 override IndexExp syntaxCopy() in syntaxCopy()
5842 auto ie = new IndexExp(loc, e1.syntaxCopy(), e2.syntaxCopy()); in syntaxCopy()
7164 auto indexExp = cast(IndexExp)exp;
H A Dvisitor.h249 class IndexExp; variable
648 virtual void visit(IndexExp *e) { visit((BinExp *)e); } in visit()
H A Dcond.d170 auto value = new IndexExp(aggr.loc, aggr, index); in private()
H A Dctfeexpr.d400 emplaceExp!(IndexExp)(&ue, e.loc, ie.e1, ie.e2); in copyLiteral()
468 emplaceExp!(IndexExp)(&ue, lit.loc, ie.e1, ie.e2); in paintTypeOntoLiteralCopy()
908 Expression ie = ctfeEmplaceExp!IndexExp(loc, agg1, ofs); in pointerArithmetic()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-tree.h34 class IndexExp; variable
586 extern tree build_bounds_index_condition (IndexExp *, tree, tree);
H A DChangeLog-2016973 (IndexExp::toElem): Likewise.
1035 * d-elem.cc (IndexExp::toElem): Use build_bounds_condition.
1082 (IndexExp::toElem): Call _aaGetY when indexing an associative array.

12