/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | canthrow.c | 71 if (t->ty == Tfunction && ((TypeFunction *)t)->isnothrow) in canThrow() 73 if (t->ty == Tdelegate && ((TypeFunction *)((TypeDelegate *)t)->next)->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() 214 if (((TypeFunction *)sd->postblit->type)->isnothrow) in canThrow()
|
H A D | clone.c | 37 TypeFunction *tf = (TypeFunction *)f->type; in mergeFuncAttrs() 249 TypeFunction *tf = new TypeFunction(fparams, sd->handleType(), 0, LINKd, stc | STCref); in buildOpAssign() 500 TypeFunction *tfeqptr; in buildXopEquals() 508 tfeqptr = new TypeFunction(parameters, Type::tbool, 0, LINKd); in buildXopEquals() 510 tfeqptr = (TypeFunction *)tfeqptr->semantic(Loc(), &scx); in buildXopEquals() 537 TypeFunction *tf = new TypeFunction(parameters, Type::tbool, 0, LINKd); in buildXopEquals() 580 TypeFunction *tfcmpptr; in buildXopCmp() 588 tfcmpptr = new TypeFunction(parameters, Type::tint32, 0, LINKd); in buildXopCmp() 590 tfcmpptr = (TypeFunction *)tfcmpptr->semantic(Loc(), &scx); in buildXopCmp() 622 TypeFunction *tf = new TypeFunction(parameters, Type::tint32, 0, LINKd); in buildXopCmp() [all …]
|
H A D | func.c | 44 RET retStyle(TypeFunction *tf); 424 TypeFunction *tf = fd->type->toTypeFunction(); in initInferAttributes() 449 TypeFunction *f; in semantic() 534 TypeFunction *tf = type->toTypeFunction(); in semantic() 703 TypeFunction *tfo = originalType->toTypeFunction(); in semantic() 704 TypeFunction *tfx = type->toTypeFunction(); in semantic() 718 f = (TypeFunction *)type; in semantic() 1281 TypeFunction *f = (TypeFunction *)fdx->type; in buildEnsureRequire() 1291 TypeFunction *tf = new TypeFunction(NULL, Type::tvoid, 0, LINKd); in buildEnsureRequire() 1324 TypeFunction *tf = new TypeFunction(fparams, Type::tvoid, 0, LINKd); in buildEnsureRequire() [all …]
|
H A D | sideeffect.c | 101 TypeFunction *tf = (TypeFunction *)f->type; in callSideEffectLevel() 117 TypeFunction *tf; in callSideEffectLevel() 119 tf = (TypeFunction *)((TypeDelegate *)t)->next; in callSideEffectLevel() 123 tf = (TypeFunction *)t; in callSideEffectLevel()
|
H A D | traits.c | 418 virtual void visit(TypeFunction *) { } in pointerBitmap() 927 TypeFunction *tf = NULL; in semanticTraits() 938 tf = (TypeFunction *)t; in semanticTraits() 940 tf = (TypeFunction *)t->nextOf(); in semanticTraits() 942 tf = (TypeFunction *)t->nextOf(); in semanticTraits() 975 TypeFunction *tf = NULL; in semanticTraits() 979 tf = (TypeFunction *)t; in semanticTraits() 981 tf = (TypeFunction *)t->nextOf(); in semanticTraits() 983 tf = (TypeFunction *)t->nextOf(); in semanticTraits() 1027 TypeFunction *tf = NULL; in semanticTraits() [all …]
|
H A D | escape.c | 226 inferScope = ((TypeFunction *)sc->func->type)->trust != TRUSTsystem; in checkAssignEscape() 655 TypeFunction *tf = (TypeFunction *)fd->type; in checkReturnEscapeImpl() 695 TypeFunction *tf = (TypeFunction *)fd->type; in inferReturn() 936 TypeFunction *tf = NULL; in escapeByValue() 941 tf = (TypeFunction *)dg->next; in escapeByValue() 944 tf = (TypeFunction *)t1; in escapeByValue() 1135 TypeFunction *tf; in escapeByRef() 1137 tf = (TypeFunction *)((TypeDelegate *)t1)->next; in escapeByRef() 1139 tf = (TypeFunction *)t1; in escapeByRef()
|
H A D | hdrgen.h | 40 void functionToBufferFull(TypeFunction *tf, OutBuffer *buf, Identifier *ident, HdrGenState* hgs, Te… 41 void functionToBufferWithIdent(TypeFunction *t, OutBuffer *buf, const char *ident);
|
H A D | dmangle.c | 199 void visit(TypeFunction *t) in visit() 207 void mangleFuncType(TypeFunction *t, TypeFunction *ta, unsigned char modMask, Type *tret) in mangleFuncType() 376 TypeFunction *tf = (TypeFunction *)fd->type; in mangleFunc() 377 TypeFunction *tfo = (TypeFunction *)fd->originalType; in mangleFunc()
|
H A D | delegatize.c | 42 TypeFunction *tf = new TypeFunction(NULL, t, 0, LINKd); in toDelegate()
|
H A D | dtemplate.c | 785 TypeFunction *tf = (TypeFunction *)fd->type; in evaluateConstraint() 940 TypeFunction *tf = (TypeFunction *)fd->type->syntaxCopy(); in matchWithInstance() 2188 TypeFunction *tf = (TypeFunction *)fd->type; in functionResolve() 2406 TypeFunction *tf = (TypeFunction *)fd->type; in functionResolve() 2467 TypeFunction *tf = (TypeFunction *)fd->type; in functionResolve() 2497 TypeFunction *tf1 = (TypeFunction *)fd->type; in functionResolve() 2499 TypeFunction *tf2 = (TypeFunction *)m->lastf->type; in functionResolve() 2611 TypeFunction *tf = (TypeFunction *)m->lastf->type; in functionResolve() 2661 TypeFunction *tf = (TypeFunction *)fd->type; in doHeaderInstantiation() 2677 tf = (TypeFunction *)tf->addSTC(ModToStc(tthis->mod)); in doHeaderInstantiation() [all …]
|
H A D | expression.c | 307 TypeFunction *tf = (TypeFunction *)fd->type; 411 TypeFunction *tf = (TypeFunction *)fd->type; 508 TypeFunction *tf; in checkPropertyCall() 511 tf = (TypeFunction *)ce->f->type; in checkPropertyCall() 517 tf = (TypeFunction *)ce->f->type; in checkPropertyCall() 521 tf = (TypeFunction *)ce->e1->type; in checkPropertyCall() 523 tf = (TypeFunction *)ce->e1->type->nextOf(); in checkPropertyCall() 525 tf = (TypeFunction *)ce->e1->type->nextOf(); in checkPropertyCall() 564 if (((TypeFunction *)fd->type)->isproperty) in resolvePropertiesOnly() 570 if (((TypeFunction *)fd->type)->isproperty || in resolvePropertiesOnly() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | clone.d | 58 TypeFunction tf = cast(TypeFunction)f.type; in mergeFuncAttrs() 301 auto tf = new TypeFunction(ParameterList(fparams), sd.handleType(), LINK.d, stc | STC.ref_); in buildOpAssign() 316 TypeFunction tdtor = cast(TypeFunction)sd.dtor.type; in buildOpAssign() 542 TypeFunction tfeqptr; in buildXopEquals() 549 tfeqptr = new TypeFunction(ParameterList(parameters), Type.tbool, LINK.d); in buildXopEquals() 551 tfeqptr = cast(TypeFunction)tfeqptr.typeSemantic(Loc.initial, &scx); in buildXopEquals() 577 auto tf = new TypeFunction(ParameterList(parameters), Type.tbool, LINK.d, STC.const_); in buildXopEquals() 616 TypeFunction tfcmpptr; in buildXopCmp() 623 tfcmpptr = new TypeFunction(ParameterList(parameters), Type.tint32, LINK.d); in buildXopCmp() 625 tfcmpptr = cast(TypeFunction)tfcmpptr.typeSemantic(Loc.initial, &scx); in buildXopCmp() [all …]
|
H A D | sideeffect.d | 109 TypeFunction tf = cast(TypeFunction)f.type; in callSideEffectLevel() 127 TypeFunction tf; in callSideEffectLevel() 129 tf = cast(TypeFunction)(cast(TypeDelegate)t).next; in callSideEffectLevel() 133 tf = cast(TypeFunction)t; in callSideEffectLevel()
|
H A D | target.h | 26 class TypeFunction; variable 205 bool isReturnOnStack(TypeFunction *tf, bool needsThis); 208 bool isCalleeDestroyingArgs(TypeFunction* tf);
|
H A D | target.d | 66 import dmd.mtype : Type, TypeFunction, TypeTuple; 246 extern (C++) bool isReturnOnStack(TypeFunction tf, bool needsThis); 273 extern (C++) bool isCalleeDestroyingArgs(TypeFunction tf);
|
H A D | mtype.h | 322 TypeFunction *toTypeFunction(); 326 TypeFunction *isPtrToFunction(); 327 TypeFunction *isFunction_Delegate_PtrToFunction(); 335 TypeFunction *isTypeFunction(); 593 class TypeFunction : public TypeNext 606 …static TypeFunction *create(Parameters *parameters, Type *treturn, VarArg varargs, LINK linkage, S… 608 TypeFunction *syntaxCopy(); 654 static TypeDelegate *create(TypeFunction *t);
|
H A D | func.d | 840 auto tf = cast(TypeFunction)f.type; in overloadExactMatch() 1013 TypeFunction tf = type.toTypeFunction(); in leastAsSpecialized() 1014 TypeFunction tg = g.type.toTypeFunction(); in leastAsSpecialized() 1335 TypeFunction tf = type.toTypeFunction(); in initInferAttributes() 1359 TypeFunction tf = type.toTypeFunction(); in isPure() 1595 TypeFunction tf = type.toTypeFunction(); in isReturnIsolated() 1698 TypeFunction tf = type.toTypeFunction(); in isTypeIsolatedIndirect() 2200 auto f = cast(TypeFunction)type; in canBuildResultVar() 2229 TypeFunction tf = type.toTypeFunction(); in buildResultVar() 2453 TypeFunction f = cast(TypeFunction) type; in buildEnsureRequire() [all …]
|
H A D | cppmangle.d | 211 void mangleReturnType(TypeFunction preSemantic) in mangleReturnType() 213 auto tf = cast(TypeFunction)this.context.res.asFuncDecl().type; in mangleReturnType() 346 void writeRemainingTags(size_t off, TypeFunction tf) in writeRemainingTags() 1052 TypeFunction tf = cast(TypeFunction)d.type; in mangle_function_encoding() 1156 void mangleTemplatedFunction(FuncDeclaration d, TypeFunction tf, in mangleTemplatedFunction() 1166 TypeFunction preSemantic = cast(TypeFunction)d.originalType; in mangleTemplatedFunction() 1324 auto tf = new TypeFunction(ParameterList(), t, LINK.d); in mangleFunctionParameters() 1338 TypeFunction tf; in mangleFunctionParameters() 1340 tf = cast(TypeFunction)this.context.res.asFuncDecl().type; in mangleFunctionParameters() 1510 void mangleNestedFuncPrefix(TypeFunction tf, Dsymbol parent) in mangleNestedFuncPrefix() [all …]
|
H A D | semantic3.d | 292 TypeFunction f = cast(TypeFunction)funcdecl.type; in visit() 612 …|| (funcdecl.type.ty == Tfunction && f.purity == PURE.impure && (cast(TypeFunction)funcdecl.type).… in visit() 613 f = cast(TypeFunction)funcdecl.type; in visit() 771 f = cast(TypeFunction)f.copy(); in visit() 1260 f = cast(TypeFunction)f.copy(); in visit() 1268 f = cast(TypeFunction)f.copy(); in visit() 1276 f = cast(TypeFunction)f.copy(); in visit() 1286 f = cast(TypeFunction)f.copy(); in visit() 1418 auto ctf = cast(TypeFunction) ctor.type; in visit() 1419 auto dtf = cast(TypeFunction) ad.fieldDtor.type; in visit()
|
H A D | objc.d | 97 TypeFunction ftype = cast(TypeFunction)fdecl.type; in create() 572 TypeFunction tf = cast(TypeFunction)fd.type; in validateSelector()
|
H A D | aggregate.h | 19 class TypeFunction; variable 297 FuncDeclaration *findFunc(Identifier *ident, TypeFunction *tf);
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
H A D | d-frontend.cc | 563 retStyle (TypeFunction *) in retStyle() argument 597 TypeFunction *tf = (TypeFunction *) fd->type; in eval_builtin()
|
H A D | d-tree.h | 37 class TypeFunction; variable 566 extern TypeFunction *get_function_type (Type *); 569 extern tree d_build_call (TypeFunction *, tree, tree, Expressions *); 636 extern tree build_return_dtor (Expression *, Type *, TypeFunction *);
|
H A D | d-codegen.cc | 147 TypeFunction *tf = TypeFunction::create (NULL, decl->type, false, LINKd); in declaration_type() 196 TypeFunction *tf = TypeFunction::create (NULL, arg->type, false, LINKd); in parameter_type() 1778 TypeFunction *tf = (TypeFunction *) fd->type; in array_bounds_check() 1792 TypeFunction * 1795 TypeFunction *tf = NULL; in get_function_type() 1799 tf = (TypeFunction *) t; in get_function_type() 1801 tf = (TypeFunction *) ((TypeDelegate *) t)->next; in get_function_type() 1847 d_build_call (TypeFunction *tf, tree callable, tree object, in d_build_call()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
H A D | d-tree.h | 39 class TypeFunction; variable 590 extern TypeFunction *get_function_type (Type *); 593 extern tree d_build_call (TypeFunction *, tree, tree, Expressions *); 656 extern tree build_return_dtor (Expression *, Type *, TypeFunction *);
|