Home
last modified time | relevance | path

Searched full:erf (Results 1 – 25 of 112) sorted by relevance

12345

/llvm-project/libclc/generic/lib/math/
H A Derf.cl40 // Coefficients for approximation to erf on [00.84375]
56 // Coefficients for approximation to erf in [0.843751.25]
108 _CLC_OVERLOAD _CLC_DEF float erf(float x) {
168 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, erf, float);
185 /* double erf(double x)
189 * erf(x) = --------- | exp(-t*t)dt
193 * erfc(x) = 1-erf(x)
195 * erf(-x) = -erf(x)
200 * erf(
[all...]
H A Derfc.cl40 // Coefficients for approximation to erf on [00.84375]
56 // Coefficients for approximation to erf in [0.843751.25]
186 /* double erf(double x)
190 * erf(x) = --------- | exp(-t*t)dt
194 * erfc(x) = 1-erf(x)
196 * erf(-x) = -erf(x)
201 * erf(x) = x + x*R(x^2)
202 * erfc(x) = 1 - erf(x) if x in [-.84375,0.25]
207 * | R - (erf(
[all...]
/llvm-project/flang/test/Lower/math-lowering/
H A Derf.f9010 test_real4 = erf(x)
14 ! FAST: {{%[A-Za-z0-9._]+}} = math.erf {{%[A-Za-z0-9._]+}} {{.*}}: f32
15 ! RELAXED: {{%[A-Za-z0-9._]+}} = math.erf {{%[A-Za-z0-9._]+}} {{.*}}: f32
20 test_real8 = erf(x)
24 ! FAST: {{%[A-Za-z0-9._]+}} = math.erf {{%[A-Za-z0-9._]+}} {{.*}}: f64
25 ! RELAXED: {{%[A-Za-z0-9._]+}} = math.erf {{%[A-Za-z0-9._]+}} {{.*}}: f64
26 ! PRECISE: {{%[A-Za-z0-9._]+}} = fir.call @erf({{%[A-Za-z0-9._]+}}) {{.*}}: (f64) -> f64
29 ! PRECISE-DAG: func.func private @erf(f64) -> f64 attributes {fir.bindc_name = "erf", fir.runtime}
/llvm-project/llvm/test/Transforms/InstCombine/
H A Dmath-odd-even-parity.ll4 declare double @erf(double)
10 ; Check odd parity: -erf(-x) == erf(x)
14 ; CHECK-NEXT: [[RES:%.*]] = tail call reassoc double @erf(double [[X]])
18 %res = tail call reassoc double @erf(double %neg_x)
41 ; CHECK-NEXT: [[RES:%.*]] = call double @erf(double [[NEG_X]])
47 %res = call double @erf(double %neg_x)
/llvm-project/libcxx/include/__math/
H A Derror_functions.h24 // erf
26 inline _LIBCPP_HIDE_FROM_ABI float erf(float __x) _NOEXCEPT { return __builtin_erff(__x); } in erf() function
29 _LIBCPP_HIDE_FROM_ABI double erf(double __x) _NOEXCEPT { in erf() function
33 inline _LIBCPP_HIDE_FROM_ABI long double erf(long double __x) _NOEXCEPT { return __builtin_erfl(__x… in erf() function
36 inline _LIBCPP_HIDE_FROM_ABI double erf(_A1 __x) _NOEXCEPT { in erf() function
/llvm-project/libc/test/src/math/
H A Derff_test.cpp39 EXPECT_MPFR_MATCH_ALL_ROUNDING(mpfr::Operation::Erf, x, in TEST_F()
41 EXPECT_MPFR_MATCH_ALL_ROUNDING(mpfr::Operation::Erf, -x, in TEST_F()
75 if (!TEST_MPFR_MATCH_ROUNDING_SILENTLY(mpfr::Operation::Erf, x, result, in TEST_F()
78 while (!TEST_MPFR_MATCH_ROUNDING_SILENTLY(mpfr::Operation::Erf, x, in TEST_F()
90 EXPECT_MPFR_MATCH(mpfr::Operation::Erf, mx, mr, 0.5, rounding_mode); in TEST_F()
/llvm-project/libc/src/math/nvptx/
H A Derf.cpp1 //===-- Implementation of the GPU erf function ----------------------------===//
9 #include "src/math/erf.h"
17 LLVM_LIBC_FUNCTION(double, erf, (double x)) { return __nv_erf(x); }
H A DCMakeLists.txt389 erf
391 erf.cpp
393 ../erf.h
/llvm-project/libc/src/math/amdgpu/
H A Derf.cpp1 //===-- Implementation of the GPU erf function ----------------------------===//
9 #include "src/math/erf.h"
17 LLVM_LIBC_FUNCTION(double, erf, (double x)) { return __ocml_erf_f64(x); }
H A DCMakeLists.txt436 erf
438 erf.cpp
440 ../erf.h
/llvm-project/libc/src/math/
H A Derf.h1 //===-- Implementation header for erf ---------------------------*- C++ -*-===//
16 double erf(double x);
/llvm-project/flang/runtime/Float128Math/
H A Dmath-entries.h76 DEFINE_FALLBACK_F128(Erf)
126 DEFINE_SIMPLE_ALIAS(Erf, erfq)
182 DEFINE_SIMPLE_ALIAS(Erf, std::erf)
H A Derf.cpp1 //===-- runtime/Float128Math/erf.cpp --------------------------------------===//
17 return Erf<true>::invoke(x); in RTDEF()
/llvm-project/mlir/test/Dialect/Math/
H A Dops.mlir65 // CHECK-LABEL: func @erf(
67 func.func @erf(%f: f32, %v: vector<4xf32>, %t: tensor<4x4x?xf32>) {
68 // CHECK: %{{.*}} = math.erf %[[F]] : f32
69 %0 = math.erf %f : f32
70 // CHECK: %{{.*}} = math.erf %[[V]] : vector<4xf32>
71 %1 = math.erf %v : vector<4xf32>
72 // CHECK: %{{.*}} = math.erf %[[T]] : tensor<4x4x?xf32>
73 %2 = math.erf %t : tensor<4x4x?xf32>
/llvm-project/clang/test/Headers/Inputs/include/
H A Dcmath36 double erf(double);
37 float erf(float);
173 using ::erf;
/llvm-project/libc/src/math/generic/
H A Derff.cpp1 //===-- Single-precision erf(x) function ----------------------------------===//
20 // Polynomials approximating erf(x)/x on ( k/8, (k + 1)/8 ) generated by Sollya
22 // > P = fpminimax(erf(x)/x, [|0, 2, 4, 6, 8, 10, 12, 14|], [|D...|],
160 // erf(x) ~ x * (c0 + c1 * x^2 + c2 * x^4 + ... + c7 * x^14)
/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h57 __DEVICE__ double erf(double);
58 __DEVICE__ float erf(float);
213 using ::erf;
/llvm-project/mlir/test/Target/SPIRV/
H A Docl-ops.mlir25 // CHECK: {{%.*}} = spirv.CL.erf {{%.*}} : f32
26 %10 = spirv.CL.erf %arg0 : f32
/llvm-project/flang/test/Evaluate/
H A Dfolding02.f9060 TEST_R4(erf, erf(1._4), 0.842700779438018798828125_4)
100 TEST_R8(erf, erf(1._8), &
/llvm-project/libclc/generic/include/clc/math/
H A Derf.h4 #define __CLC_FUNCTION erf
/llvm-project/clang/lib/Headers/openmp_wrappers/
H A Dcmath47 __DEVICE__ float erf(float __x) { return ::erff(__x); }
102 __DEVICE__ float erf(float __x) { return ::erff(__x); }
/llvm-project/mlir/utils/tree-sitter-mlir/dialect/
H A Dmath.js20 // operation ::= `math.erf` $operand (`fastmath` ``
72 'math.ceil', 'math.cos', 'math.erf', 'math.exp',
/llvm-project/flang/test/Lower/Intrinsics/
H A Derf_real16.f908 b = erf(a)
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dtype-promotion-in-math-fn.cpp18 double erf(double);
104 erf(a); in check_all_fns()
105 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: call to 'erf' in check_all_fns()
106 // CHECK-FIXES: {{^}} std::erf(a);{{$}} in check_all_fns()
/llvm-project/libc/test/src/math/exhaustive/
H A Derff_test.cpp16 LlvmLibcUnaryOpExhaustiveMathTest<float, mpfr::Operation::Erf,

12345