Home
last modified time | relevance | path

Searched refs:strict_float (Results 1 – 21 of 21) sorted by relevance

/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/src/
H A DEmulateFloat16Math.cpp18 e = strict_float(e); in bfloat16_to_float32()
24 e = strict_float(e); in float32_to_bfloat16()
37 value = strict_float(value); in float16_to_float32()
53 Expr denorm = reinterpret(u32_t, strict_float(cast(f32_t, magnitude))) - 0x0c000000; in float16_to_float32()
61 Expr f32 = strict_float(reinterpret(f32_t, (cast(u32_t, sign) << 16) | exponent_mantissa)); in float16_to_float32()
70 value = strict_float(value); in float32_to_float16()
91 …Expr denorm_bits = cast(u16_t, strict_float(round(strict_float(reinterpret(f32_t, bits + 0x0c00000… in float32_to_float16()
H A DStrictifyFloat.cpp21 if (call->is_intrinsic(Call::strict_float)) { in visit()
43 return strict_float(e); in mutate()
H A DSimplify_Call.cpp85 if (op->is_intrinsic(Call::strict_float)) { in visit()
91 return strict_float(arg); in visit()
H A DCodeGen_LLVM.h545 bool strict_float; variable
H A DIROperator.cpp1973 x = strict_float(x); in is_nan()
1990 x = strict_float(x); in is_inf()
2007 x = strict_float(x); in is_finite()
2281 Expr strict_float(Expr e) { in strict_float() function
2283 return Internal::Call::make(t, Internal::Call::strict_float, in strict_float()
H A DIR.h547 strict_float, enumerator
H A DLICM.cpp88 if (call->is_intrinsic(Call::strict_float) || in should_lift()
H A DIROperator.h1368 Expr strict_float(Expr e);
H A DCodeGen_C.cpp2308 } else if (op->is_intrinsic(Call::strict_float)) { in visit()
H A DBounds.cpp983 if (op->is_intrinsic(Call::strict_float)) { in visit()
2317 call->is_intrinsic(Call::strict_float))) { in visit()
H A DCodeGen_LLVM.cpp297 strict_float(t.has_feature(Target::StrictFloat)) { in CodeGen_LLVM()
3236 } else if (op->is_intrinsic(Call::strict_float)) { in visit()
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/test/correctness/
H A Disnan.cpp81 f(x, y) = strict_float(select(is_nan(e), 0.0f, 1.0f)); in main()
120 f(x, y) = strict_float(select(is_inf(e), 1.0f, 0.0f)); in main()
159 f(x, y) = strict_float(select(is_finite(e), 1.0f, 0.0f)); in main()
200 f(x, y) = strict_float(select(is_nan(e), 0.0f, 1.0f)); in main()
241 f(x, y) = strict_float(select(is_inf(e), 1.0f, 0.0f)); in main()
282 f(x, y) = strict_float(select(is_finite(e), 1.0f, 0.0f)); in main()
H A Dinline_reduction.cpp158 result_f32 = evaluate<float>(minimum(strict_float(RDom(1, 10) * inf_f32))); in main()
163 result_f64 = evaluate<double>(minimum(strict_float(RDom(1, 10) * Expr(inf_f64)))); in main()
168 result_f32 = evaluate<float>(maximum(strict_float(RDom(1, 10) * -inf_f32))); in main()
173 result_f64 = evaluate<double>(maximum(strict_float(RDom(1, 10) * Expr(-inf_f64)))); in main()
H A Dinteger_powers.cpp21 Expr xf = strict_float(x / 256.0f); in main()
H A Dstrict_float.cpp107 return strict_float(x); in apply_strictness()
/dports/devel/csmith/csmith-2.3.0/src/
H A DCGOptions.h259 static bool strict_float(void);
260 static bool strict_float(bool p);
H A DCGOptions.cpp143 DEFINE_GETTER_SETTER_BOOL(strict_float)
264 strict_float(false); in set_default_settings()
H A DStatementAssign.cpp193 if (CGOptions::strict_float()) { in make_random()
H A DRandomProgramGenerator.cpp799 CGOptions::strict_float(true); in main()
H A DType.cpp1492 else if (CGOptions::strict_float() && in is_convertable()
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/python_bindings/src/
H A DPyIROperator.cpp187 m.def("strict_float", &strict_float); in define_operators()