Home
last modified time | relevance | path

Searched refs:ctfe (Results 1 – 25 of 27) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddscope.d58 ctfe = 0x0080, /// inside a ctfe-only expression enumerator
75 SCOPE.contract | SCOPE.debug_ | SCOPE.ctfe | SCOPE.compile | SCOPE.constraint |
263 sc.flags = this.flags | SCOPE.ctfe; in startCTFE()
289 assert(flags & SCOPE.ctfe); in endCTFE()
H A Dctfeexpr.d293 se2.ownedByCtfe = OwnedBy.ctfe; in copyLiteral()
303 r.ownedByCtfe = OwnedBy.ctfe; in copyLiteral()
311 r.ownedByCtfe = OwnedBy.ctfe; in copyLiteral()
356 r.ownedByCtfe = OwnedBy.ctfe; in copyLiteral()
382 r.ownedByCtfe = OwnedBy.ctfe; in copyLiteral()
601 ale.ownedByCtfe = OwnedBy.ctfe; in createBlockDuplicatedArrayLiteral()
633 se.ownedByCtfe = OwnedBy.ctfe; in createBlockDuplicatedStringLiteral()
1641 ae.ownedByCtfe = OwnedBy.ctfe;
1644 se.ownedByCtfe = OwnedBy.ctfe;
1797 se.ownedByCtfe = OwnedBy.ctfe; in changeArrayLiteralLength()
[all …]
H A Dsideeffect.d381 vd.storage_class = stc | STC.temp | STC.ctfe; // temporary is always CTFEable in copyToTemp()
411 ((sc.flags & SCOPE.ctfe) ? !hasSideEffect(e) : isTrivialExp(e)))
H A Ddinterpret.d2057 if (v.ident == Id.ctfe) in getVarExp()
2474 if (e.ownedByCtfe >= OwnedBy.ctfe) // We've already interpreted all the elements in visit()
2535 ale.ownedByCtfe = OwnedBy.ctfe; in visit()
2556 if (e.ownedByCtfe >= OwnedBy.ctfe) // We've already interpreted all the elements in visit()
2626 aae.ownedByCtfe = OwnedBy.ctfe; in visit()
2642 if (e.ownedByCtfe >= OwnedBy.ctfe) in visit()
2720 sle.ownedByCtfe = OwnedBy.ctfe; in visit()
2751 ae.ownedByCtfe = OwnedBy.ctfe; in recursivelyCreateArrayLiteral()
2818 se.ownedByCtfe = OwnedBy.ctfe; in visit()
2867 se.ownedByCtfe = OwnedBy.ctfe; in visit()
[all …]
H A Dtypinf.d42 if (!sc || !(sc.flags & SCOPE.ctfe)) in genTypeInfo()
H A Dnogc.d210 if (e && e.op != EXP.error && f && sc.intypeof != 1 && !(sc.flags & SCOPE.ctfe) && in checkGC()
H A Dastenums.d96 ctfe = 0x100_0000_0000, /// can be used in CTFE, even if it is static enumerator
H A Ddstruct.d77 if (sc.flags & (SCOPE.ctfe | SCOPE.compile)) in semanticTypeInfo()
H A Ddeclaration.d1250 …ass & (STC.static_ | STC.extern_ | STC.manifest | STC.templateparameter | STC.gshared | STC.ctfe))) in inout()
1347 return (storage_class & STC.ctfe) != 0; // || !isDataseg(); in isCTFE()
1586 if (sc.intypeof == 1 || (sc.flags & SCOPE.ctfe)) in checkNestedReference()
H A Dexpression.d670 ctfe, // value expression for CTFE enumerator
1177 if (sc.flags & (SCOPE.ctfe | SCOPE.debug_)) in checkPurity()
1282 if (sc.flags & (SCOPE.ctfe | SCOPE.debug_)) in checkPurity()
1284 if (v.ident == Id.ctfe) in checkPurity()
1411 if (sc.flags & (SCOPE.ctfe | SCOPE.debug_)) in checkSafety()
1449 if (sc.flags & (SCOPE.ctfe | SCOPE.debug_)) in checkNogc()
3705 if (var.ident == Id.ctfe) in toLvalue()
H A Ddsymbol.d2084 v.storage_class |= STC.temp | STC.ctfe | STC.rvalue;
2096 v.storage_class |= STC.temp | STC.ctfe; // it's never a true static variable
H A Dexpressionsem.d185 …if ((sc.flags & SCOPE.ctfe) ? hasSideEffect(e1) : !isTrivialExp(e1)) // match logic in extractSide… in extractOpDollarSideEffect()
2286 gate.storage_class |= STC.temp | STC.ctfe | STC.volatile_; in functionParameters()
2717 if (exp.ident == Id.ctfe) in visit()
2719 if (sc.flags & SCOPE.ctfe) in visit()
2726 auto vd = new VarDeclaration(exp.loc, Type.tbool, Id.ctfe, null); in visit()
3888 sc.flags &= ~SCOPE.ctfe; // temporary stop CTFE in visit()
4010 sc.flags &= ~SCOPE.ctfe; // temporary stop CTFE in visit()
4978 else if (sc.func && sc.intypeof != 1 && !(sc.flags & (SCOPE.ctfe | SCOPE.debug_))) in visit()
6308 if (ve && ve.var.ident == Id.ctfe) in visit()
7615 if(t1b.ty == Tarray && exp.e1.op != EXP.arrayLiteral && (sc.flags & SCOPE.ctfe) == 0) in visit()
[all …]
H A Dclone.d321 swap.storage_class |= STC.nodtor | STC.temp | STC.ctfe; in buildOpAssign()
H A Dtraits.d1730 … sc2.flags = (sc.flags & ~(SCOPE.ctfe | SCOPE.condition)) | SCOPE.compile | SCOPE.fullinst; in semanticTraits()
H A Ddsymbolsem.d729 …lass & (STC.static_ | STC.extern_ | STC.manifest | STC.templateparameter | STC.gshared | STC.ctfe)) in visit()
815 if (!(dsym.storage_class & (STC.ctfe | STC.extern_ | STC.ref_ | STC.result)) && in visit()
6821 …& (STC.static_ | STC.extern_ | STC.tls | STC.gshared | STC.manifest | STC.ctfe | STC.templateparam… in determineFields()
H A Dstatementsem.d1343 var.storage_class |= STC.ctfe | STC.ref_ | STC.foreach_; in package()
4091 Expression ec = new IdentifierExp(loc, Id.ctfe); in catchSemantic()
H A Dtypesem.d2999 if (mt.ident == Id.ctfe) in visitIdentifier()
H A Dmtype.d4736 tmp.storage_class = STC.rvalue | STC.temp | STC.ctfe;
/netbsd-src/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.exceptions/
H A Dassert_fail.d237 enum ctfe = UUID(); in testEnum()
238 test(_d_assert_fail!(ubyte[])("==", ctfe.data, data), "[1] != []"); in testEnum()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Duuid.d267 enum ctfe = UUID(data);
269 assert(ctfe.data == data);
422 enum UUID ctfe = UUID(to!S("8ab3060e-2cba-4f23-b74c-b52db3bdfb46"));
423 assert(ctfe == id);
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Duuid.d267 enum ctfe = UUID(data);
269 assert(ctfe.data == data);
422 enum UUID ctfe = UUID(to!S("8ab3060e-2cba-4f23-b74c-b52db3bdfb46"));
423 assert(ctfe == id);
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dexpressionsem.c388 if (exp->ident == Id::ctfe) in visit()
397 VarDeclaration *vd = new VarDeclaration(exp->loc, Type::tbool, Id::ctfe, NULL); in visit()
6175 if (exp->e1->op == TOKvar && ((VarExp *)exp->e1)->var->ident == Id::ctfe) in visit()
H A Dexpression.c2461 if (v->ident == Id::ctfe) in checkPurity()
4413 if (var->ident == Id::ctfe) in toLvalue()
H A Ddinterpret.c2092 if (v->ident == Id::ctfe) in getVarExp()
H A Dmtype.c7128 if (ident == Id::ctfe) in resolve()

12