Home
last modified time | relevance | path

Searched refs:Tdelegate (Results 1 – 25 of 53) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dsideeffect.c118 if (t->ty == Tdelegate) in callSideEffectLevel()
128 if (t->ty == Tdelegate && purity > PUREweak) in callSideEffectLevel()
188 if (t->ty == Tdelegate) in lambdaHasSideEffect()
275 if (t->ty == Tdelegate) in discardValue()
H A Ddcast.c894 (t->ty == Tpointer || t->ty == Tdelegate) && t->nextOf()->ty == Tfunction) in implicitConvTo()
943 (t->ty == Tpointer || t->ty == Tdelegate) && t->nextOf()->ty == Tfunction) in implicitConvTo()
950 if ((t->ty == Tdelegate && (f->needThis() || f->isNested())) || in implicitConvTo()
969 if (e->type->ty == Tdelegate && in implicitConvTo()
970 t->ty == Tdelegate) in implicitConvTo()
1395 const bool tob_isFR = (tob->ty == Tarray || tob->ty == Tdelegate); in castTo()
1396 const bool t1b_isFR = (t1b->ty == Tarray || t1b->ty == Tdelegate); in castTo()
1541 if (tob->ty == Tpointer && t1b->ty == Tdelegate) in castTo()
1658 if (tb->ty == Tdelegate && e->type->toBasetype()->ty != Tdelegate) in castTo()
1904 (t->ty == Tpointer || t->ty == Tdelegate) && t->nextOf()->ty == Tfunction) in castTo()
[all …]
H A Descape.c938 if (t1->ty == Tdelegate) in escapeByValue()
1136 if (t1->ty == Tdelegate) in escapeByRef()
1190 if (e->e1->op == TOKvar && t1->ty == Tdelegate) in escapeByRef()
H A Dcanthrow.c73 if (t->ty == Tdelegate && ((TypeFunction *)((TypeDelegate *)t)->next)->isnothrow) in canThrow()
H A Dtraits.c939 else if (t->ty == Tdelegate) in semanticTraits()
980 else if (t->ty == Tdelegate) in semanticTraits()
1032 else if (t->ty == Tdelegate) in semanticTraits()
1127 else if (t->ty == Tdelegate) in semanticTraits()
H A Dopover.c1677 case Tdelegate: in inferAggregate()
1727 { assert(tab->ty == Tdelegate && fes->aggr->op == TOKdelegate); in inferApplyArgTypes()
1841 case Tdelegate: in inferApplyArgTypes()
1929 if (p->type->ty != Tdelegate) in inferApplyArgTypesY()
H A Dinitsem.c180 …else if ((t->ty == Tdelegate || (t->ty == Tpointer && t->nextOf()->ty == Tfunction)) && i->value.d… in visit()
182 TOK tok = (t->ty == Tdelegate) ? TOKdelegate : TOKfunction; in visit()
H A Dctfeexpr.c1174 assert(e->type->ty == Tdelegate); in funcptrOf()
1233 if (e1->type->ty == Tdelegate && e2->type->ty == Tdelegate) in ctfeRawCmp()
1870 tb->ty == Tdelegate; in isCtfeValueValid()
H A Dstatementsem.c905 if ((fparam->type->ty == Tpointer || fparam->type->ty == Tdelegate) && in visit()
1409 case Tdelegate: in visit()
1431 else if (tab->ty == Tdelegate) in visit()
1439 if (p->type && p->type->ty == Tdelegate) in visit()
1442 assert(t->ty == Tdelegate); in visit()
1660 else if (tab->ty == Tdelegate) in visit()
H A Ddmangle.c45 mangleChar[Tdelegate] = "D"; in initTypeMangle()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dsideeffect.d128 if (t.ty == Tdelegate) in callSideEffectLevel()
140 if (t.ty == Tdelegate && purity > PURE.weak) in callSideEffectLevel()
204 if (t.ty == Tdelegate)
285 if (t.ty == Tdelegate) in discardValue()
H A Dastenums.d177 Tdelegate, enumerator
231 alias Tdelegate = TY.Tdelegate; variable
H A Dastcodegen.d54 alias Tdelegate = dmd.mtype.Tdelegate; member
H A Ddcast.d962 (tb.ty == Tpointer || tb.ty == Tdelegate) && tb.nextOf().ty == Tfunction) in implicitConvTo()
1017 (tb.ty == Tpointer || tb.ty == Tdelegate) && tb.nextOf().ty == Tfunction) in implicitConvTo()
1024 if ((tb.ty == Tdelegate && (f.needThis() || f.isNested())) || in implicitConvTo()
1050 if (typeb.ty == Tdelegate && tb.ty == Tdelegate) in implicitConvTo()
1588 const(bool) tob_isFR = (tob.ty == Tarray || tob.ty == Tdelegate); in visit()
1589 const(bool) t1b_isFR = (t1b.ty == Tarray || t1b.ty == Tdelegate); in visit()
1760 if (tob.ty == Tpointer && t1b.ty == Tdelegate) in visit()
1881 if (tb.ty == Tdelegate && typeb.ty != Tdelegate) in visitString()
2131 (tb.ty == Tpointer || tb.ty == Tdelegate) && tb.nextOf().ty == Tfunction) in visitAddr()
2398 (tb.ty == Tpointer || tb.ty == Tdelegate) && tb.nextOf().ty == Tfunction) in visitSymOff()
[all …]
H A Dtypinf.d128 case Tdelegate: in getTypeInfoDeclaration()
H A Descape.d1686 if (t1.ty == Tdelegate) in visit()
1988 if (t1.ty == Tdelegate) in visit()
2064 if (e.e1.op == EXP.variable && t1.ty == Tdelegate) in visit()
2248 case Tdelegate: in isReferenceToMutable()
H A Dctfeexpr.d1165 assert(e.type.ty == Tdelegate); in funcptrOf()
1224 if (e1.type.ty == Tdelegate && e2.type.ty == Tdelegate)
1847 tb.ty == Tdelegate; in isCtfeValueValid()
H A Dopover.d1525 case Tdelegate: // https://dlang.org/spec/statement.html#foreach_over_delegates in inferForeachAggregate()
1579 assert(tab.ty == Tdelegate && fes.aggr.op == EXP.delegate_); in inferApplyArgTypes()
1685 case Tdelegate: in inferApplyArgTypes()
H A Dinitsem.d251 else if ((t.ty == Tdelegate || t.isPtrToFunction()) && i.value.dim == 0) in initializerSemantic()
253 const tok = (t.ty == Tdelegate) ? TOK.delegate_ : TOK.function_; in initializerSemantic()
H A Dmtype.d438 sizeTy[Tdelegate] = __traits(classInstanceSize, TypeDelegate);
593 else if (tp1.ty == Tdelegate)
2290 else if (ty == Tdelegate) in substWildTo()
2690 ty == Tdelegate ? cast(typeof(return))(cast(TypePointer)this).next : in isFunction_Delegate_PtrToFunction()
2709 …inout(TypeDelegate) isTypeDelegate() { return ty == Tdelegate ? cast(typeof(return))this : nu… in isTypeDelegate()
2812 if (ty == Tdelegate) in hasWild()
5129 ty = Tdelegate; in this()
6547 … tb.ty == Tpointer || tb.ty == Tarray || tb.ty == Taarray || tb.ty == Tclass || tb.ty == Tdelegate) in implicitConvTo()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-convert.cc364 case Tdelegate: in convert_expr()
365 if (tbtype->ty == Tdelegate) in convert_expr()
814 case Tdelegate: in convert_for_condition()
H A Dtypeinfo.cc137 case Tdelegate: in get_typeinfo_kind()
771 gcc_assert (d->tinfo->ty == Tdelegate && d->tinfo->deco != NULL); in visit()
H A Dd-codegen.cc411 if (tb->ty == Tdelegate) in build_delegate_cst()
478 else if (tb->ty == Tdelegate) in build_typeof_null_value()
1800 else if (t->ty == Tdelegate) in get_function_type()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-convert.cc364 case TY::Tdelegate: in convert_expr()
365 if (tbtype->ty == TY::Tdelegate) in convert_expr()
908 case TY::Tdelegate: in convert_for_condition()
H A Dd-codegen.cc414 if (tb->ty == TY::Tdelegate) in build_delegate_cst()
481 else if (tb->ty == TY::Tdelegate) in build_typeof_null_value()
2089 else if (t->ty == TY::Tdelegate) in get_function_type()

123