/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | escape.c | 124 if ((v->storage_class & (STCref | STCout)) == 0 && p == sc->func) in checkParamArgumentEscape() 148 if ((v->storage_class & (STCref | STCout | STCscope)) && p == sc->func) in checkParamArgumentEscape() 257 va->storage_class & STCref) && in checkAssignEscape() 335 if ((v->storage_class & (STCref | STCout)) == 0 && p == sc->func) in checkAssignEscape() 373 if ((v->storage_class & (STCref | STCout | STCscope)) && p == sc->func) in checkAssignEscape() 607 if ((v->storage_class & (STCref | STCout)) == 0) in checkReturnEscapeImpl() 632 if ( (v->storage_class & (STCref | STCout)) && in checkReturnEscapeImpl() 964 else if ((stc & (STCref)) && (stc & STCreturn)) in escapeByValue() 986 else if (dve->var->storage_class & STCref) in escapeByValue() 1159 if ((stc & (STCout | STCref)) && (stc & STCreturn)) in escapeByRef() [all …]
|
H A D | clone.c | 159 if (v->storage_class & STCref) in needOpAssign() 226 if (v->storage_class & STCref) in buildOpAssign() 367 if (v->storage_class & STCref) in needOpEquals() 535 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXopEquals() 536 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::q, NULL)); in buildXopEquals() 620 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXopCmp() 621 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::q, NULL)); in buildXopCmp() 672 if (v->storage_class & STCref) in needToHash() 742 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXtoHash() 800 if (v->storage_class & STCref) in buildPostBlit() [all …]
|
H A D | statementsem.c | 515 (storageClass & STCref && !te)) in declareVariable() 548 if (storageClass & STCref) in declareVariable() 573 if (storageClass & STCref) in declareVariable() 574 v->storage_class |= STCref | STCforeach; in declareVariable() 580 if (v->storage_class & STCref) in declareVariable() 1035 if (p->storageClass & STCref) in visit() 1067 if (p->storageClass & STCref) in visit() 1099 if (var->storage_class & STCref) in visit() 1456 StorageClass stc = STCref; in visit() 1477 else if (p->storageClass & STCref) in visit() [all …]
|
H A D | declaration.c | 151 if ((storage_class & (STCforeach | STCref)) == (STCforeach | STCref)) in checkModify() 431 if (storage_class & (STCref | STCnothrow | STCnogc | STCpure | STCdisable)) in aliasSemantic() 436 … sc2->stc |= storage_class & (STCref | STCnothrow | STCnogc | STCpure | STCshared | STCdisable); in aliasSemantic() 1279 …if ((storage_class & (STCref | STCparameter | STCforeach | STCtemp | STCresult)) == STCref && iden… in semantic() 1313 if (!(storage_class & (STCctfe | STCref | STCresult)) && tbn->ty == Tstruct && in semantic() 1334 …if (storage_class & (STCfield | STCout | STCref | STCstatic | STCmanifest | STCtls | STCgshared) |… in semantic() 1432 sc->stc &= ~(STC_TYPECTOR | STCpure | STCnothrow | STCnogc | STCref | STCdisable); in semantic() 1760 if (storage_class & STCref) in setFieldOffset() 2107 if (storage_class & (STCnodtor | STCref | STCout | STCfield)) in callScopeDtor()
|
H A D | declaration.h | 58 #define STCref 0x40000ULL /// `ref` macro 105 #define STC_FUNCATTR (STCref | STCnothrow | STCnogc | STCpure | STCproperty | STCsafe | STCtrust… 151 bool isRef() const { return (storage_class & STCref) != 0; } in isRef() 152 bool isReference() const { return (storage_class & (STCref | STCout)) != 0; } in isReference()
|
H A D | mtype.c | 5169 if (stc & STCref) in TypeFunction() 5383 stc1 |= STCref; in covariant() 5389 stc2 |= STCref; in covariant() 5484 if (sc->stc & STCref) in semantic() 5588 if ((fparam->storageClass & (STCref | STCwild)) == (STCref | STCwild)) in semantic() 5624 if (fparam->storageClass & (STCref | STClazy)) in semantic() 5651 if (!(fparam->storageClass & STCref)) in semantic() 6068 if (p->storageClass & (STCref | STCout)) in callMatch() 9534 else if (stc2 == STCref) in isCovariantScope() 9540 else if (stc2 == (STCref | STCreturn)) in isCovariantScope() [all …]
|
H A D | func.c | 482 storage_class |= sc->stc & ~STCref; in semantic() 578 if (tf->isref) sc->stc |= STCref; in semantic() 601 sc->stc |= STCref; in semantic() 1321 p = new Parameter(STCref | STCconst, f->nextOf(), fdx->outId, NULL); in buildEnsureRequire() 1467 STC_TYPECTOR | STCfinal | STCtls | STCgshared | STCref | STCreturn | in semantic3() 2180 if (v->storage_class & (STCref | STCout | STClazy)) in semantic3() 2494 v->storage_class |= STCref; in declareThis() 2612 vresult->storage_class |= STCref; in buildResultVar() 3348 if (p->storageClass & (STCref | STCout)) in leastAsSpecialized() 4076 Type *tprmi = (fparam->storageClass & (STClazy | STCout | STCref)) in parametersIntersect() [all …]
|
H A D | dmangle.c | 822 switch (p->storageClass & (STCin | STCout | STCref | STClazy)) in visit() 830 case STCref: in visit()
|
H A D | sideeffect.c | 427 vd->storage_class |= STCref;
|
H A D | dstruct.c | 380 if (v->storage_class & STCref) in determineFields() 1439 if (v->storage_class & STCref) in isPOD()
|
H A D | parse.c | 550 case TOKref: stc = STCref; goto Lstc; in parseDeclDefs() 2022 case TOKref: stc = STCref; goto L2; in parseParameters() 2034 { stc = storageClass & (STCin | STCout | STCref | STClazy); in parseParameters() 2037 !(stc == (STCin | STCref))) in parseParameters() 2077 if (storageClass & (STCout | STCref)) in parseParameters() 3650 case TOKref: stc = STCref; goto L1; in parseStorageClasses() 4751 stc = STCref; in parseForeach() 5291 stc = STCref; in parseStatement()
|
H A D | expression.c | 1550 bool isRef = (p->storageClass & (STCref | STCout)) != 0; in functionParameters() 1629 arg = arg->optimize(WANTvalue, (p->storageClass & (STCref | STCout)) != 0); in functionParameters() 1632 if (p->storageClass & STCref) in functionParameters() 1707 arg = arg->optimize(WANTvalue, (p->storageClass & (STCref | STCout)) != 0); in functionParameters() 1822 if (!(p && (p->storageClass & (STClazy | STCref | STCout)))) in functionParameters() 1852 const bool isRef = (parameter && (parameter->storageClass & (STCref | STCout))); in functionParameters() 6264 if (v->storage_class & (STCref | STCout)) in ConstructExp() 6282 if (v->storage_class & (STCref | STCout)) in BlitExp()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | escape.c | 124 if ((v->storage_class & (STCref | STCout)) == 0 && p == sc->func) in checkParamArgumentEscape() 148 if ((v->storage_class & (STCref | STCout | STCscope)) && p == sc->func) in checkParamArgumentEscape() 257 va->storage_class & STCref) && in checkAssignEscape() 335 if ((v->storage_class & (STCref | STCout)) == 0 && p == sc->func) in checkAssignEscape() 373 if ((v->storage_class & (STCref | STCout | STCscope)) && p == sc->func) in checkAssignEscape() 607 if ((v->storage_class & (STCref | STCout)) == 0) in checkReturnEscapeImpl() 632 if ( (v->storage_class & (STCref | STCout)) && in checkReturnEscapeImpl() 964 else if ((stc & (STCref)) && (stc & STCreturn)) in escapeByValue() 986 else if (dve->var->storage_class & STCref) in escapeByValue() 1159 if ((stc & (STCout | STCref)) && (stc & STCreturn)) in escapeByRef() [all …]
|
H A D | clone.c | 159 if (v->storage_class & STCref) in needOpAssign() 226 if (v->storage_class & STCref) in buildOpAssign() 367 if (v->storage_class & STCref) in needOpEquals() 535 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXopEquals() 536 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::q, NULL)); in buildXopEquals() 620 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXopCmp() 621 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::q, NULL)); in buildXopCmp() 672 if (v->storage_class & STCref) in needToHash() 742 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXtoHash() 800 if (v->storage_class & STCref) in buildPostBlit() [all …]
|
H A D | statementsem.c | 515 (storageClass & STCref && !te)) in declareVariable() 548 if (storageClass & STCref) in declareVariable() 573 if (storageClass & STCref) in declareVariable() 574 v->storage_class |= STCref | STCforeach; in declareVariable() 580 if (v->storage_class & STCref) in declareVariable() 1035 if (p->storageClass & STCref) in visit() 1067 if (p->storageClass & STCref) in visit() 1099 if (var->storage_class & STCref) in visit() 1456 StorageClass stc = STCref; in visit() 1477 else if (p->storageClass & STCref) in visit() [all …]
|
H A D | declaration.c | 151 if ((storage_class & (STCforeach | STCref)) == (STCforeach | STCref)) in checkModify() 431 if (storage_class & (STCref | STCnothrow | STCnogc | STCpure | STCdisable)) in aliasSemantic() 436 … sc2->stc |= storage_class & (STCref | STCnothrow | STCnogc | STCpure | STCshared | STCdisable); in aliasSemantic() 1279 …if ((storage_class & (STCref | STCparameter | STCforeach | STCtemp | STCresult)) == STCref && iden… in semantic() 1313 if (!(storage_class & (STCctfe | STCref | STCresult)) && tbn->ty == Tstruct && in semantic() 1334 …if (storage_class & (STCfield | STCout | STCref | STCstatic | STCmanifest | STCtls | STCgshared) |… in semantic() 1432 sc->stc &= ~(STC_TYPECTOR | STCpure | STCnothrow | STCnogc | STCref | STCdisable); in semantic() 1760 if (storage_class & STCref) in setFieldOffset() 2107 if (storage_class & (STCnodtor | STCref | STCout | STCfield)) in callScopeDtor()
|
H A D | declaration.h | 58 #define STCref 0x200000LL macro 72 #define STC_FUNCATTR (STCref | STCnothrow | STCnogc | STCpure | STCproperty | STCsafe | STCtrust… 98 …STCmanifest | STCimmutable | STCshared | STCwild | STCnothrow | STCnogc | STCpure | STCref | STCtl… 158 bool isRef() { return (storage_class & STCref) != 0; } in isRef()
|
H A D | mtype.c | 5169 if (stc & STCref) in TypeFunction() 5383 stc1 |= STCref; in covariant() 5389 stc2 |= STCref; in covariant() 5484 if (sc->stc & STCref) in semantic() 5588 if ((fparam->storageClass & (STCref | STCwild)) == (STCref | STCwild)) in semantic() 5624 if (fparam->storageClass & (STCref | STClazy)) in semantic() 5651 if (!(fparam->storageClass & STCref)) in semantic() 6068 if (p->storageClass & (STCref | STCout)) in callMatch() 9534 else if (stc2 == STCref) in isCovariantScope() 9540 else if (stc2 == (STCref | STCreturn)) in isCovariantScope() [all …]
|
H A D | func.c | 482 storage_class |= sc->stc & ~STCref; in semantic() 578 if (tf->isref) sc->stc |= STCref; in semantic() 601 sc->stc |= STCref; in semantic() 1321 p = new Parameter(STCref | STCconst, f->nextOf(), fdx->outId, NULL); in buildEnsureRequire() 1467 STC_TYPECTOR | STCfinal | STCtls | STCgshared | STCref | STCreturn | in semantic3() 2180 if (v->storage_class & (STCref | STCout | STClazy)) in semantic3() 2494 v->storage_class |= STCref; in declareThis() 2612 vresult->storage_class |= STCref; in buildResultVar() 3348 if (p->storageClass & (STCref | STCout)) in leastAsSpecialized() 4076 Type *tprmi = (fparam->storageClass & (STClazy | STCout | STCref)) in parametersIntersect() [all …]
|
H A D | dmangle.c | 822 switch (p->storageClass & (STCin | STCout | STCref | STClazy)) in visit() 830 case STCref: in visit()
|
H A D | sideeffect.c | 427 vd->storage_class |= STCref;
|
H A D | dstruct.c | 380 if (v->storage_class & STCref) in determineFields() 1439 if (v->storage_class & STCref) in isPOD()
|
H A D | expression.c | 1550 bool isRef = (p->storageClass & (STCref | STCout)) != 0; in functionParameters() 1629 arg = arg->optimize(WANTvalue, (p->storageClass & (STCref | STCout)) != 0); in functionParameters() 1632 if (p->storageClass & STCref) in functionParameters() 1707 arg = arg->optimize(WANTvalue, (p->storageClass & (STCref | STCout)) != 0); in functionParameters() 1822 if (!(p && (p->storageClass & (STClazy | STCref | STCout)))) in functionParameters() 1852 const bool isRef = (parameter && (parameter->storageClass & (STCref | STCout))); in functionParameters() 6264 if (v->storage_class & (STCref | STCout)) in ConstructExp() 6282 if (v->storage_class & (STCref | STCout)) in BlitExp()
|
H A D | parse.c | 550 case TOKref: stc = STCref; goto Lstc; in parseDeclDefs() 2022 case TOKref: stc = STCref; goto L2; in parseParameters() 2034 { stc = storageClass & (STCin | STCout | STCref | STClazy); in parseParameters() 2037 !(stc == (STCin | STCref))) in parseParameters() 2077 if (storageClass & (STCout | STCref)) in parseParameters() 3650 case TOKref: stc = STCref; goto L1; in parseStorageClasses() 4751 stc = STCref; in parseForeach() 5291 stc = STCref; in parseStatement()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/d/ |
H A D | d-target.cc | 373 if (arg->storageClass & (STCout | STCref)) in cppParameterType()
|