| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | constfold.c | 79 new(&ue) RealExp(loc, -e1->toReal(), type); in Neg() 129 new(&ue) RealExp(loc, e1->toReal() + e2->toReal(), type); in Add() 152 r1 = e1->toReal(); in Add() 168 r2 = e2->toReal(); in Add() 239 new(&ue) RealExp(loc, e1->toReal() - e2->toReal(), type); in Min() 262 r1 = e1->toReal(); in Min() 278 r2 = e2->toReal(); in Min() 349 r = e1->toReal(); in Mul() 361 r = e2->toReal(); in Mul() 405 new(&ue) RealExp(loc, e1->toReal() / e2->toReal(), type); in Div() [all …]
|
| H A D | optimize.c | 830 (e->e1->op == TOKfloat64 && e->e1->toReal() == CTFloat::one)) in Expression_optimize() 849 (e->e2->op == TOKfloat64 && e->e2->toReal() == CTFloat::zero)) in Expression_optimize() 863 (e->e2->op == TOKfloat64 && e->e2->toReal() == CTFloat::one)) in Expression_optimize() 870 if ((e->e2->op == TOKfloat64 && e->e2->toReal() == CTFloat::minusone)) in Expression_optimize() 886 … if (e->e2->op == TOKfloat64 && (e->e2->toReal() == ldouble((sinteger_t)e->e2->toReal()))) in Expression_optimize()
|
| H A D | ctfeexpr.c | 1286 r1 = e1->toReal(); in ctfeRawCmp() 1287 r2 = e2->toReal(); in ctfeRawCmp() 1415 cmp = RealEquals(e1->toReal(), e2->toReal()); in ctfeIdentity() 1442 return realCmp(op, e1->toReal(), e2->toReal()); in ctfeCmp()
|
| H A D | expression.h | 156 virtual real_t toReal(); 234 real_t toReal(); 265 real_t toReal(); 282 real_t toReal();
|
| H A D | expression.c | 2160 real_t Expression::toReal() in toReal() function 2946 real_t IntegerExp::toReal() in toReal() function 2963 return (complex_t)toReal(); in toComplex() 3016 return (sinteger_t) toReal(); in toInteger() 3021 return (uinteger_t) toReal(); in toUInteger() 3024 real_t RealExp::toReal() in toReal() function 3036 return complex_t(toReal(), toImaginary()); in toComplex() 3088 return (sinteger_t) toReal(); in toInteger() 3093 return (uinteger_t) toReal(); in toUInteger() 3096 real_t ComplexExp::toReal() in toReal() function
|
| H A D | dmangle.c | 688 realToMangleBuffer(e->toReal()); in visit()
|
| H A D | expressionsem.c | 7139 …else if (exp->e2->op == TOKfloat64 && (exp->e2->toReal() == ldouble((sinteger_t)exp->e2->toReal())… in visit() 7140 intpow = (sinteger_t)(exp->e2->toReal()); in visit() 7180 if (exp->e2->op == TOKfloat64 && exp->e2->toReal() == CTFloat::half) in visit()
|
| H A D | dtemplate.c | 407 return mixHash(CTFloat::hash(ce->toReal()), CTFloat::hash(ce->toImaginary())); in expressionHash()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | constfold.d | 94 emplaceExp!(RealExp)(&ue, loc, -e1.toReal(), type); in Neg() 139 emplaceExp!(RealExp)(&ue, loc, e1.toReal() + e2.toReal(), type); in Add() 159 r1 = e1.toReal(); in Add() 174 r2 = e2.toReal(); in Add() 240 emplaceExp!(RealExp)(&ue, loc, e1.toReal() - e2.toReal(), type); in Min() 260 r1 = e1.toReal(); in Min() 275 r2 = e2.toReal(); in Min() 342 r = e1.toReal(); in Mul() 354 r = e2.toReal(); in Mul() 392 emplaceExp!(RealExp)(&ue, loc, e1.toReal() / e2.toReal(), type); in Div() [all …]
|
| H A D | expression.h | 102 virtual real_t toReal(); 253 real_t toReal(); 284 real_t toReal(); 301 real_t toReal();
|
| H A D | ctfeexpr.d | 1269 real_t r1 = e1.type.isreal() ? e1.toReal() : e1.toImaginary(); 1270 real_t r2 = e1.type.isreal() ? e2.toReal() : e2.toImaginary(); 1402 cmp = CTFloat.isIdentical(e1.toReal(), e2.toReal()); in ctfeIdentity() 1429 return realCmp(op, e1.toReal(), e2.toReal()); in ctfeCmp()
|
| H A D | dstruct.d | 594 return (exp.toReal() is CTFloat.zero) && in _isZeroInit()
|
| H A D | expression.d | 949 real_t toReal() in toReal() function 1833 override real_t toReal() in toReal() function 1851 return complex_t(toReal()); in toComplex() 2104 return cast(sinteger_t)toReal(); in toInteger() 2109 return cast(uinteger_t)toReal(); in toUInteger() 2112 override real_t toReal() in toReal() function 2124 return complex_t(toReal(), toImaginary()); in toComplex() 2180 return cast(sinteger_t)toReal(); in toInteger() 2185 return cast(uinteger_t)toReal(); in toUInteger() 2188 override real_t toReal() in toReal() function
|
| H A D | optimize.d | 1035 if (e.e2.op == EXP.float64 && e.e2.toReal() == real_t(cast(sinteger_t)e.e2.toReal())) in Expression_optimize()
|
| H A D | dmangle.d | 864 realToMangleBuffer(buf, e.toReal()); in visit()
|
| H A D | dtemplate.d | 432 return mixHash(CTFloat.hash(ce.toReal), CTFloat.hash(ce.toImaginary)); in expressionHash()
|
| H A D | expressionsem.d | 11013 if (exp.e2.op == EXP.float64 && exp.e2.toReal() == CTFloat.half) in visit()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
| H A D | d-compiler.cc | 52 cst = build_float_cst (expr->toReal (), expr->type); in paintAsType() 71 tree value = build_float_cst (e->toReal (), e->type); in paintAsType()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
| H A D | d-frontend.cc | 460 cst = build_float_cst (expr->toReal (), expr->type); in paintAsType() 479 tree value = build_float_cst (e->toReal (), e->type); in paintAsType()
|