Home
last modified time | relevance | path

Searched refs:Tfunction (Results 1 – 25 of 69) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dcanthrow.c71 if (t->ty == Tfunction && ((TypeFunction *)t)->isnothrow) in canThrow()
102 if (t->ty == Tfunction && !((TypeFunction *)t)->isnothrow) in canThrow()
114 if (t->ty == Tfunction && !((TypeFunction *)t)->isnothrow) in canThrow()
162 if (t->ty == Tfunction && !((TypeFunction *)t)->isnothrow) in canThrow()
175 if (t->ty == Tfunction && !((TypeFunction *)t)->isnothrow) in canThrow()
211 if (!sd->postblit || sd->postblit->type->ty != Tfunction) in canThrow()
H A Dsideeffect.c100 assert(f->type->ty == Tfunction); in callSideEffectLevel()
122 assert(t->ty == Tfunction); in callSideEffectLevel()
190 if (t->ty == Tfunction && in lambdaHasSideEffect()
277 if (t->ty == Tfunction && in discardValue()
H A Dsafe.c159 ttobn->ty != Tfunction && tfromn->ty != Tfunction && in isSafeCast()
H A Descape.c225 if (va && sc->func && sc->func->type && sc->func->type->ty == Tfunction) in checkAssignEscape()
653 if (fd && fd->type && fd->type->ty == Tfunction) in checkReturnEscapeImpl()
701 if (tf->ty == Tfunction) in inferReturn()
710 if (tf->ty == Tfunction && tf->parameters) in inferReturn()
943 else if (t1->ty == Tfunction) in escapeByValue()
970 if (e->e1->op == TOKdotvar && t1->ty == Tfunction) in escapeByValue()
1138 else if (t1->ty == Tfunction) in escapeByRef()
1177 if (e->e1->op == TOKdotvar && t1->ty == Tfunction) in escapeByRef()
H A Dtraits.c413 if (t->nextOf()->ty != Tfunction) // don't mark function pointers in pointerBitmap()
937 if (t->ty == Tfunction) in semanticTraits()
941 else if (t->ty == Tpointer && t->nextOf()->ty == Tfunction) in semanticTraits()
978 if (t->ty == Tfunction) in semanticTraits()
982 else if (t->ty == Tpointer && t->nextOf()->ty == Tfunction) in semanticTraits()
1030 if (t->ty == Tfunction) in semanticTraits()
1034 else if (t->ty == Tpointer && t->nextOf()->ty == Tfunction) in semanticTraits()
1125 if (t->ty == Tfunction) in semanticTraits()
1129 else if (t->ty == Tpointer && t->nextOf()->ty == Tfunction) in semanticTraits()
1350 if (sc2->func && sc2->func->type->ty == Tfunction) in semanticTraits()
H A Dmtype.c191 sizeTy[Tfunction] = sizeof(TypeFunction); in _init()
806 if (tn && ty != Tfunction && tn->ty != Tfunction && ty != Tenum) in check()
1176 if (ty == Tfunction) in pointerTo()
1580 if (t->ty == Tfunction) in stripDefaultArgs()
1882 if (tn && tn->ty != Tfunction) in unqualify()
1916 if (ty == Tpointer && tn->ty == Tfunction) in substWildTo()
2349 if (ty != Tfunction) in toTypeFunction()
2614 if (ty == Tfunction) in hasWild()
2642 if (ty != Tfunction && next->ty != Tfunction && in makeConst()
2673 if (ty != Tfunction && next->ty != Tfunction && in makeImmutable()
[all …]
H A Ddcast.c788 if (tx->ty != Tfunction) in implicitConvTo()
894 (t->ty == Tpointer || t->ty == Tdelegate) && t->nextOf()->ty == Tfunction) in implicitConvTo()
919 if (e->type->ty == Tpointer && e->type->nextOf()->ty == Tfunction && in implicitConvTo()
920 t->ty == Tpointer && t->nextOf()->ty == Tfunction && in implicitConvTo()
942 if (e->type->ty == Tpointer && e->type->nextOf()->ty == Tfunction && in implicitConvTo()
943 (t->ty == Tpointer || t->ty == Tdelegate) && t->nextOf()->ty == Tfunction) in implicitConvTo()
1107 if (fd->errors || fd->type->ty != Tfunction) in implicitConvTo()
1904 (t->ty == Tpointer || t->ty == Tdelegate) && t->nextOf()->ty == Tfunction) in castTo()
1937 if (e->type->ty == Tpointer && e->type->nextOf()->ty == Tfunction && in castTo()
1938 tb->ty == Tpointer && tb->nextOf()->ty == Tfunction && in castTo()
[all …]
H A Dnogc.c231 ((f->type->ty == Tfunction && ((TypeFunction *)f->type)->isnogc) || in checkGC()
H A Dexpressionsem.c105 else if (arg->type->toBasetype()->ty == Tfunction) in preFunctionParameters()
1569 (exp->fd->treq->ty == Tpointer && exp->fd->treq->nextOf()->ty == Tfunction)) in visit()
1606 if (exp->fd->type && exp->fd->type->ty == Tfunction && !exp->fd->type->nextOf()) in visit()
2031 if (e->targ->ty != Tfunction) in visit()
2037 assert(tded->ty == Tfunction); in visit()
2063 if (e->targ->ty == Tfunction) in visit()
2071 ((TypePointer *)e->targ)->next->ty == Tfunction) in visit()
2693 if (f->type->ty == Tfunction) in visit()
2962 else if (exp->e1->op == TOKstar && exp->e1->type->ty == Tfunction) in visit()
3096 if ((exp->e1->op == TOKdotvar && t1->ty == Tfunction) || in visit()
[all …]
H A Dinit.c262 if (e->type->ty== Tpointer && e->type->nextOf()->ty != Tfunction) in hasNonConstPointers()
H A Dexpression.c288 assert(fd->type->ty == Tfunction);
306 assert(fd->type->ty == Tfunction);
369 else if (e1->op == TOKdotvar && e1->type && e1->type->toBasetype()->ty == Tfunction)
377 else if (e1->op == TOKvar && e1->type && e1->type->toBasetype()->ty == Tfunction)
399 assert(fd->type->ty == Tfunction);
410 assert(fd->type->ty == Tfunction);
424 assert(fd->type->ty == Tfunction);
520 else if (ce->e1->type->ty == Tfunction) in checkPropertyCall()
524 else if (ce->e1->type->ty == Tpointer && ce->e1->type->nextOf()->ty == Tfunction) in checkPropertyCall()
616 else if (e1->op == TOKdotvar && e1->type->ty == Tfunction) in resolvePropertiesOnly()
[all …]
H A Dfunc.c503 assert(treq->nextOf()->ty == Tfunction); in semantic()
506 else if (treq->ty == Tpointer && treq->nextOf()->ty == Tfunction) in semantic()
520 if (type->ty != Tfunction) in semantic()
689 if (type->ty != Tfunction) in semantic()
1405 if (!type || type->ty != Tfunction) in semantic3()
1723 (type->ty == Tfunction && in semantic3()
2497 if (type->ty == Tfunction && ((TypeFunction *)type)->iswild & 2) in declareThis()
2500 if (type->ty == Tfunction) in declareThis()
2526 if (type->ty == Tfunction) in declareThis()
3100 if (t->ty == Tfunction) in overloadExactMatch()
H A Ddtemplate.c786 assert(tf->ty == Tfunction); in evaluateConstraint()
939 assert(fd->type->ty == Tfunction); in matchWithInstance()
957 assert(fd->type->ty != Tfunction); in matchWithInstance()
960 assert(fd->type->ty == Tfunction); in matchWithInstance()
2396 if (fd->type->ty != Tfunction) in functionResolve()
2444 if (f->type->ty != Tfunction || f->errors) in functionResolve()
2498 assert(tf1->ty == Tfunction); in functionResolve()
2500 assert(tf2->ty == Tfunction); in functionResolve()
2614 assert(tf->ty == Tfunction); in functionResolve()
2660 assert(fd->type->ty == Tfunction); in doHeaderInstantiation()
[all …]
H A Dinitsem.c180 …else if ((t->ty == Tdelegate || (t->ty == Tpointer && t->nextOf()->ty == Tfunction)) && i->value.d… in visit()
243 if (t->nextOf()->ty != Tfunction) in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dsideeffect.d108 assert(f.type.ty == Tfunction); in callSideEffectLevel()
132 assert(t.ty == Tfunction); in callSideEffectLevel()
206 … if (t.ty == Tfunction && (ce.f ? callSideEffectLevel(ce.f) : callSideEffectLevel(ce.e1.type)) > 0)
287 … if (t.ty == Tfunction && (ce.f ? callSideEffectLevel(ce.f) : callSideEffectLevel(ce.e1.type)) > 0) in discardValue()
H A Dastenums.d171 Tfunction, enumerator
226 alias Tfunction = TY.Tfunction; variable
H A Dsafe.d193 ttobn.ty != Tfunction && tfromn.ty != Tfunction && in isSafeCast()
H A Dmtype.d437 sizeTy[Tfunction] = __traits(classInstanceSize, TypeFunction);
1678 if (tn && ty != Tfunction && tn.ty != Tfunction && ty != Tenum) in check()
1957 if (ty == Tfunction) in pointerTo()
2269 if (ty == Tpointer && tn.ty == Tfunction) in substWildTo()
2347 if (tn && tn.ty != Tfunction) in unqualify()
2676 return (ty == Tpointer && (cast(TypePointer)this).next.ty == Tfunction) in isPtrToFunction()
2688 return ty == Tfunction ? cast(typeof(return))this : in isFunction_Delegate_PtrToFunction()
2692 ty == Tpointer && (cast(TypePointer)this).next.ty == Tfunction ? in isFunction_Delegate_PtrToFunction()
2708 …inout(TypeFunction) isTypeFunction() { return ty == Tfunction ? cast(typeof(return))this : nu… in isTypeFunction()
2733 if (ty != Tfunction) in toTypeFunction()
[all …]
H A Dastcodegen.d60 alias Tfunction = dmd.mtype.Tfunction; member
H A Ddcast.d962 (tb.ty == Tpointer || tb.ty == Tdelegate) && tb.nextOf().ty == Tfunction) in implicitConvTo()
987 typeb.ty == Tpointer && typeb.nextOf().ty == Tfunction && in implicitConvTo()
988 tb.ty == Tpointer && tb.nextOf().ty == Tfunction) in implicitConvTo()
1016 if (typeb.ty == Tpointer && typeb.nextOf().ty == Tfunction && in implicitConvTo()
1017 (tb.ty == Tpointer || tb.ty == Tdelegate) && tb.nextOf().ty == Tfunction) in implicitConvTo()
1204 if (fd.errors || fd.type.ty != Tfunction) in implicitConvTo()
2131 (tb.ty == Tpointer || tb.ty == Tdelegate) && tb.nextOf().ty == Tfunction) in visitAddr()
2164 typeb.ty == Tpointer && typeb.nextOf().ty == Tfunction && in visitAddr()
2165 tb.ty == Tpointer && tb.nextOf().ty == Tfunction) in visitAddr()
2397 typeb.ty == Tpointer && typeb.nextOf().ty == Tfunction && in visitSymOff()
[all …]
H A Dtypinf.d126 case Tfunction: in getTypeInfoDeclaration()
H A Dnogc.d211 (f.type.ty == Tfunction && in checkGC()
H A Descape.d1374 if (fd && fd.type && fd.type.ty == Tfunction) in checkReturnEscapeImpl()
1691 else if (t1.ty == Tfunction) in visit()
1734 if (e.e1.op == EXP.dotVariable && t1.ty == Tfunction) in visit()
1990 else if (t1.ty == Tfunction) in visit()
2027 if (e.e1.op == EXP.dotVariable && t1.ty == Tfunction) in visit()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-attribs.cc623 if (t->ty == Tfunction) in d_handle_noinline_attribute()
644 if (t->ty == Tfunction) in d_handle_forceinline_attribute()
675 if (t->ty != Tfunction) in d_handle_flatten_attribute()
693 if (t->ty != Tfunction) in d_handle_target_attribute()
714 if (t->ty == Tfunction) in d_handle_noclone_attribute()
H A Dtypeinfo.cc134 case Tfunction: in get_typeinfo_kind()
750 gcc_assert (d->tinfo->ty == Tfunction && d->tinfo->deco != NULL); in visit()
1059 gcc_assert (tf->ty == Tfunction); in visit()

123