Home
last modified time | relevance | path

Searched refs:constOf (Results 1 – 24 of 24) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Druntime.cc153 libcall_types[type] = Type::dtypeinfo->type->constOf (); in get_libcall_type()
157 libcall_types[type] = Type::typeinfoclass->type->constOf (); in get_libcall_type()
H A Dexpr.cc2220 gcc_assert (e->type == Type::tvoid->arrayOf ()->constOf ()); in visit()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Druntime.cc152 libcall_types[type] = Type::dtypeinfo->type->constOf (); in get_libcall_type()
156 libcall_types[type] = Type::typeinfoclass->type->constOf (); in get_libcall_type()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dopover.c894 if (t1n->constOf() != t2n->constOf()) in op_overload()
978 e1x = new CastExp(e->loc, e->e1, t1->isMutable() ? to : to->constOf()); in op_overload()
980 e2x = new CastExp(e->loc, e->e2, t2->isMutable() ? to : to->constOf()); in op_overload()
H A Doptimize.c633 if (e->to->mutableOf()->constOf()->equals(e->e1->type->mutableOf()->constOf())) in Expression_optimize()
H A Dmtype.c356 Type *Type::constOf() in constOf() function
1002 t = unSharedOf()->constOf(); in castMod()
1071 t = constOf(); in addMod()
1971 t = t->constOf(); in substWildTo()
1976 t = t->constOf(); in substWildTo()
2657 t->next = next->constOf(); in makeConst()
4655 index = index->constOf()->mutableOf(); in semantic()
H A Ddcast.c1447 else if (t1b->implicitConvTo(tob) == MATCHconst && t->equals(e->type->constOf())) in castTo()
2795 t1 = t1n->constOf()->pointerTo(); in typeMerge()
2796 t2 = t2n->constOf()->pointerTo(); in typeMerge()
H A Dmtype.h277 Type *constOf();
H A Dclone.c426 case 1: tthis = ad->type->constOf(); break; in hasIdentityOpEquals()
H A Dexpressionsem.c2436 exp->msg = exp->msg->implicitCastTo(sc, Type::tchar->constOf()->arrayOf()); in visit()
6083 e2x->type = exp->e1->type->constOf(); in visit()
6086 e2x = e2x->castTo(sc, exp->e1->type->constOf()); in visit()
6097 e2x = e2x->implicitCastTo(sc, exp->e1->type->constOf()); in visit()
6747 Type *t1 = tb1next->mutableOf()->constOf()->arrayOf(); in visit()
6748 Type *t2 = tb2next->mutableOf()->constOf()->arrayOf(); in visit()
H A Ddtemplate.c3307 if (tt->implicitConvTo(at->constOf())) in deduceType()
3309 (*dedtypes)[i] = at->constOf()->mutableOf(); in deduceType()
3313 if (at->implicitConvTo(tt->constOf())) in deduceType()
3315 (*dedtypes)[i] = tt->constOf()->mutableOf(); in deduceType()
H A Dstatementsem.c2213 ss->condition->type = ss->condition->type->constOf(); in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddtoh.d374 case AST.Tchar: return AST.Type.tchar.constOf.pointerTo;
375 case AST.Twchar: return AST.Type.twchar.constOf.pointerTo;
376 case AST.Tdchar: return AST.Type.tdchar.constOf.pointerTo;
919 type = type.constOf();
H A Dmtype.h264 Type *constOf();
H A Dmtype.d1127 final Type constOf() in constOf() function
1786 t = unSharedOf().constOf(); in castMod()
1854 t = constOf(); in addMod()
2323 t = t.constOf(); in substWildTo()
2328 t = t.constOf(); in substWildTo()
2850 t.next = next.constOf(); in makeConst()
H A Dopover.d942 e1x = new CastExp(e.loc, e.e1, t1.isMutable() ? to : to.constOf()); in visitEqual()
944 e2x = new CastExp(e.loc, e.e2, t2.isMutable() ? to : to.constOf()); in visitEqual()
H A Ddcast.d1651 else if (t1b.implicitConvTo(tob) == MATCH.constant && t.equals(e.type.constOf())) in visit()
3069 t1 = t1n.constOf().pointerTo(); in typeMerge()
3070 t2 = t2n.constOf().pointerTo(); in typeMerge()
H A Dexpressionsem.d6352 exp.msg = exp.msg.implicitCastTo(sc, Type.tchar.constOf().arrayOf()); in visit()
9773 e2x.type = exp.e1.type.constOf(); in visit()
9776 e2x = e2x.castTo(sc, exp.e1.type.constOf()); in visit()
9788 e2x = e2x.implicitCastTo(sc, exp.e1.type.constOf()); in visit()
10636 Type t1 = tb1next.mutableOf().constOf().arrayOf(); in visit()
10637 Type t2 = tb2next.mutableOf().constOf().arrayOf(); in visit()
11713 if (t1n.constOf() != t2n.constOf()) in visit()
H A Dclone.d491 hasIt(ad.type.constOf()) || in hasIdentityOpEquals()
H A Ddtemplate.d3654 if (tt.implicitConvTo(at.constOf())) in visit()
3656 (*dedtypes)[i] = at.constOf().mutableOf(); in visit()
3660 if (at.implicitConvTo(tt.constOf())) in visit()
3662 (*dedtypes)[i] = tt.constOf().mutableOf(); in visit()
H A Dtraits.d1903 d.type = Type.tvoid.arrayOf().constOf(); in semanticTraits()
H A Ddsymbol.d1734 Parameters* p = new Parameter(STC.in_, Type.tchar.constOf().arrayOf(), null, null); in findGetMembers()
H A Dtypesem.d938 mtype.index = mtype.index.constOf().mutableOf(); in typeSemantic()
H A Dstatementsem.d2190 ss.condition.type = ss.condition.type.constOf(); in package()