Home
last modified time | relevance | path

Searched refs:VarExp (Results 1 – 25 of 64) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dstatementsem.c528 ds = ((VarExp *)e)->var; in declareVariable()
868 fs->aggr = new VarExp(fs->aggr->loc, vinit); in visit()
1148 Expression *tmp_length = new DotIdExp(loc, new VarExp(loc, tmp), Id::length); in visit()
1176 cond = new PostExp(TOKminusminus, loc, new VarExp(loc, fs->key)); in visit()
1181 cond = new CmpExp(TOKlt, loc, new VarExp(loc, fs->key), tmp_length); in visit()
1188 …increment = new AddAssignExp(loc, new VarExp(loc, fs->key), new IntegerExp(loc, 1, fs->key->type)); in visit()
1192 …>value->_init = new ExpInitializer(loc, new IndexExp(loc, new VarExp(loc, tmp), new VarExp(loc, fs… in visit()
1284 if (vinit && fs->aggr->op == TOKvar && ((VarExp *)fs->aggr)->var == vinit) in visit()
1299 Expression *e = new VarExp(loc, r); in visit()
1304 e = new VarExp(loc, r); in visit()
[all …]
H A Dexpression.c121 e1 = new VarExp(loc, f->vthis);
379 s = ((VarExp *)e1)->var->isFuncDeclaration();
433 VarExp *ve = (VarExp *)e1;
448 VarExp *ve = (VarExp *)e1;
623 (sc->intypeof || !((VarExp *)e1)->var->needThis())) in resolvePropertiesOnly()
625 fd = ((VarExp *)e1)->var->isFuncDeclaration(); in resolvePropertiesOnly()
1262 VarExp *ve = (VarExp *)comma->e2; in valueNoDtor()
1276 VarDeclaration *vtmp = ((VarExp *)e)->var->isVarDeclaration(); in valueNoDtor()
1331 Expression *ve = new VarExp(e->loc, tmp); in callCpCtor()
1698 { VarExp *ve = (VarExp *)de->e1; in functionParameters()
[all …]
H A Dsideeffect.c249 VarDeclaration *v = ((VarExp *)e)->var->isVarDeclaration(); in discardValue()
359 ((DeclarationExp *)firstComma->e1)->declaration == ((VarExp*)ce->e2)->var) in discardValue()
432 Expression *ve = new VarExp(vd->loc, vd);
H A Doptimize.c151 VarExp *ve = (VarExp *)e1; in fromConstInitializer()
232 void visit(VarExp *e) in Expression_optimize()
368 VarExp *ve = (VarExp *)e->e1; in Expression_optimize()
385 VarExp *ve = (VarExp *)ae->e1; in Expression_optimize()
475 VarExp *ve = (VarExp *)ex; in Expression_optimize()
951 VarDeclaration *v = ((VarExp *)e->e1)->var->isVarDeclaration(); in Expression_optimize()
H A Dexpressionsem.c333 e = new VarExp(exp->loc, withsym->withstate->wthis); in visit()
400 Expression *e = new VarExp(exp->loc, vd); in visit()
420 e = new VarExp(exp->loc, ss->withstate->wthis); in visit()
818 VarExp *ve = (e->op == TOKvar) ? (VarExp *)e : NULL; in visit()
866 Expression *e = new VarExp(exp->loc, withsym->withstate->wthis); in visit()
1452 void visit(VarExp *e) in visit()
2635 Expression *e = new VarExp(exp->loc, exp->var); in visit()
2657 Expression *e = new VarExp(exp->loc, v); in visit()
2810 exp->e1 = new VarExp(exp->e1->loc, withsym->withstate->wthis); in visit()
2823 exp->e1 = new VarExp(exp->loc, od); in visit()
[all …]
H A Daliasthis.c41 if (FuncDeclaration *fd = ((VarExp *)e)->var->isFuncDeclaration()) in resolveAliasThis()
49 e = new VarExp(loc, fd, hasOverloads); in resolveAliasThis()
H A Descape.c213 va = ((VarExp *)e1)->var->isVarDeclaration(); in checkAssignEscape()
220 va = ((VarExp *)ie->e1)->var->isVarDeclaration(); in checkAssignEscape()
774 void visit(VarExp *e) in escapeByValue()
874 VarDeclaration *v = ((VarExp *)e->e1)->var->isVarDeclaration(); in escapeByValue()
1040 void visit(VarExp *e) in escapeByRef()
1079 VarDeclaration *v = ((VarExp *)e->e1)->var->isVarDeclaration(); in escapeByRef()
H A Ddinterpret.c699 if (e->op == TOKvar && ((VarExp *)e)->var->isFuncDeclaration()) in ctfeInterpretForPragmaMsg()
876 earg->op == TOKvar && ((VarExp *)earg)->var->toParent2() == fd) in interpretFunction()
878 VarDeclaration *vx = ((VarExp *)earg)->var->isVarDeclaration(); in interpretFunction()
961 if (tf->isref && e->op == TOKvar && ((VarExp *)e)->var == fd->vthis) in interpretFunction()
1170 (v = ((VarExp *)x)->var->isVarDeclaration()) != NULL) in stopPointersEscaping()
1858 result = new VarExp(e->loc, istate->fd->vthis); in visit()
1981 VarExp *ve = new VarExp(e->loc, e->var); in visit()
2022 VarExp *ve = new VarExp(e->loc, e->var); in visit()
2035 if (e->e1->op == TOKvar && ((VarExp *)e->e1)->var->isDataseg()) in visit()
2039 new(pue) SymOffExp(e->loc, ((VarExp *)e->e1)->var, 0); in visit()
[all …]
H A Ddeclaration.c1063 VarExp *ve = new VarExp(loc, v); in semantic()
1398 e = new BlitExp(loc, new VarExp(loc, this), e); in semantic()
1412 e = new BlitExp(loc, new VarExp(loc, this), e); in semantic()
1472 Expression *e1 = new VarExp(loc, this); in semantic()
2130 e = new VarExp(loc, this); in callScopeDtor()
2149 e = new VarExp(loc, this); in callScopeDtor()
2193 ec = new VarExp(loc, this); in callScopeDtor()
H A Dctfeexpr.c775 ((VarExp *)agg1)->var == ((VarExp *)agg2)->var) in pointToSameMemoryBlock()
1226 ((VarExp *)agg1)->var == ((VarExp *)agg2)->var)) in ctfeRawCmp()
1256 ((VarExp *)agg1)->var == ((VarExp *)agg2)->var)) in ctfeRawCmp()
1896 (ethis->op == TOKvar && ((VarExp *)ethis)->var == ((DelegateExp *)newval)->func)); in isCtfeValueValid()
1945 VarDeclaration *v = ((VarExp *)newval)->var->isVarDeclaration(); in isCtfeReferenceValid()
2015 VarDeclaration *v = ((VarExp *)e)->var->isVarDeclaration(); in showCtfeExpr()
H A Ddelegatize.c140 void visit(VarExp *e) in lambdaCheckForNestedRef()
H A Dnogc.c135 VarDeclaration *v = ((VarExp *)e->e1)->var->isVarDeclaration(); in visit()
H A Dmtype.c2141 VarExp *ve = (VarExp *)ex; in dotExp()
2388 s = ((VarExp *)e)->var; in resolveExp()
4840 Expression *ev = new VarExp(e->loc, fd_aaLen, false); in dotExp()
5683 e = new VarExp(e->loc, fe->fd, false); in semantic()
6613 sym = ((VarExp *)e)->var; in semantic()
6954 e = new VarExp(loc, s->isDeclaration(), true); in resolveHelper()
7017 *pe = new VarExp(loc, v); in resolveHelper()
7382 if (FuncDeclaration *f = exp->op == TOKvar ? (( VarExp *)exp)->var->isFuncDeclaration() in resolve()
7925 ex = new VarExp(e->loc, v); in dotExp()
7982 Expression *ve = new VarExp(e->loc, v); in dotExp()
[all …]
H A Dfunc.c1300 Expression *e = new CallExp(loc, new VarExp(loc, fd, false), (Expressions *)NULL); in buildEnsureRequire()
1336 Expression *e = new CallExp(loc, new VarExp(loc, fd, false), eresult); in buildEnsureRequire()
1632 Expression *e = new VarExp(v->loc, v); in semantic3()
1744 if (exp->op == TOKvar && ((VarExp *)exp)->var == vresult) in semantic3()
2115 Expression *e = new VarExp(Loc(), v_arguments); in semantic3()
2154 Expression *e = new VarExp(Loc(), vresult); in semantic3()
2234 vsync = new VarExp(loc, vthis); in semantic3()
2688 Expression *e = new CallExp(loc, new VarExp(loc, fdv->fdrequire, false), eresult); in mergeFrequire()
2759 VarExp *ve = new VarExp(Loc(), v); in mergeFensure()
2763 Expression *e = new CallExp(loc, new VarExp(loc, fdv->fdensure, false), eresult); in mergeFensure()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dstatementsem.d718 fs.aggr = new VarExp(fs.aggr.loc, vinit); in package()
1082 Expression tmp_length = new DotIdExp(loc, new VarExp(loc, tmp), Id.length); in package()
1110 cond = new PostExp(EXP.minusMinus, loc, new VarExp(loc, fs.key)); in package()
1115 cond = new CmpExp(EXP.lessThan, loc, new VarExp(loc, fs.key), tmp_length); in package()
1122 … increment = new AddAssignExp(loc, new VarExp(loc, fs.key), new IntegerExp(loc, 1, fs.key.type)); in package()
1126 … IndexExp indexExp = new IndexExp(loc, new VarExp(loc, tmp), new VarExp(loc, fs.key)); in package()
1215 if (vinit && fs.aggr.op == EXP.variable && (cast(VarExp)fs.aggr).var == vinit) in package()
1230 Expression e = new VarExp(loc, r); in package()
1235 e = new VarExp(loc, r); in package()
1241 e = new VarExp(loc, r); in package()
[all …]
H A Dsideeffect.d258 VarDeclaration v = (cast(VarExp)e).var.isVarDeclaration(); in discardValue()
420 return new VarExp(vd.loc, vd)
H A Dexpressionsem.d903 e = new VarExp(loc, v); in symbolToExp()
924 return new VarExp(loc, fd, hasOverloads); in symbolToExp()
928 e = new VarExp(loc, od, true); in symbolToExp()
1054 e1 = new VarExp(loc, f.vthis);
1570 Expression e1 = new ArrayLengthExp(ale.loc, new PtrExp(ale.loc, new VarExp(ale.loc, tmp))); in rewriteOpAssign()
1979 ev = new CommaExp(arg.loc, ev, new VarExp(arg.loc, v)); in functionParameters()
1997 ev = new CommaExp(arg.loc, ev, new VarExp(arg.loc, v)); in functionParameters()
2068 auto castToSlice = new CastExp(ale.loc, new VarExp(ale.loc, tmp), in functionParameters()
2353 e = new LogicalExp(e.loc, EXP.orOr, new VarExp(e.loc, gate), e); in functionParameters()
2364 arg = new VarExp(loc, tmp); in functionParameters()
[all …]
H A Dtypesem.d300 e = new VarExp(loc, s.isDeclaration(), true); in helper3()
408 pe = new VarExp(loc, v);
1294 e = new VarExp(e.loc, fe.fd, false); in typeSemantic()
3384 VarExp ve = cast(VarExp)ex; in dotExp()
3722 Expression ev = new VarExp(e.loc, fd_aaLen, false); in dotExp()
3946 ex = new VarExp(e.loc, v); in dotExp()
4003 Expression ve = new VarExp(e.loc, v); in dotExp()
4101 auto ve = new VarExp(e.loc, d); in dotExp()
4107 bool unreal = e.op == EXP.variable && (cast(VarExp)e).var.isField(); in dotExp()
4112 Expression ve = new VarExp(e.loc, d); in dotExp()
[all …]
H A Daliasthis.d114 e = new VarExp(loc, fd, hasOverloads);
H A Dnogc.d140 if (VarExp ve = e.e1.isVarExp()) in visit()
H A Dexpression.d489 Expression ve = new VarExp(e.loc, tmp); in callCpCtor()
631 return (cast(VarExp)e).var.isVarDeclaration(); in expToVariable()
1511 VarExp ve = cast(VarExp)this; in checkRightThis()
1649 … inout(VarExp) isVarExp() { return op == EXP.variable ? cast(typeof(return))this : null; } in isVarExp()
3342 Expression e = new CommaExp(loc, ae, new VarExp(loc, tmp)); in addDtorHook()
3653 extern (C++) final class VarExp : SymbolExp
3661 super(loc, EXP.variable, __traits(classInstanceSize, VarExp), var, hasOverloads);
3667 static VarExp create(const ref Loc loc, Declaration var, bool hasOverloads = true)
3669 return new VarExp(loc, var, hasOverloads);
4933 s = (cast(VarExp)e).var; in findTempDecl()
[all …]
H A Dsemantic3.d523 (*exps)[j] = new VarExp(v.loc, v); in visit()
634 if (exp.op == EXP.variable && (cast(VarExp)exp).var == funcdecl.vresult) in visit()
1078 Expression e = new VarExp(Loc.initial, funcdecl.v_arguments); in visit()
1117 Expression e = new VarExp(Loc.initial, funcdecl.vresult); in visit()
1197 vsync = new VarExp(funcdecl.loc, funcdecl.vthis); in visit()
H A Dprintast.d95 override void visit(VarExp e) in visit()
H A Ddelegatize.d223 override void visit(VarExp e) in lambdaCheckForNestedRef()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h87 llvm::SMTExprRef VarExp = SMTConv::getExpr(Solver, Ctx, Sym, &RetTy); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
89 SMTConv::getZeroExpr(Solver, Ctx, VarExp, RetTy, /*Assumption=*/true); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
93 SMTConv::getZeroExpr(Solver, Ctx, VarExp, RetTy, /*Assumption=*/false); in REGISTER_TRAIT_WITH_PROGRAMSTATE()

123