| /llvm-project-15.0.7/libclc/generic/lib/math/ |
| H A D | atan.cl | 28 _CLC_OVERLOAD _CLC_DEF float atan(float x) 43 // 2^26 <= |x| <= Inf => atan(x) is close to piby2 50 float c = 1.57079632679489655800f; // atan(infinity) 56 c = l ? 9.82793723247329054082e-01f : c; // atan(1.5) 62 c = l ? 7.85398163397448278999e-01f : c; // atan(1) 68 c = l ? 4.63647609000806093515e-01f : c; // atan(0.5) 98 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, atan, float); 105 _CLC_OVERLOAD _CLC_DEF double atan(double x) 181 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, double, atan, double);
|
| H A D | atanpi.cl | 43 // 2^26 <= |x| <= Inf => atan(x) is close to piby2 50 float c = 1.57079632679489655800f; // atan(infinity) 56 c = l ? 9.82793723247329054082e-01f : c; // atan(1.5) 62 c = l ? 7.85398163397448278999e-01f : c; // atan(1) 68 c = l ? 4.63647609000806093515e-01f : c; // atan(0.5)
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/ |
| H A D | vectorizeVFone.ll | 8 ; CHECK-NOT: call fast <{{[0-9]+}} x double> @{{.*}}atan(<{{[0-9]+}} x double> %{{[0-9]+}}) 17 %call10 = tail call fast double @atan(double %_15) #0 26 declare double @atan(double) local_unnamed_addr
|
| /llvm-project-15.0.7/mlir/test/Dialect/Math/ |
| H A D | ops.mlir | 4 // CHECK-LABEL: func @atan( 6 func.func @atan(%f: f32, %v: vector<4xf32>, %t: tensor<4x4x?xf32>) { 7 // CHECK: %{{.*}} = math.atan %[[F]] : f32 8 %0 = math.atan %f : f32 9 // CHECK: %{{.*}} = math.atan %[[V]] : vector<4xf32> 10 %1 = math.atan %v : vector<4xf32> 11 // CHECK: %{{.*}} = math.atan %[[T]] : tensor<4x4x?xf32> 12 %2 = math.atan %t : tensor<4x4x?xf32>
|
| /llvm-project-15.0.7/mlir/test/mlir-cpu-runner/ |
| H A D | math-polynomial-approx.mlir | 388 func.func @atan() { 391 %atan_0 = math.atan %0 : f32 396 %atan_1 = math.atan %1 : f32 401 %atan_2 = math.atan %2 : f32 406 %atan_3 = math.atan %3 : f32 411 %atan_4 = math.atan %4 : f32 416 %atan_5 = math.atan %5 : f32 421 %atan_6 = math.atan %6 : f32 511 call @atan() : () -> ()
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
| H A D | atan.pass.cpp | 25 assert(atan(c) == x); in test() 40 std::complex<double> r = atan(testcases[i]); in test_edges()
|
| /llvm-project-15.0.7/mlir/test/Conversion/MathToLibm/ |
| H A D | convert-to-libm.mlir | 3 // CHECK-DAG: @atan(f64) -> f64 29 %float_result = math.atan %float : f32 30 // CHECK: %[[DOUBLE_RESULT:.*]] = call @atan(%[[DOUBLE]]) : (f64) -> f64 31 %double_result = math.atan %double : f64 35 %half_result = math.atan %half : f16 39 %bfloat_result = math.atan %bfloat : bf16 56 // CHECK: %[[OUT0_F64:.*]] = call @atan(%[[IN0_F64]]) : (f64) -> f64 59 // CHECK: %[[OUT1_F64:.*]] = call @atan(%[[IN1_F64]]) : (f64) -> f64 64 %float_result = math.atan %float : vector<2xf32> 65 %double_result = math.atan %double : vector<2xf64>
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | __clang_cuda_math_forward_declares.h | 41 __DEVICE__ double atan(double); 42 __DEVICE__ float atan(float); 205 using ::atan;
|
| H A D | __clang_cuda_cmath.h | 47 __DEVICE__ float atan(float __x) { return ::atanf(__x); } in atan() function 245 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, atan) 372 using ::atan;
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/ |
| H A D | type-promotion-in-math-fn.cpp | 10 double atan(double); 83 atan(a); in check_all_fns()
|
| /llvm-project-15.0.7/libclc/generic/include/clc/math/ |
| H A D | atan.h | 24 #define __CLC_FUNCTION atan
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/ |
| H A D | atan_valarray.pass.cpp | 36 std::valarray<T> v3 = atan(v1); in main()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ConstProp/ |
| H A D | math-1.ll | 22 declare double @atan(double) #0 25 ; CHECK-NEXT: [[RES:%.*]] = tail call fast double @atan(double 1.000000e+00) 28 %res = tail call fast double @atan(double 1.0)
|
| H A D | calls.ll | 6 declare double @atan(double) readnone nounwind willreturn 71 %3 = call double @atan(double 3.000000e+00)
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cmath | 20 double atan(double); 21 float atan(float); 165 using ::atan;
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | libcalls.c | 85 double atan_ = atan(d); in test_builtins()
|
| H A D | libcall-declarations.c | 52 double atan(double); 272 F(asinhf), F(asinhl), F(atan), F(atanf), F(atanl),
|
| /llvm-project-15.0.7/clang/test/Headers/ |
| H A D | nvptx_device_math_complex.cpp | 65 r = std::atan(r); in test_template_math_calls()
|
| H A D | amdgcn-openmp-device-math-complex.cpp | 63 r = std::atan(r); in test_template_math_calls()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | win-math.ll | 38 declare double @atan(double %x) 42 ; MSVCXX: double @atan 44 ; MSVC19: double @atan 46 %2 = call double @atan(double %1)
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.cauchy/ |
| H A D | eval.pass.cpp | 28 return 1/3.1415926535897932 * std::atan((x - a)/b) + .5; in f()
|
| H A D | eval_param.pass.cpp | 28 return 1/3.1415926535897932 * std::atan((x - a)/b) + .5; in f()
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | math_h.pass.cpp | 36 Ambiguous atan(Ambiguous){ return Ambiguous(); } in atan() function 179 static_assert((std::is_same<decltype(atan((float)0)), float>::value), ""); in test_atan() 180 static_assert((std::is_same<decltype(atan((bool)0)), double>::value), ""); in test_atan() 182 static_assert((std::is_same<decltype(atan((int)0)), double>::value), ""); in test_atan() 183 static_assert((std::is_same<decltype(atan((unsigned int)0)), double>::value), ""); in test_atan() 184 static_assert((std::is_same<decltype(atan((long)0)), double>::value), ""); in test_atan() 185 static_assert((std::is_same<decltype(atan((unsigned long)0)), double>::value), ""); in test_atan() 186 static_assert((std::is_same<decltype(atan((long long)0)), double>::value), ""); in test_atan() 188 static_assert((std::is_same<decltype(atan((double)0)), double>::value), ""); in test_atan() 192 static_assert((std::is_same<decltype(atan(Ambiguous())), Ambiguous>::value), ""); in test_atan() [all …]
|
| /llvm-project-15.0.7/libclc/clspv/lib/ |
| H A D | SOURCES | 8 ../../generic/lib/math/atan.cl
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ScalarFuncs.def | 37 TLI_DEFINE_SCALAR_MASS_FUNC("atan", "__xl_atan")
|