| /llvm-project-15.0.7/libclc/generic/lib/math/ |
| H A D | erf.cl | 109 _CLC_OVERLOAD _CLC_DEF float erf(float x) { 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) 215 * point of erf(x) is near 0.6174 (i.e., erf(x)=x when x is 226 * erf(1+s) = erf(1) + s*Poly(s) 237 * erf(x) = 1 - erfc(x) 275 * erf(0) = 0, erf(inf) = 1, erf(-inf) = -1, [all …]
|
| H A D | erfc.cl | 187 /* double erf(double x) 191 * erf(x) = --------- | exp(-t*t)dt 195 * erfc(x) = 1-erf(x) 197 * erf(-x) = -erf(x) 202 * erf(x) = x + x*R(x^2) 216 * point of erf(x) is near 0.6174 (i.e., erf(x)=x when x is 227 * erf(1+s) = erf(1) + s*Poly(s) 238 * erf(x) = 1 - erfc(x) 248 * erf(x) = sign(x)*(1.0 - tiny) 276 * erf(0) = 0, erf(inf) = 1, erf(-inf) = -1, [all …]
|
| /llvm-project-15.0.7/mlir/test/mlir-cpu-runner/ |
| H A D | math-polynomial-approx.mlir | 158 func.func @erf() { 161 %erfVal1 = math.erf %val1 : f32 166 %erfVal2 = math.erf %val2 : f32 171 %erfVal3 = math.erf %val3 : f32 176 %erfVal4 = math.erf %val4 : f32 181 %erfVal5 = math.erf %val5 : f32 186 %erfVal6 = math.erf %val6 : f32 191 %erfVal7 = math.erf %val7 : f32 216 %erfInf = math.erf %inf : f32 221 %erfNan = math.erf %nan : f32 [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/Math/ |
| H A D | ops.mlir | 53 // CHECK-LABEL: func @erf( 55 func.func @erf(%f: f32, %v: vector<4xf32>, %t: tensor<4x4x?xf32>) { 56 // CHECK: %{{.*}} = math.erf %[[F]] : f32 57 %0 = math.erf %f : f32 58 // CHECK: %{{.*}} = math.erf %[[V]] : vector<4xf32> 59 %1 = math.erf %v : vector<4xf32> 60 // CHECK: %{{.*}} = math.erf %[[T]] : tensor<4x4x?xf32> 61 %2 = math.erf %t : tensor<4x4x?xf32>
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | ocl-ops.mlir | 25 // CHECK: {{%.*}} = spv.CL.erf {{%.*}} : f32 26 %10 = spv.CL.erf %arg0 : f32
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | __clang_cuda_math_forward_declares.h | 57 __DEVICE__ double erf(double); 58 __DEVICE__ float erf(float); 213 using ::erf;
|
| H A D | __clang_cuda_cmath.h | 253 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, erf) 380 using ::erf;
|
| H A D | __clang_hip_cmath.h | 217 __DEF_FUN1(float, erf) 493 __HIP_OVERLOAD1(double, erf) 663 using ::erf;
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/ |
| H A D | type-promotion-in-math-fn.cpp | 18 double erf(double); 104 erf(a); in check_all_fns()
|
| /llvm-project-15.0.7/libclc/generic/include/clc/math/ |
| H A D | erf.h | 4 #define __CLC_FUNCTION erf
|
| /llvm-project-15.0.7/mlir/test/Conversion/MathToLibm/ |
| H A D | convert-to-libm.mlir | 5 // CHECK-DAG: @erf(f64) -> f64 110 %float_result = math.erf %float : f32 111 // CHECK-DAG: %[[DOUBLE_RESULT:.*]] = call @erf(%[[DOUBLE]]) : (f64) -> f64 112 %double_result = math.erf %double : f64 129 %float_result = math.erf %float : vector<2xf32> 131 // CHECK: %[[OUT0_F64:.*]] = call @erf(%[[IN0_F64]]) : (f64) -> f64 134 // CHECK: %[[OUT1_F64:.*]] = call @erf(%[[IN1_F64]]) : (f64) -> f64 136 %double_result = math.erf %double : vector<2xf64>
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cmath | 36 double erf(double); 37 float erf(float); 173 using ::erf;
|
| H A D | math.h | 39 double erf(double __a);
|
| /llvm-project-15.0.7/mlir/test/Conversion/MathToSPIRV/ |
| H A D | math-to-opencl-spirv.mlir | 35 // CHECK: spv.CL.erf %{{.*}}: f32 36 %12 = math.erf %arg0 : f32
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVCLOps.td | 179 def SPV_CLErfOp : SPV_CLUnaryArithmeticOp<"erf", 18, SPV_Float> { 196 erf-op ::= ssa-id `=` `spv.CL.erf` ssa-use `:` 203 %2 = spv.CL.erf %0 : f32 204 %3 = spv.CL.erf %1 : vector<3xf16>
|
| /llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/ |
| H A D | cmath | 47 __DEVICE__ float erf(float __x) { return ::erff(__x); } 102 __DEVICE__ float erf(float __x) { return ::erff(__x); }
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | math_h.pass.cpp | 71 Ambiguous erf(Ambiguous){ return Ambiguous(); } in erf() function 892 static_assert((std::is_same<decltype(erf((float)0)), float>::value), ""); in test_erf() 893 static_assert((std::is_same<decltype(erf((bool)0)), double>::value), ""); in test_erf() 895 static_assert((std::is_same<decltype(erf((int)0)), double>::value), ""); in test_erf() 896 static_assert((std::is_same<decltype(erf((unsigned int)0)), double>::value), ""); in test_erf() 897 static_assert((std::is_same<decltype(erf((long)0)), double>::value), ""); in test_erf() 898 static_assert((std::is_same<decltype(erf((unsigned long)0)), double>::value), ""); in test_erf() 899 static_assert((std::is_same<decltype(erf((long long)0)), double>::value), ""); in test_erf() 901 static_assert((std::is_same<decltype(erf((double)0)), double>::value), ""); in test_erf() 905 static_assert((std::is_same<decltype(erf(Ambiguous())), Ambiguous>::value), ""); in test_erf() [all …]
|
| /llvm-project-15.0.7/libclc/clspv/lib/ |
| H A D | SOURCES | 23 ../../generic/lib/math/erf.cl
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | libcall-declarations.c | 70 double erf(double); 276 F(erf), F(erff), F(erfl), F(erfc), F(erfcf),
|
| H A D | math-libcalls.c | 181 erf(f); erff(f); erfl(f); in foo()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ScalarFuncs.def | 61 TLI_DEFINE_SCALAR_MASS_FUNC("erf", "__xl_erf")
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/c.math/ |
| H A D | cmath.pass.cpp | 72 Ambiguous erf(Ambiguous){ return Ambiguous(); } in erf() function 923 static_assert((std::is_same<decltype(std::erf((float)0)), float>::value), ""); in test_erf() 924 static_assert((std::is_same<decltype(std::erf((bool)0)), double>::value), ""); in test_erf() 926 static_assert((std::is_same<decltype(std::erf((int)0)), double>::value), ""); in test_erf() 927 static_assert((std::is_same<decltype(std::erf((unsigned int)0)), double>::value), ""); in test_erf() 928 static_assert((std::is_same<decltype(std::erf((long)0)), double>::value), ""); in test_erf() 929 static_assert((std::is_same<decltype(std::erf((unsigned long)0)), double>::value), ""); in test_erf() 930 static_assert((std::is_same<decltype(std::erf((long long)0)), double>::value), ""); in test_erf() 932 static_assert((std::is_same<decltype(std::erf((double)0)), double>::value), ""); in test_erf() 936 static_assert((std::is_same<decltype(erf(Ambiguous())), Ambiguous>::value), ""); in test_erf() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Math/IR/ |
| H A D | MathOps.td | 319 def Math_ErfOp : Math_FloatUnaryOp<"erf"> { 325 operation ::= ssa-id `=` `math.erf` ssa-use `:` type 328 The `erf` operation computes the error function. It takes one operand of 336 %a = math.erf %b : f64
|
| /llvm-project-15.0.7/libclc/spirv/lib/ |
| H A D | SOURCES | 36 ../../generic/lib/math/erf.cl
|
| /llvm-project-15.0.7/libclc/spirv64/lib/ |
| H A D | SOURCES | 36 ../../generic/lib/math/erf.cl
|