Lines Matching refs:Expression
29 : Expression(loc, TOKclassreference, sizeof(ClassReferenceExp)) in ClassReferenceExp()
88 : Expression(var->loc, TOKvoid, sizeof(VoidInitExp)) in VoidInitExp()
113 ThrownExceptionExp::ThrownExceptionExp(Loc loc, ClassReferenceExp *victim) : Expression(loc, TOKthr… in ThrownExceptionExp()
128 Expression *e = resolveSlice((*thrown->value->elements)[0], &ue); in generateUncaughtError()
141 bool exceptionOrCantInterpret(Expression *e) in exceptionOrCantInterpret()
155 : Expression(Loc(), tok, sizeof(CTFEExp)) in CTFEExp()
173 Expression *UnionExp::copy() in copy()
175 Expression *e = exp(); in copy()
190 bool needToCopyLiteral(Expression *expr) in needToCopyLiteral()
226 Expressions *copyLiteralArray(Expressions *oldelems, Expression *basis = NULL)
235 Expression *el = (*oldelems)[i];
245 UnionExp copyLiteral(Expression *e) in copyLiteral()
296 Expression *m = (*oldelems)[i]; in copyLiteral()
342 Expression *r = ue.exp(); in copyLiteral()
368 Expression *r = ue.exp(); in copyLiteral()
387 Expression *r = ue.exp(); in copyLiteral()
412 Expression *paintTypeOntoLiteral(Type *type, Expression *lit) in paintTypeOntoLiteral()
419 Expression *paintTypeOntoLiteral(UnionExp *pue, Type *type, Expression *lit) in paintTypeOntoLiteral()
427 UnionExp paintTypeOntoLiteralCopy(Type *type, Expression *lit) in paintTypeOntoLiteralCopy()
496 Expression *resolveSlice(Expression *e, UnionExp *pue) in resolveSlice()
517 uinteger_t resolveArrayLength(Expression *e) in resolveArrayLength()
561 Expression *elem, size_t dim) in createBlockDuplicatedArrayLiteral()
656 bool isTrueBool(Expression *e) in isTrueBool()
706 Expression *getAggregateFromPointer(Expression *e, dinteger_t *ofs) in getAggregateFromPointer()
715 Expression *ex = ((DotVarExp *)e)->e1; in getAggregateFromPointer()
759 bool pointToSameMemoryBlock(Expression *agg1, Expression *agg2) in pointToSameMemoryBlock()
789 UnionExp pointerDifference(Loc loc, Type *type, Expression *e1, Expression *e2) in pointerDifference()
793 Expression *agg1 = getAggregateFromPointer(e1, &ofs1); in pointerDifference()
794 Expression *agg2 = getAggregateFromPointer(e2, &ofs2); in pointerDifference()
828 Expression *eptr, Expression *e2) in pointerArithmetic()
843 Expression *agg1 = getAggregateFromPointer(eptr, &ofs1); in pointerArithmetic()
871 Expression *dollar = ArrayLength(Type::tsize_t, agg1).copy(); in pointerArithmetic()
922 Expression *ie = new IndexExp(loc, agg1, ofs); in pointerArithmetic()
931 int comparePointers(TOK op, Expression *agg1, dinteger_t ofs1, Expression *agg2, dinteger_t ofs2) in comparePointers()
1002 Expression *paintFloatInt(UnionExp *pue, Expression *fromVal, Type *to) in paintFloatInt()
1015 bool isCtfeComparable(Expression *e) in isCtfeComparable()
1104 int ctfeRawCmp(Loc loc, Expression *e1, Expression *e2);
1111 int ctfeCmpArrays(Loc loc, Expression *e1, Expression *e2, uinteger_t len) in ctfeCmpArrays()
1117 Expression *x = e1; in ctfeCmpArrays()
1150 Expression *ee1 = (*ae1->elements)[(size_t)(lo1 + i)]; in ctfeCmpArrays()
1151 Expression *ee2 = (*ae2->elements)[(size_t)(lo2 + i)]; in ctfeCmpArrays()
1172 FuncDeclaration *funcptrOf(Expression *e) in funcptrOf()
1184 bool isArray(Expression *e) in isArray()
1193 int ctfeRawCmp(Loc loc, Expression *e1, Expression *e2) in ctfeRawCmp()
1223 Expression *agg1 = getAggregateFromPointer(e1, &ofs1); in ctfeRawCmp()
1224 Expression *agg2 = getAggregateFromPointer(e2, &ofs2); in ctfeRawCmp()
1247 Expression * ptr1 = ((DelegateExp *)e1)->e1; in ctfeRawCmp()
1248 Expression * ptr2 = ((DelegateExp *)e2)->e1; in ctfeRawCmp()
1251 Expression *agg1 = getAggregateFromPointer(ptr1, &ofs1); in ctfeRawCmp()
1252 Expression *agg2 = getAggregateFromPointer(ptr2, &ofs2); in ctfeRawCmp()
1328 Expression *ee1 = (*es1->elements)[i]; in ctfeRawCmp()
1329 Expression *ee2 = (*es2->elements)[i]; in ctfeRawCmp()
1356 Expression *k1 = (*es1->keys)[i]; in ctfeRawCmp()
1357 Expression *v1 = (*es1->values)[i]; in ctfeRawCmp()
1358 Expression *v2 = NULL; in ctfeRawCmp()
1363 Expression *k2 = (*es2->keys)[j]; in ctfeRawCmp()
1386 int ctfeEqual(Loc loc, TOK op, Expression *e1, Expression *e2) in ctfeEqual()
1395 int ctfeIdentity(Loc loc, TOK op, Expression *e1, Expression *e2) in ctfeIdentity()
1434 int ctfeCmp(Loc loc, TOK op, Expression *e1, Expression *e2) in ctfeCmp()
1451 UnionExp ctfeCat(Loc loc, Type *type, Expression *e1, Expression *e2) in ctfeCat()
1469 Expression *es2e = (*es2->elements)[i]; in ctfeCat()
1503 Expression *es2e = (*es2->elements)[i]; in ctfeCat()
1556 Expression *findKeyInAA(Loc loc, AssocArrayLiteralExp *ae, Expression *e2) in findKeyInAA()
1563 Expression *ekey = (*ae->keys)[i]; in findKeyInAA()
1577 Expression *ctfeIndex(Loc loc, Type *type, Expression *e1, uinteger_t indx) in ctfeIndex()
1599 Expression *e = (*ale->elements)[(size_t)indx]; in ctfeIndex()
1604 Expression *ctfeCast(UnionExp *pue, Loc loc, Type *type, Type *to, Expression *e) in ctfeCast()
1632 Expression *r; in ctfeCast()
1671 void assignInPlace(Expression *dest, Expression *src) in assignInPlace()
1713 Expression *e = (*newelems)[i]; in assignInPlace()
1714 Expression *o = (*oldelems)[i]; in assignInPlace()
1733 Expressions *changeOneElement(Expressions *oldelems, size_t indexToChange, Expression *newelem) in changeOneElement()
1749 Expression *assignAssocArrayElement(Loc loc, AssocArrayLiteralExp *aae, in assignAssocArrayElement()
1750 Expression *index, Expression *newval) in assignAssocArrayElement()
1760 Expression *ekey = (*aae->keys)[j]; in assignAssocArrayElement()
1781 Expression *oldval, size_t oldlen, size_t newlen) in changeArrayLiteralLength()
1786 Expression *defaultElem = elemType->defaultInitLiteral(loc); in changeArrayLiteralLength()
1852 bool isCtfeValueValid(Expression *newval) in isCtfeValueValid()
1893 Expression *ethis = ((DelegateExp *)newval)->e1; in isCtfeValueValid()
1912 Expression *e1 = ((AddrExp *)newval)->e1; in isCtfeValueValid()
1939 bool isCtfeReferenceValid(Expression *newval) in isCtfeReferenceValid()
1952 Expression *eagg = ((IndexExp *)newval)->e1; in isCtfeReferenceValid()
1959 Expression *eagg = ((DotVarExp *)newval)->e1; in isCtfeReferenceValid()
1970 void showCtfeExpr(Expression *e, int level) in showCtfeExpr()
2032 Expression *z = NULL; in showCtfeExpr()
2089 Expression *elem = voidInitLiteral(tsa->next, var).copy(); in voidInitLiteral()