Home
last modified time | relevance | path

Searched refs:IdentifierExp (Results 1 – 25 of 39) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Darrayop.c56 new ArrayLengthExp(Loc(), new IdentifierExp(Loc(), p->ident)), in buildArrayOp()
60 Statement *s2 = new ReturnStatement(Loc(), new IdentifierExp(Loc(), p->ident)); in buildArrayOp()
427 result = new IdentifierExp(Loc(), id); in buildArrayLoop()
446 Expression *ie = new IdentifierExp(Loc(), id); in buildArrayLoop()
447 Expression *index = new IdentifierExp(Loc(), Id::p); in buildArrayLoop()
456 Expression *ie = new IdentifierExp(Loc(), id); in buildArrayLoop()
457 Expression *index = new IdentifierExp(Loc(), Id::p); in buildArrayLoop()
H A Dclone.c95 UnionExp el; new(&el) IdentifierExp(ad->loc, Id::p); // dummy lvalue in hasIdentityOpAssign()
275 ec = new BlitExp(loc, new ThisExp(loc), new IdentifierExp(loc, Id::p)); in buildOpAssign()
303 new DotVarExp(loc, new IdentifierExp(loc, Id::p), v)); in buildOpAssign()
417 UnionExp el; new(&el) IdentifierExp(ad->loc, Id::p); // dummy lvalue in hasIdentityOpEquals()
522 Expression *e = new IdentifierExp(sd->loc, Id::empty); in buildXopEquals()
542 Expression *e1 = new IdentifierExp(loc, Id::p); in buildXopEquals()
543 Expression *e2 = new IdentifierExp(loc, Id::q); in buildXopEquals()
607 Expression *e = new IdentifierExp(sd->loc, Id::empty); in buildXopCmp()
627 Expression *e1 = new IdentifierExp(loc, Id::p); in buildXopCmp()
628 Expression *e2 = new IdentifierExp(loc, Id::q); in buildXopCmp()
[all …]
H A Dcond.c272 res[i] = new IdentifierExp(aloc, (*pparams[i])[0]->ident); in lowerNonArrayAggregate()
283 e->push(new IdentifierExp(aloc, p->ident)); in lowerNonArrayAggregate()
329 Expression *catass = new CatAssignExp(aloc, new IdentifierExp(aloc, idres), res[1]); in lowerNonArrayAggregate()
331 s2->push(new ReturnStatement(aloc, new IdentifierExp(aloc, idres))); in lowerNonArrayAggregate()
H A Dtypesem.c59 result = typeToExpressionHelper(t, new IdentifierExp(t->loc, t->ident)); in visit()
H A Dvisitor.h183 class IdentifierExp; variable
477 virtual void visit(IdentifierExp *e) { visit((Expression *)e); } in visit()
478 virtual void visit(DollarExp *e) { visit((IdentifierExp *)e); } in visit()
H A Dexpression.h289 class IdentifierExp : public Expression
294 IdentifierExp(Loc loc, Identifier *ident);
295 static IdentifierExp *create(Loc loc, Identifier *ident);
301 class DollarExp : public IdentifierExp
H A Dexpression.c3138 IdentifierExp::IdentifierExp(Loc loc, Identifier *ident) in IdentifierExp() function
3139 : Expression(loc, TOKidentifier, sizeof(IdentifierExp)) in IdentifierExp()
3144 IdentifierExp *IdentifierExp::create(Loc loc, Identifier *ident) in create()
3146 return new IdentifierExp(loc, ident); in create()
3149 bool IdentifierExp::isLvalue() in isLvalue()
3154 Expression *IdentifierExp::toLvalue(Scope *, Expression *) in toLvalue()
3162 : IdentifierExp(loc, Id::dollar) in DollarExp()
H A Dfunc.c276 ThrowStatement *ts = new ThrowStatement(Loc(), new IdentifierExp(Loc(), id)); in visit()
1335 eresult = new IdentifierExp(loc, fdx->outId); in buildEnsureRequire()
2745 eresult = new IdentifierExp(loc, oid); in mergeFensure()
3350 e = new IdentifierExp(Loc(), p->ident); in leastAsSpecialized()
5158 Expression *e = new IdentifierExp(Loc(), v->ident); in semantic()
5285 Expression *e = new IdentifierExp(Loc(), v->ident); in semantic()
H A Dopover.c926 Expression *eeq = new IdentifierExp(e->loc, Id::__ArrayEq); in op_overload()
982 result = new IdentifierExp(e->loc, Id::empty); in op_overload()
H A Dstatementsem.c187 … ThrowStatement *ts = new ThrowStatement(Loc(), new IdentifierExp(Loc(), id)); in visit()
1206 … ExpInitializer *ei = new ExpInitializer(loc, new IdentifierExp(loc, fs->key->ident)); in visit()
1490 … Initializer *ie = new ExpInitializer(Loc(), new IdentifierExp(Loc(), id)); in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dclone.d106 scope el = new IdentifierExp(ad.loc, Id.p); // dummy lvalue in hasIdentityOpAssign()
327 auto e3 = new BlitExp(loc, new ThisExp(loc), new IdentifierExp(loc, Id.p)); in buildOpAssign()
339 e = new BlitExp(loc, new ThisExp(loc), new IdentifierExp(loc, Id.p)); in buildOpAssign()
358 new DotVarExp(loc, new IdentifierExp(loc, Id.p), v)); in buildOpAssign()
462 scope el = new IdentifierExp(ad.loc, Id.p); // dummy lvalue in hasIdentityOpEquals()
562 Expression e = new IdentifierExp(sd.loc, Id.empty); in buildXopEquals()
583 Expression e1 = new IdentifierExp(loc, Id.This); in buildXopEquals()
584 Expression e2 = new IdentifierExp(loc, Id.p); in buildXopEquals()
686 Expression e = new IdentifierExp(sd.loc, Id.empty); in buildXopCmp()
707 Expression e1 = new IdentifierExp(loc, Id.This); in buildXopCmp()
[all …]
H A Dcond.d328 res[i] = new IdentifierExp(aloc, (*pparams[i])[0].ident); in lowerNonArrayAggregate()
339 elem = new IdentifierExp(aloc, p.ident); in lowerNonArrayAggregate()
385 auto catass = new CatAssignExp(aloc, new IdentifierExp(aloc, idres), res[1]); in lowerNonArrayAggregate()
387 s2.push(new ReturnStatement(aloc, new IdentifierExp(aloc, idres))); in lowerNonArrayAggregate()
H A Dexpression.h137 IdentifierExp* isIdentifierExp();
308 class IdentifierExp : public Expression
313 static IdentifierExp *create(const Loc &loc, Identifier *ident);
319 class DollarExp : public IdentifierExp
H A Dvisitor.h189 class IdentifierExp; variable
486 virtual void visit(IdentifierExp *e) { visit((Expression *)e); } in visit()
499 virtual void visit(DollarExp *e) { visit((IdentifierExp *)e); } in visit()
H A Darrayop.d141 Expression id = new IdentifierExp(e.loc, Id.empty); in arrayOp()
H A Dlambdacomp.d231 override void visit(IdentifierExp exp) in visit()
H A Dparsetimevisitor.d194 void visit(AST.IdentifierExp e) { visit(cast(AST.Expression)e); } in ParseTimeVisitor()
207 void visit(AST.DollarExp e) { visit(cast(AST.IdentifierExp)e); } in ParseTimeVisitor()
H A Dstatementsem.d340 … auto ts = new ThrowStatement(Loc.initial, new IdentifierExp(Loc.initial, id)); in package()
1142 auto ei = new ExpInitializer(loc, new IdentifierExp(loc, fs.key.ident)); in package()
1656 Initializer ie = new ExpInitializer(fs.loc, new IdentifierExp(fs.loc, id)); in package()
2348 Expression sl = new IdentifierExp(ss.loc, Id.empty); in package()
2444 Expression sl = new IdentifierExp(ss.loc, Id.empty); in package()
4089 e = new CallExp(loc, new IdentifierExp(loc, Id._d_delThrowable), e); in catchSemantic()
4091 Expression ec = new IdentifierExp(loc, Id.ctfe); in catchSemantic()
H A Dfunc.d173 auto ts = new ThrowStatement(Loc.initial, new IdentifierExp(Loc.initial, id)); in visit()
1041 e = new IdentifierExp(Loc.initial, p.ident); in leastAsSpecialized()
2432 auto resultId = new IdentifierExp(rloc, Id.result); in buildEnsureRequire()
2508 fdensureParams.push(new IdentifierExp(loc, Id.result)); in buildEnsureRequire()
H A Dexpression.d1631 …inout(IdentifierExp) isIdentifierExp() { return op == EXP.identifier ? cast(typeof(return))this : … in isIdentifierExp()
2222 extern (C++) class IdentifierExp : Expression
2228 super(loc, EXP.identifier, __traits(classInstanceSize, IdentifierExp)); in this()
2232 static IdentifierExp create(const ref Loc loc, Identifier ident) in create()
2234 return new IdentifierExp(loc, ident); in create()
2258 extern (C++) final class DollarExp : IdentifierExp
H A Dexpressionsem.d2579 override void visit(IdentifierExp exp) in visit()
6322 Expression __assertFail = new IdentifierExp(exp.loc, Id.empty); in visit()
7641 Expression id = new IdentifierExp(exp.loc, Id.empty); in visit()
9590 Expression id = new IdentifierExp(ale.loc, Id.empty); in visit()
9951 Expression id = new IdentifierExp(exp.loc, Id.empty); in visit()
11431 Expression cl = new IdentifierExp(exp.loc, Id.empty); in visit()
11499 Expression al = new IdentifierExp(exp.loc, Id.empty); in visit()
11776 Expression __equals = new IdentifierExp(exp.loc, Id.empty); in visit()
H A Dcparse.d673 e = new AST.IdentifierExp(loc, token.ident); in cparsePrimaryExp()
1076 auto ie = new AST.IdentifierExp(loc, t.isTypeIdentifier().ident); in cparseCastExp()
H A Dsemantic3.d1454 auto ts = new ThrowStatement(ctor.loc, new IdentifierExp(ctor.loc, id)); in visit()
H A Ddeclaration.d1474 e = new CallExp(loc, new IdentifierExp(loc, Id.__ArrayDtor), se); in callScopeDtor()
H A Dtraits.d2083 exps.push(new IdentifierExp(e.loc, x.ident)); in semanticTraits()

12