Home
last modified time | relevance | path

Searched refs:SymOffExp (Results 1 – 25 of 33) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dctfeexpr.c712 *ofs = ((SymOffExp *)e)->offset; in getAggregateFromPointer()
780 ((SymOffExp *)agg1)->var == ((SymOffExp *)agg2)->var) in pointToSameMemoryBlock()
811 ((SymOffExp *)agg1)->var == ((SymOffExp *)agg2)->var) in pointerDifference()
846 if (((SymOffExp *)agg1)->var->type->ty != Tsarray) in pointerArithmetic()
867 len = ((TypeSArray *)((SymOffExp *)agg1)->var->type)->dim->toInteger(); in pointerArithmetic()
894 new(&ue) SymOffExp(loc, ((SymOffExp *)agg1)->var, indx * sz); in pointerArithmetic()
895 SymOffExp *se = (SymOffExp *)ue.exp(); in pointerArithmetic()
1410 SymOffExp *es1 = (SymOffExp *)e1; in ctfeIdentity()
1411 SymOffExp *es2 = (SymOffExp *)e2; in ctfeIdentity()
1901 Declaration *d = ((SymOffExp *)newval)->var; in isCtfeValueValid()
H A Dconstfold.c217 SymOffExp *soe = (SymOffExp *)e1; in Add()
218 new(&ue) SymOffExp(loc, soe->var, soe->offset + e2->toInteger()); in Add()
223 SymOffExp *soe = (SymOffExp *)e2; in Add()
224 new(&ue) SymOffExp(loc, soe->var, soe->offset + e1->toInteger()); in Add()
327 SymOffExp *soe = (SymOffExp *)e1; in Min()
328 new(&ue) SymOffExp(loc, soe->var, soe->offset - e2->toInteger()); in Min()
993 SymOffExp *es1 = (SymOffExp *)e1; in Identity()
994 SymOffExp *es2 = (SymOffExp *)e2; in Identity()
H A Doptimize.c329 void visit(SymOffExp *e) in Expression_optimize()
372 ret = new SymOffExp(e->loc, ve->var, 0, ve->hasOverloads); in Expression_optimize()
405 ret = new SymOffExp(e->loc, ve->var, offset); in Expression_optimize()
447 SymOffExp *se = (SymOffExp *)e->e1; in Expression_optimize()
H A Ddelegatize.c133 void visit(SymOffExp *e) in lambdaCheckForNestedRef()
H A Ddinterpret.c1910 void visit(SymOffExp *e) in visit()
2039 new(pue) SymOffExp(e->loc, ((VarExp *)e->e1)->var, 0); in visit()
4679 SymOffExp *soe = (SymOffExp *)ecall; in visit()
5039 (modify ? "modified" : "read"), ((SymOffExp *)agg)->var->toChars()); in resolveIndexing()
5796 new(pue) SymOffExp(e->loc, ((SymOffExp *)e1)->var, ((SymOffExp *)e1)->offset); in visit()
5903 SymOffExp *soe = (SymOffExp *)e->e1; in visit()
5959 SymOffExp *soe = (SymOffExp *)result; in visit()
H A Dexpression.c1773 { SymOffExp *se = (SymOffExp *)arg; in functionParameters()
4343 SymOffExp::SymOffExp(Loc loc, Declaration *var, dinteger_t offset, bool hasOverloads) in SymOffExp() function
4344 : SymbolExp(loc, TOKsymoff, sizeof(SymOffExp), var, in SymOffExp()
4357 bool SymOffExp::isBool(bool result) in isBool()
5624 SymOffExp *soe = (SymOffExp *)e;
5681 { SymOffExp *se = (SymOffExp *)e1; in checkModifiable()
H A Ddcast.c933 void visit(SymOffExp *e) in implicitConvTo()
1929 SymOffExp *se = new SymOffExp(e->loc, f, 0, false); in castTo()
2130 void visit(SymOffExp *e) in castTo()
2144 ((SymOffExp *)result)->hasOverloads = false; in castTo()
2184 result = new SymOffExp(e->loc, f, 0, false); in castTo()
H A Dexpression.h586 class SymOffExp : public SymbolExp
591 SymOffExp(Loc loc, Declaration *var, dinteger_t offset, bool hasOverloads = true);
1522 char symoffexp [sizeof(SymOffExp)];
H A Dvisitor.h200 class SymOffExp; variable
494 virtual void visit(SymOffExp *e) { visit((SymbolExp *)e); } in visit()
H A Descape.c767 void visit(SymOffExp *e) in escapeByValue()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dconstfold.d220 else if (SymOffExp soe = e1.isSymOffExp()) in Add()
222 emplaceExp!(SymOffExp)(&ue, loc, soe.var, soe.offset + e2.toInteger()); in Add()
225 else if (SymOffExp soe = e2.isSymOffExp()) in Add()
227 emplaceExp!(SymOffExp)(&ue, loc, soe.var, soe.offset + e1.toInteger()); in Add()
321 else if (SymOffExp soe = e1.isSymOffExp()) in Min()
323 emplaceExp!(SymOffExp)(&ue, loc, soe.var, soe.offset - e2.toInteger()); in Min()
931 SymOffExp es1 = e1.isSymOffExp(); in Identity()
932 SymOffExp es2 = e2.isSymOffExp(); in Identity()
H A Dprintast.d85 override void visit(SymOffExp e) in visit()
H A Ddelegatize.d216 override void visit(SymOffExp e) in lambdaCheckForNestedRef()
H A Doptimize.d422 void visitSymOff(SymOffExp e) in Expression_optimize()
460 ret = new SymOffExp(e.loc, ve.var, 0, ve.hasOverloads); in Expression_optimize()
549 ret = new SymOffExp(e.loc, var, offset, false); in Expression_optimize()
591 ret = new SymOffExp(e.loc, ve.var, offset); in Expression_optimize()
H A Dexpression.h153 SymOffExp* isSymOffExp();
567 class SymOffExp : public SymbolExp
1380 char symoffexp [sizeof(SymOffExp)];
H A Dvisitor.d71 void visit(ASTCodegen.SymOffExp e) { visit(cast(ASTCodegen.SymbolExp)e); }
H A Dctfeexpr.d884 emplaceExp!(SymOffExp)(pue, loc, agg1.isSymOffExp().var, indx * sz); in pointerArithmetic()
885 SymOffExp se = pue.exp().isSymOffExp(); in pointerArithmetic()
1397 SymOffExp es1 = e1.isSymOffExp(); in ctfeIdentity()
1398 SymOffExp es2 = e2.isSymOffExp(); in ctfeIdentity()
H A Dvisitor.h208 class SymOffExp; variable
634 virtual void visit(SymOffExp *e) { visit((SymbolExp *)e); } in visit()
H A Ddcast.d1001 MATCH visitSymOff(SymOffExp e) in implicitConvTo()
2156 auto se = new SymOffExp(e.loc, f, 0, false); in visitAddr()
2373 Expression visitSymOff(SymOffExp e) in visitSymOff()
2430 result = new SymOffExp(e.loc, f, 0, false); in visitSymOff()
H A Dob.d1564 override void visit(SymOffExp e) in genKill()
2296 override void visit(SymOffExp e) in checkObErrors()
H A Dexpression.d570 char[__traits(classInstanceSize, SymOffExp)] symoffexp;
1648 …inout(SymOffExp) isSymOffExp() { return op == EXP.symbolOffset ? cast(typeof(return))this : nul… in isSymOffExp()
3621 extern (C++) final class SymOffExp : SymbolExp
3635 super(loc, EXP.symbolOffset, __traits(classInstanceSize, SymOffExp), var, hasOverloads);
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-convert.cc708 else if (SymOffExp *se = expr->isSymOffExp ()) in is_valist_parameter_type()
733 else if (SymOffExp *se = expr->isSymOffExp ()) in check_valist_conversion()
H A DChangeLog-2016794 * expr.cc (ExprVisitor::visit(SymOffExp)): Move check for non-constant
809 (SymOffExp::toDt): Likewise.
814 (ExprVisitor::visit(SymOffExp)): New function.
H A Dexpr.cc1557 SymOffExp *se = e->e1->isSymOffExp (); in visit()
2115 void visit (SymOffExp *e) in visit()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dexpr.cc1648 SymOffExp *se = (SymOffExp *) e->e1; in visit()
2185 void visit (SymOffExp *e) in visit()
2188 size_t soffset = ((SymOffExp *) e)->offset; in visit()

12