Home
last modified time | relevance | path

Searched refs:purity (Results 1 – 25 of 51) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dsideeffect.c104 PURE purity = f->isPure(); in callSideEffectLevel() local
105 if (purity == PUREstrong) in callSideEffectLevel()
107 if (purity == PUREconst) in callSideEffectLevel()
127 PURE purity = tf->purity; in callSideEffectLevel() local
128 if (t->ty == Tdelegate && purity > PUREweak) in callSideEffectLevel()
131 purity = PUREweak; in callSideEffectLevel()
133 purity = PUREconst; in callSideEffectLevel()
138 if (purity == PUREstrong) in callSideEffectLevel()
140 if (purity == PUREconst) in callSideEffectLevel()
H A Dfunc.c425 if (tf->purity == PUREimpure) // purity not specified in initInferAttributes()
552 if (tf->purity == PUREimpure && (isNested() || isThis())) in semantic()
573 tf->purity = PUREfwdref; // default to pure in semantic()
583 if (tf->purity == PUREfwdref) sc->stc |= STCpure; in semantic()
712 tfo->purity = tfx->purity; in semantic()
1294 tf->purity = f->purity; in buildEnsureRequire()
1327 tf->purity = f->purity; in buildEnsureRequire()
1724 f->purity == PUREimpure && in semantic3()
1725 ((TypeFunction *)type)->purity >= PUREfwdref)); in semantic3()
2282 f->purity = PUREfwdref; in semantic3()
[all …]
H A Dmtype.c2023 t->purity = purity; in substWildTo()
4836 tf->purity = PUREconst; in dotExp()
5151 this->purity = PUREimpure; in TypeFunction()
5161 this->purity = PUREfwdref; in TypeFunction()
5205 t->purity = purity; in syntaxCopy()
5408 if (!t1->purity && t2->purity) in covariant()
5479 tf->purity = PUREfwdref; in semantic()
5893 if (tf->purity != PUREfwdref) in purityLevel()
5896 purity = PUREstrong; // assume strong until something weakens it in purityLevel()
5910 purity = PUREweak; in purityLevel()
[all …]
H A Djson.c280 void property(const char *name, PURE purity) in property() argument
282 switch (purity) in property()
H A Ddmangle.c234 …if (ta->purity || ta->isnothrow || ta->isnogc || ta->isproperty || ta->isref || ta->trust || ta->i… in mangleFuncType()
236 if (ta->purity) in mangleFuncType()
H A Ddcast.c792 if (tf->purity == PUREimpure) in implicitConvTo()
1110 if (tf->purity == PUREimpure) in implicitConvTo()
2730 if (tf1->purity != tf2->purity) in typeMerge()
2731 d->purity = PUREimpure; in typeMerge()
2732 assert(d->purity != PUREfwdref); in typeMerge()
H A Ddclass.c808 tf->purity = btf->purity; in semantic()
H A Dmtype.h611 PURE purity; // PURExxxx variable
H A Dclone.c44 if (tf->purity != PUREimpure) in mergeFuncAttrs()
H A Dstatementsem.c3728 PURE purity; in visit() local
3729 …if (!(cas->stc & STCpure) && (purity = sc->func->isPureBypassingInference()) != PUREimpure && puri… in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dsideeffect.d139 PURE purity = tf.purity; in callSideEffectLevel() local
140 if (t.ty == Tdelegate && purity > PURE.weak) in callSideEffectLevel()
143 purity = PURE.weak; in callSideEffectLevel()
145 purity = PURE.const_; in callSideEffectLevel()
148 if (purity == PURE.const_) in callSideEffectLevel()
H A Dfunc.d1336 if (tf.purity == PURE.impure) // purity not specified in initInferAttributes()
1362 if (tf.purity == PURE.fwdref) in isPure()
1364 PURE purity = tf.purity; in isPure() local
1365 if (purity > PURE.weak && isNested()) in isPure()
1366 purity = PURE.weak; in isPure()
1367 if (purity > PURE.weak && needThis()) in isPure()
1373 else if (type.mod & (MODFlags.const_ | MODFlags.wild) && purity >= PURE.const_) in isPure()
1374 purity = PURE.const_; in isPure()
1376 purity = PURE.weak; in isPure()
1378 tf.purity = purity; in isPure()
[all …]
H A Dmtype.d725 if (!t1.purity && t2.purity)
4226 PURE purity = PURE.impure; variable
4240 this.purity = PURE.fwdref;
4290 t.purity = purity; in syntaxCopy()
4313 if (tf.purity != PURE.fwdref) in purityLevel()
4316 purity = PURE.const_; // assume strong until something weakens it in purityLevel()
4328 purity = PURE.weak; in purityLevel()
4333 purity = PURE.weak; in purityLevel()
4336 tf.purity = purity; in purityLevel()
4385 if (stc & (STC.scope_ | STC.return_ | STC.lazy_) || purity == PURE.impure) in parameterStorageClass()
[all …]
H A Dsemantic3.d612 …== f || (funcdecl.type.ty == Tfunction && f.purity == PURE.impure && (cast(TypeFunction)funcdecl.t… in visit()
1261 f.purity = PURE.fwdref; in visit()
1422 const puErr = ctf.purity && !dtf.purity; in visit()
H A Djson.d296 extern(D) void property(const char[] name, PURE purity) in property() argument
298 final switch (purity) in property()
H A Ddcast.d847 if (tf.purity == PURE.impure) in implicitConvTo()
1207 if (tf.purity == PURE.impure) in implicitConvTo()
3014 if (tf1.purity != tf2.purity) in typeMerge()
3015 d.purity = PURE.impure; in typeMerge()
3016 assert(d.purity != PURE.fwdref); in typeMerge()
H A Dmtype.h602 PURE purity; // PURExxxx variable
H A Ddmangle.d363 if (ta.purity) in mangleFuncType()
H A Ddsymbolsem.d3116 if (tf.purity == PURE.impure && (funcdecl.isNested() || funcdecl.isThis())) in funcDeclarationSemantic()
3136 tf.purity = PURE.fwdref; // default to pure in funcDeclarationSemantic()
3151 if (tf.purity == PURE.fwdref) in funcDeclarationSemantic()
3232 tfo.purity = f.purity; in funcDeclarationSemantic()
/netbsd-src/games/quiz/datfiles/
H A Dflowers25 Orange blossom:Your purity equals your loveliness
/netbsd-src/share/misc/
H A Dflowers30 Orange blossom:Your purity equals your loveliness.
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-builtins.cc555 tf->purity = DECL_PURE_P (decl) ? PURE::const_ in d_build_builtins_module()
H A DChangeLog528 * d-builtins.cc (d_build_builtins_module): Set purity of DECL_PURE_P
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-builtins.cc536 tf->purity = DECL_PURE_P (decl) ? PUREstrong in d_build_builtins_module()
/netbsd-src/external/mit/isl/dist/
H A Disl_transitive_closure.c346 static int purity(__isl_keep isl_basic_set *bset, isl_int *c, int *div_purity, in purity() function
480 p = purity(delta, delta_c[i], div_purity, eq); in add_delta_constraints()

123