Home
last modified time | relevance | path

Searched refs:Tpointer (Results 1 – 25 of 62) sorted by relevance

123

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dchkformat.d223 … if (t.ty != Tpointer && t.ty != Tnull && t.ty != Tclass && t.ty != Tdelegate && t.ty != Taarray) in checkPrintfFormat()
228 if (!(t.ty == Tpointer && tnext.ty == Tint32)) in checkPrintfFormat()
233 if (!(t.ty == Tpointer && tnext.isintegral() && tnext.size() == c_longsize)) in checkPrintfFormat()
238 if (!(t.ty == Tpointer && tnext.ty == Tint64)) in checkPrintfFormat()
243 if (!(t.ty == Tpointer && tnext.ty == Tint16)) in checkPrintfFormat()
248 if (!(t.ty == Tpointer && tnext.ty == Tint16)) in checkPrintfFormat()
253 if (!(t.ty == Tpointer && tnext.ty == Tint64)) in checkPrintfFormat()
258 … if (!(t.ty == Tpointer && tnext.isintegral() && tnext.isunsigned() && tnext.size() == ptrsize)) in checkPrintfFormat()
263 … if (!(t.ty == Tpointer && tnext.isintegral() && !tnext.isunsigned() && tnext.size() == ptrsize)) in checkPrintfFormat()
278 … if (!(t.ty == Tpointer && (tnext.ty == Tchar || tnext.ty == Tint8 || tnext.ty == Tuns8))) in checkPrintfFormat()
[all …]
H A Ddcast.d285 if (t.ty == Tpointer) in implicitConvTo()
308 if (typeb.ty != Tpointer || tb.ty != Tpointer) in implicitConvTo()
313 if (t1b.ty == Tpointer && t2b.isintegral() && t1b.equivalent(tb)) in implicitConvTo()
320 if (t2b.ty == Tpointer && t1b.isintegral() && t2b.equivalent(tb)) in implicitConvTo()
494 case Tpointer: in implicitConvTo()
497 if (ty == Tpointer && e.type.toBasetype().nextOf().ty == t.toBasetype().nextOf().ty) in implicitConvTo()
575 if (!e.committed && t.ty == Tpointer && t.nextOf().ty == Tvoid) in implicitConvTo()
578 if (!(e.type.ty == Tsarray || e.type.ty == Tarray || e.type.ty == Tpointer)) in implicitConvTo()
647 case Tpointer: in implicitConvTo()
962 (tb.ty == Tpointer || tb.ty == Tdelegate) && tb.nextOf().ty == Tfunction) in implicitConvTo()
[all …]
H A Dastenums.d169 Tpointer, enumerator
224 alias Tpointer = TY.Tpointer; variable
H A Dsafe.d159 ttob.ty == Tpointer && tfromb.ty == Tpointer) in isSafeCast()
H A Dastcodegen.d61 alias Tpointer = dmd.mtype.Tpointer; member
H A Dctfeexpr.d662 return tb.ty == Tpointer && tb.nextOf().ty != Tfunction; in isPointer()
668 …return e.toBool().hasValue(true) || ((e.type.ty == Tpointer || e.type.ty == Tclass) && e.op != EXP… in isTrueBool()
678 while (srcPointee.ty == Tpointer && destPointee.ty == Tpointer) in isSafePointerCast()
757 if (ie.type.ty == Tpointer && ie.getInteger() == 0) in getAggregateFromPointer()
1211 if (e1.type.ty == Tpointer && e2.type.ty == Tpointer)
1843 tb.ty == Tpointer || in isCtfeValueValid()
1898 return tb.ty == Tpointer && in isCtfeValueValid()
H A Dtypinf.d112 case Tpointer: in getTypeInfoDeclaration()
H A Dmtype.d288 if (t.ty == Tarray || t.ty == Tpointer) in mutabilityOfType()
435 sizeTy[Tpointer] = __traits(classInstanceSize, TypePointer);
583 else if (tp1.ty == Tpointer)
667 if (t2bn.ty == Tnull || t2bn.ty == Tpointer || t2bn.ty == Tclass)
2269 if (ty == Tpointer && tn.ty == Tfunction) in substWildTo()
2280 if (ty == Tpointer) in substWildTo()
2352 if (ty == Tpointer) in unqualify()
2611 while (t.ty == Tpointer || t.ty == Tarray) in checkComplexTransition()
2676 return (ty == Tpointer && (cast(TypePointer)this).next.ty == Tfunction) in isPtrToFunction()
2692 ty == Tpointer && (cast(TypePointer)this).next.ty == Tfunction ? in isFunction_Delegate_PtrToFunction()
[all …]
H A Dinitsem.d307 case Tpointer: in initializerSemantic()
588 ti.ty == Tpointer && ti.nextOf().ty == Tchar) in initializerSemantic()
1169 case Tpointer: in visitArray()
1383 if (e.type.ty == Tpointer && !e.type.isPtrToFunction()) in hasNonConstPointers()
H A Ddinterpret.d1671 if (s.wthis.type.ty == Tpointer && s.exp.type.ty != Tpointer) in visit()
1866 if (e.type.ty != Tpointer) in visit()
2984 if (e.e1.type.ty == Tpointer && e.e2.type.ty == Tpointer && e.op == EXP.min) in interpretCommon()
2997 if (e.e1.type.ty == Tpointer && e.e2.type.isintegral()) in interpretCommon()
3010 if (e.e2.type.ty == Tpointer && e.e1.type.isintegral() && e.op == EXP.add) in interpretCommon()
3023 if (e.e1.type.ty == Tpointer || e.e2.type.ty == Tpointer) in interpretCommon()
3133 if (e.e1.type.ty == Tpointer && e.e2.type.ty == Tpointer) in interpretCompareCommon()
3584 if (e.e1.type.ty != Tpointer)
5186 if (e.e1.type.toBasetype().ty == Tpointer) in resolveIndexing()
5320 if (e.e1.type.toBasetype().ty == Tpointer) in visit()
[all …]
H A Doptimize.d120 if (!(result & WANTexpand) && ei.type.toBasetype().ty == Tpointer) in expandVar()
766 …if (e.e1 == e1old && e.e1.op == EXP.arrayLiteral && e.type.toBasetype().ty == Tpointer && e.e1.typ… in Expression_optimize()
773 (e.type.ty == Tpointer || e.type.ty == Tarray)) in Expression_optimize()
812 … if (e.e1.op == EXP.null_ && (e.type.ty == Tpointer || e.type.ty == Tclass || e.type.ty == Tarray)) in Expression_optimize()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddcast.c236 if (t->ty == Tpointer) in implicitConvTo()
258 if (typeb->ty != Tpointer || tb->ty != Tpointer) in implicitConvTo()
263 if (t1b->ty == Tpointer && t2b->isintegral() && in implicitConvTo()
271 if (t2b->ty == Tpointer && t1b->isintegral() && in implicitConvTo()
460 case Tpointer: in implicitConvTo()
463 if (ty == Tpointer && in implicitConvTo()
535 if (!e->committed && t->ty == Tpointer && t->nextOf()->ty == Tvoid) in implicitConvTo()
538 if (e->type->ty == Tsarray || e->type->ty == Tarray || e->type->ty == Tpointer) in implicitConvTo()
610 case Tpointer: in implicitConvTo()
894 (t->ty == Tpointer || t->ty == Tdelegate) && t->nextOf()->ty == Tfunction) in implicitConvTo()
[all …]
H A Dsafe.c125 (ttob->ty == Tpointer && tfrom->ty == Tpointer)) in isSafeCast()
H A Dctfeexpr.c652 return tb->ty == Tpointer && tb->nextOf()->ty != Tfunction; in isPointer()
659 ((e->type->ty == Tpointer || e->type->ty == Tclass) && e->op != TOKnull); in isTrueBool()
669 while (srcPointee->ty == Tpointer && destPointee->ty == Tpointer) in isSafePointerCast()
1218 if (e1->type->ty == Tpointer && e2->type->ty == Tpointer) in ctfeRawCmp()
1866 tb->ty == Tpointer || in isCtfeValueValid()
1913 return tb->ty == Tpointer && in isCtfeValueValid()
H A Dexpressionsem.c1569 (exp->fd->treq->ty == Tpointer && exp->fd->treq->nextOf()->ty == Tfunction)) in visit()
1635 if (exp->fd->treq && exp->fd->treq->ty == Tpointer) in visit()
2070 else if (e->targ->ty == Tpointer && in visit()
2289 exp->e1->type->toBasetype()->ty == Tpointer && in visit()
2621 if (t1->ty == Tpointer) in visit()
3228 if (exp->e1->type->ty == Tpointer && exp->e1->type->nextOf()->ty == Tfunction) in visit()
3368 else if (t1->ty == Tpointer && ((TypePointer *)t1)->next->ty == Tfunction) in visit()
3483 if (t1->ty == Tpointer) in visit()
3889 case Tpointer: in visit()
4094 case Tpointer: in visit()
[all …]
H A Dnogc.c148 case Tpointer: in visit()
H A Ddinterpret.c1791 if (s->wthis->type->ty == Tpointer && s->exp->type->ty != Tpointer) in visit()
1922 if (e->type->ty != Tpointer) in visit()
2972 if (e->e1->type->ty == Tpointer && e->e2->type->ty == Tpointer && e->op == TOKmin) in interpretCommon()
2986 if (e->e1->type->ty == Tpointer && e->e2->type->isintegral()) in interpretCommon()
3000 if (e->e2->type->ty == Tpointer && e->e1->type->isintegral() && e->op == TOKadd) in interpretCommon()
3014 if (e->e1->type->ty == Tpointer || e->e2->type->ty == Tpointer) in interpretCommon()
3051 if (e->e1->type->ty == Tpointer && e->e2->type->ty == Tpointer) in interpretCompareCommon()
3453 if (e->e1->type->ty != Tpointer)
5009 if (e->e1->type->toBasetype()->ty == Tpointer) in resolveIndexing()
5142 if (e->e1->type->toBasetype()->ty == Tpointer) in visit()
[all …]
H A Doptimize.c86 if (!(result & WANTexpand) && ei->type->toBasetype()->ty == Tpointer) in expandVar()
559 e->type->toBasetype()->ty == Tpointer && in Expression_optimize()
568 (e->type->ty == Tpointer || e->type->ty == Tarray)) in Expression_optimize()
606 (e->type->ty == Tpointer || e->type->ty == Tclass || e->type->ty == Tarray)) in Expression_optimize()
H A Dinitsem.c180 …else if ((t->ty == Tdelegate || (t->ty == Tpointer && t->nextOf()->ty == Tfunction)) && i->value.d… in visit()
242 case Tpointer: in visit()
775 case Tpointer: in visit()
H A Dcanthrow.c137 case Tpointer: in canThrow()
H A Dinit.c262 if (e->type->ty== Tpointer && e->type->nextOf()->ty != Tfunction) in hasNonConstPointers()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-convert.cc371 else if (tbtype->ty == Tpointer) in convert_expr()
464 if (tbtype->ty == Tpointer) in convert_expr()
523 if (tbtype->ty == Tpointer) in convert_expr()
564 else if (tbtype->ty == Tpointer && tbtype->nextOf ()->ty == Tvoid) in convert_expr()
569 case Tpointer: in convert_expr()
H A Dexpr.cc999 gcc_assert (e->e2->type->ty != Tpointer); in visit()
1277 if (tb1->ty != Tpointer) in visit()
1292 if (tb1->ty != Tpointer && !e->indexIsInBounds) in visit()
1374 if (tb1->ty != Tpointer) in visit()
1426 gcc_assert (tb1->ty == Tpointer); in visit()
1527 else if (tb1->ty == Tpointer) in visit()
1923 if (e->e1->type->ty != Tclass && e->e1->type->ty != Tpointer) in visit()
2030 else if (tb1->ty == Tpointer && tb1->nextOf ()->ty == Tstruct) in visit()
2139 if (e->fd->tok == TOKreserved && ftype->ty == Tpointer) in visit()
2398 else if (tb->ty == Tpointer && tb->nextOf ()->toBasetype ()->ty == Tstruct) in visit()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-convert.cc371 else if (tbtype->ty == TY::Tpointer) in convert_expr()
464 if (tbtype->ty == TY::Tpointer) in convert_expr()
523 if (tbtype->ty == TY::Tpointer) in convert_expr()
573 else if (tbtype->ty == TY::Tpointer && tbtype->nextOf ()->ty == TY::Tvoid) in convert_expr()
578 case TY::Tpointer: in convert_expr()
H A Dexpr.cc614 if (me->e1->type->ty == TY::Tpointer in visit()
615 && me->e2->type->ty == TY::Tpointer in visit()
984 gcc_assert (e->e2->type->ty != TY::Tpointer); in visit()
1280 if (tb1->ty != TY::Tpointer) in visit()
1295 if (tb1->ty != TY::Tpointer) in visit()
1377 if (tb1->ty != TY::Tpointer) in visit()
1853 if (e->e1->type->ty != TY::Tclass && e->e1->type->ty != TY::Tpointer) in visit()
1966 else if (tb1->ty == TY::Tpointer in visit()
2069 if (e->fd->tok == TOK::reserved && ftype->ty == TY::Tpointer) in visit()
2346 else if (tb->ty == TY::Tpointer in visit()
[all …]

123