| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | ctfe.h | 76 UnionExp voidInitLiteral(Type *t, VarDeclaration *var); 133 UnionExp copyLiteral(Expression *e); 137 Expression *paintTypeOntoLiteral(UnionExp *pue, Type *type, Expression *lit); 138 UnionExp paintTypeOntoLiteralCopy(Type *type, Expression *lit); 141 Expression *resolveSlice(Expression *e, UnionExp *pue = NULL); 147 ArrayLiteralExp *createBlockDuplicatedArrayLiteral(UnionExp *pue, Loc loc, Type *type, 151 StringExp *createBlockDuplicatedStringLiteral(UnionExp *pue, Loc loc, Type *type, 173 UnionExp changeArrayLiteralLength(Loc loc, TypeArray *arrayType, 197 UnionExp pointerDifference(Loc loc, Type *type, Expression *e1, Expression *e2); 205 UnionExp pointerArithmetic(Loc loc, TOK op, Type *type, [all …]
|
| H A D | constfold.c | 72 UnionExp Neg(Type *type, Expression *e1) in Neg() 74 UnionExp ue; in Neg() 96 UnionExp Com(Type *type, Expression *e1) in Com() 98 UnionExp ue; in Com() 105 UnionExp Not(Type *type, Expression *e1) in Not() 107 UnionExp ue; in Not() 114 UnionExp Bool(Type *type, Expression *e1) in Bool() 116 UnionExp ue; in Bool() 123 UnionExp Add(Loc loc, Type *type, Expression *e1, Expression *e2) in Add() 125 UnionExp ue; in Add() [all …]
|
| H A D | expression.h | 50 struct UnionExp; 730 typedef UnionExp (*fp_t)(Loc loc, Type *, Expression *, Expression *); 1489 struct UnionExp struct 1491 UnionExp() { } // yes, default constructor does nothing in UnionExp() function 1493 UnionExp(Expression *e) in UnionExp() function 1546 UnionExp Neg(Type *type, Expression *e1); argument 1547 UnionExp Com(Type *type, Expression *e1); 1548 UnionExp Not(Type *type, Expression *e1); 1549 UnionExp Bool(Type *type, Expression *e1); 1550 UnionExp Cast(Loc loc, Type *type, Type *to, Expression *e1); [all …]
|
| H A D | ctfeexpr.c | 127 UnionExp ue; in generateUncaughtError() 173 Expression *UnionExp::copy() in copy() 245 UnionExp copyLiteral(Expression *e) in copyLiteral() 247 UnionExp ue; in copyLiteral() 316 UnionExp uex; in copyLiteral() 341 new(&ue) UnionExp(e); in copyLiteral() 398 new(&ue) UnionExp(e); in copyLiteral() 419 Expression *paintTypeOntoLiteral(UnionExp *pue, Type *type, Expression *lit) in paintTypeOntoLiteral() 427 UnionExp paintTypeOntoLiteralCopy(Type *type, Expression *lit) in paintTypeOntoLiteralCopy() 429 UnionExp ue; in paintTypeOntoLiteralCopy() [all …]
|
| H A D | compiler.h | 22 struct UnionExp; 32 static Expression *paintAsType(UnionExp *, Expression *, Type *);
|
| H A D | dinterpret.c | 46 static Expression *interpret(UnionExp *pue, Expression *e, InterState *istate, CtfeGoal goal = ctfe… 47 static Expression *interpret(UnionExp *pue, Statement *s, InterState *istate); 267 static Expression *evaluateIfBuiltin(UnionExp *pue, InterState *istate, Loc loc, 752 static Expression *interpretFunction(UnionExp *pue, FuncDeclaration *fd, InterState *istate, Expres… in interpretFunction() 989 UnionExp *pue; // storage for `result` 991 Interpreter(UnionExp *pue, InterState *istate, CtfeGoal goal) in Interpreter() 1123 UnionExp ue; in visit() 1360 UnionExp ue; in visit() 1381 UnionExp ueinit; in visit() 1391 UnionExp ue; in visit() [all …]
|
| H A D | clone.c | 94 UnionExp er; new(&er) NullExp(ad->loc, ad->type); // dummy rvalue in hasIdentityOpAssign() 95 UnionExp el; new(&el) IdentifierExp(ad->loc, Id::p); // dummy lvalue in hasIdentityOpAssign() 416 UnionExp er; new(&er) NullExp(ad->loc, NULL); // dummy rvalue in hasIdentityOpEquals() 417 UnionExp el; new(&el) IdentifierExp(ad->loc, Id::p); // dummy lvalue in hasIdentityOpEquals()
|
| H A D | optimize.c | 757 void shift_optimize(BinExp *e, UnionExp (*shift)(Loc, Type *, Expression *, Expression *)) in Expression_optimize()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | constfold.d | 78 void cantExp(out UnionExp ue) in cantExp() 88 UnionExp Neg(Type type, Expression e1) in Neg() 90 UnionExp ue = void; in Neg() 111 UnionExp Com(Type type, Expression e1) in Com() 113 UnionExp ue = void; in Com() 119 UnionExp Not(Type type, Expression e1) in Not() 121 UnionExp ue = void; in Not() 130 UnionExp Add(const ref Loc loc, Type type, Expression e1, Expression e2) in Add() 132 UnionExp ue = void; in Add() 235 UnionExp Min(const ref Loc loc, Type type, Expression e1, Expression e2) in Min() [all …]
|
| H A D | compiler.h | 23 struct UnionExp; 33 static Expression *paintAsType(UnionExp *, Expression *, Type *);
|
| H A D | dinterpret.d | 425 private Expression interpretFunction(UnionExp* pue, FuncDeclaration fd, InterState* istate, Express… in interpretFunction() 747 UnionExp* pue; // storage for `result` 749 extern (D) this(UnionExp* pue, InterState* istate, CTFEGoal goal) in this() 909 UnionExp ue = void; in visit() 1171 UnionExp ue = void; in visit() 1197 UnionExp ueinit = void; in visit() 1207 UnionExp ue = void; in visit() 1250 UnionExp uei = void; in visit() 1300 UnionExp uecond = void; in visit() 1309 UnionExp uecase = void; in visit() [all …]
|
| H A D | ctfeexpr.d | 147 UnionExp ue = void; in generateUncaughtError() 280 UnionExp copyLiteral(Expression e) in copyLiteral() 282 UnionExp ue = void; in copyLiteral() 364 emplaceExp!(UnionExp)(&ue, e); in copyLiteral() 419 emplaceExp!(UnionExp)(&ue, e); in copyLiteral() 439 Expression paintTypeOntoLiteral(UnionExp* pue, Type type, Expression lit) in paintTypeOntoLiteral() 447 private UnionExp paintTypeOntoLiteralCopy(Type type, Expression lit) in paintTypeOntoLiteralCopy() 449 UnionExp ue; in paintTypeOntoLiteralCopy() 452 emplaceExp!(UnionExp)(&ue, lit); in paintTypeOntoLiteralCopy() 458 emplaceExp!(UnionExp)(&ue, lit); in paintTypeOntoLiteralCopy() [all …]
|
| H A D | expression.h | 41 struct UnionExp; 250 static void emplace(UnionExp *pue, const Loc &loc, dinteger_t value, Type *type); 280 static void emplace(UnionExp *pue, const Loc &loc, real_t value, Type *type); 297 static void emplace(UnionExp *pue, const Loc &loc, complex_t value, Type *type); 377 static void emplace(UnionExp *pue, const Loc &loc, const char *s); 422 static void emplace(UnionExp *pue, const Loc &loc, Expressions *elements); 911 static void emplace(UnionExp *pue, const Loc &loc, Expression *e, Type *t); 1347 struct UnionExp struct 1349 UnionExp() { } // yes, default constructor does nothing in UnionExp() argument 1351 UnionExp(Expression *e) in UnionExp() argument
|
| H A D | compiler.d | 41 extern (C++) static Expression paintAsType(UnionExp* pue, Expression e, Type type);
|
| H A D | expression.d | 86 void emplaceExp(T : UnionExp)(T* p, Expression e) 528 extern (C++) struct UnionExp struct 1808 static void emplace(UnionExp* pue, const ref Loc loc, dinteger_t value, Type type) in emplace() 2083 static void emplace(UnionExp* pue, const ref Loc loc, real_t value, Type type) in emplace() 2159 static void emplace(UnionExp* pue, const ref Loc loc, complex_t value, Type type) in emplace() 2468 static void emplace(UnionExp* pue, const ref Loc loc, const(char)* s) in emplace() 2473 extern (D) static void emplace(UnionExp* pue, const ref Loc loc, const(void)[] string) in emplace() 2478 …extern (D) static void emplace(UnionExp* pue, const ref Loc loc, const(void)[] string, size_t len,… in emplace() 2968 static void emplace(UnionExp* pue, const ref Loc loc, Expressions* elements) in emplace() 4282 alias fp_t = UnionExp function(const ref Loc loc, Type, Expression, Expression); [all …]
|
| H A D | optimize.d | 962 …extern (D) void shift_optimize(BinExp e, UnionExp function(const ref Loc, Type, Expression, Expres… in Expression_optimize()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
| H A D | d-compiler.cc | 41 Compiler::paintAsType (UnionExp *, Expression *expr, Type *type) in paintAsType() argument
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
| H A D | d-frontend.cc | 449 Compiler::paintAsType (UnionExp *, Expression *expr, Type *type) in paintAsType() argument
|